hotspot/src/share/tools/LogCompilation/README
author vlivanov
Fri, 13 Sep 2013 04:16:54 -0700
changeset 20010 c66a7254680c
parent 14623 70c4c1be0a14
child 46763 1b0ff6953b5a
permissions -rw-r--r--
8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log) Reviewed-by: twisti, kvn, sla

This is a very rough tool for parsing -XX:+LogCompilation output.
It's main purpose is to recreate output similar to
-XX:+PrintCompilation -XX:+PrintInlining output from a debug JVM.  It
requires a 1.5 JDK to build and simply typing make should build it.

It produces a jar file, logc.jar, that can be run on the
HotSpot log (by default, hotspot_pid{pid}.log) from LogCompilation output like this:

  java -jar logc.jar hotspot_pid1234.log

This will produce something like the normal PrintCompilation output.
Adding the -i option with also report inlining like PrintInlining.

More information about the LogCompilation output can be found at

https://wikis.oracle.com/display/HotSpotInternals/LogCompilation+overview
https://wikis.oracle.com/display/HotSpotInternals/PrintCompilation
https://wikis.oracle.com/display/HotSpotInternals/LogCompilation+tool