README 855 字节
Newer Older
1 2 3 4 5 6
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
7
HotSpot log (by default, hotspot_pid{pid}.log) from LogCompilation output like this:
8

9
  java -jar logc.jar hotspot_pid1234.log
10 11 12 13

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

14
More information about the LogCompilation output can be found at
15

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