Posts Tagged ‘minor and major collection’

When we create any object using new keyword, some amount of memory will be allocated. Once we done with that object, it should be removed from the memory. Java implements automatic memory management also known as Garbage collection. It will automatically recycle the dynamically allocated memory. Garbage collector will recycle the memory.

Garbage collection was first invented by John McCarthy in 1958 as part of the implementation of Lisp..

Garbage collection organizes objects into generations (Young, Tenured and Perm).. (more…)

Read Full Post »