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.