how to interpret the verbose:gc output?
I am trying to understand the garbage collection process. I am currently running the verbose :gc option useing java 1.2 on solaris 2.7. Could anyone explain what the following means?
GC[0] in 10 ms: (128Mb, 95% free) -> (128Mb, 96% free)
Also, what is GC[0] and GC[1] ?
Thanks in advance..
[324 byte] By [
phari2] at [2007-9-26 15:14:04]

The GC[0] shows that a garbage collection event occurred. It took a total of 10 ms. The amount of heap used is shown before -> after. So before the GC, 128 Mb of heap was being used. After GC, 128Mb minus some small amount is being used. The % available in the heap increased from 95% to 96%. GC[1] should show the same statistics for another GC event.
Hope this helps!
kiml3 at 2007-7-2 17:43:40 >
