2126
|
1 |
This is a very rough tool for parsing -XX:+LogCompilation output.
|
|
2 |
It's main purpose is to recreate output similar to
|
|
3 |
-XX:+PrintCompilation -XX:+PrintInlining output from a debug JVM. It
|
|
4 |
requires a 1.5 JDK to build and simply typing make should build it.
|
|
5 |
|
|
6 |
It produces a jar file, logc.jar, that can be run on the
|
|
7 |
hotspot.log from LogCompilation output like this:
|
|
8 |
|
|
9 |
java -jar logc.jar hotspot.log
|
|
10 |
|
|
11 |
This will produce something like the normal PrintCompilation output.
|
|
12 |
Adding the -i option with also report inlining like PrintInlining.
|
|
13 |
|
|
14 |
More information about the LogCompilation output can be found at
|
|
15 |
|
|
16 |
http://wikis.sun.com/display/HotSpotInternals/LogCompilation+overview
|
|
17 |
http://wikis.sun.com/display/HotSpotInternals/PrintCompilation
|
|
18 |
http://wikis.sun.com/display/HotSpotInternals/LogCompilation+tool
|