HotSpot JVM: garbage collection statistics

In our opinion, garbage collection statistics are critical and should be enabled in production. The statistics is the only window you have into the behavior of the JVM heap management and the efficiency of the JVM.

This section describes terse garbage collection statistics from both the HP and Sun JVM.