When is garbage collector used in java? -
as far know gc used when jvm needs more memory, i'm not sure it. so, please, suggest answer question.
the garbage collection algorithm of java understand, pretty complex , not straightforward. also, there more algorithm available gc, can chosen @ vm launchtime argument passed jvm.
there's faq garbage collection here: http://www.oracle.com/technetwork/java/faq-140837.html
oracle has published article "tuning garbage collection 5.0 java[tm] virtual machine" contains deep insights garbage collection, , understand matter better: http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html
Comments
Post a Comment