src/utils/LogCompilation/README
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 46763 hotspot/src/share/tools/LogCompilation/README@1b0ff6953b5a
child 48170 3af0ab7d1d90
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse

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://wiki.openjdk.java.net/display/HotSpot/LogCompilation+overview
https://wiki.openjdk.java.net/display/HotSpot/PrintCompilation
https://wiki.openjdk.java.net/display/HotSpot/LogCompilation+tool