What is garbage collection?
Automatic reclamation of no longer needed memory
An object can be freed if no live object points to it
Objects are not freed immediately
Previous slide
Next slide
Back to first slide
View graphic version