garbage collection options

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

young generation Edit

naive garbage collection examines every object in the heap

beginning wiht J2SE version 1.2 the algorithms are separated into generations

types of collectors Edit

there are 3 additional types of collector in the J2SE edition

throughput collectors
concurrent low pause collector

tuning garbage collection Edit