Garbage collection (Java)

garbage collection options

an object is considered garbage when it is no longer accessible from any pointer in the running program.

young generation
naive garbage collection examines every object in the heap

beginning wiht J2SE version 1.2 the algorithms are separated into generations

types of collectors
there are 3 additional types of collector in the J2SE edition

throughput collectors concurrent low pause collector

tuning garbage collection
http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html