Mercurial > hg > truffle
comparison src/share/tools/LogCompilation/README @ 12257:01b268b3080a
8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log)
Reviewed-by: twisti, kvn, sla
author | vlivanov |
---|---|
date | Fri, 13 Sep 2013 04:16:54 -0700 |
parents | 2aff40cb4703 |
children |
comparison
equal
deleted
inserted
replaced
12256:591b49112612 | 12257:01b268b3080a |
---|---|
2 It's main purpose is to recreate output similar to | 2 It's main purpose is to recreate output similar to |
3 -XX:+PrintCompilation -XX:+PrintInlining output from a debug JVM. It | 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. | 4 requires a 1.5 JDK to build and simply typing make should build it. |
5 | 5 |
6 It produces a jar file, logc.jar, that can be run on the | 6 It produces a jar file, logc.jar, that can be run on the |
7 hotspot.log from LogCompilation output like this: | 7 HotSpot log (by default, hotspot_pid{pid}.log) from LogCompilation output like this: |
8 | 8 |
9 java -jar logc.jar hotspot.log | 9 java -jar logc.jar hotspot_pid1234.log |
10 | 10 |
11 This will produce something like the normal PrintCompilation output. | 11 This will produce something like the normal PrintCompilation output. |
12 Adding the -i option with also report inlining like PrintInlining. | 12 Adding the -i option with also report inlining like PrintInlining. |
13 | 13 |
14 More information about the LogCompilation output can be found at | 14 More information about the LogCompilation output can be found at |
15 | 15 |
16 https://wikis.oracle.com/display/HotSpotInternals/LogCompilation+overview | 16 https://wikis.oracle.com/display/HotSpotInternals/LogCompilation+overview |
17 https://wikis.oracle.com/display/HotSpotInternals/PrintCompilation | 17 https://wikis.oracle.com/display/HotSpotInternals/PrintCompilation |
18 https://wikis.oracle.com/display/HotSpotInternals/LogCompilation+tool | 18 https://wikis.oracle.com/display/HotSpotInternals/LogCompilation+tool |