Skip to main content


Posted by hiroshiyamauchi on August 24, 2010 at 1:09 PM PDT
Project URL

Go see Project Homepage


A tool to report garbage collection statistics from GC logs generated by HotSpot .


IncubatingPrintGCStats will print a summary of garbage collection statistics taken from a log file generated by java -verbose:gc -XX:PrintGCStats -Xloggc: ... . These statistics can be very helpful when tuning the GC parameters for a Java application.

This tool is taken from a version of PrintGCStats that was released several years ago by Sun. It has been updated to support some of the newer syntaxes found in the GC logs. It is probably incomplete, and has not been tested on a wide variety of log files, but it has received some input from the Hotspot developers.


Berkeley Software Distribution (BSD) License