Mercurial > hg > truffle
annotate src/share/tools/LogCompilation/README @ 18487:0f4813e0b4a9
Use asConstant() instead of asJavaConstant() where possible.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Mon, 24 Nov 2014 12:13:31 +0100 |
parents | 01b268b3080a |
children |
rev | line source |
---|---|
600 | 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 | |
12257
01b268b3080a
8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log)
vlivanov
parents:
7196
diff
changeset
|
7 HotSpot log (by default, hotspot_pid{pid}.log) from LogCompilation output like this: |
600 | 8 |
12257
01b268b3080a
8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log)
vlivanov
parents:
7196
diff
changeset
|
9 java -jar logc.jar hotspot_pid1234.log |
600 | 10 |
11 This will produce something like the normal PrintCompilation output. | |
12 Adding the -i option with also report inlining like PrintInlining. | |
13 | |
12257
01b268b3080a
8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log)
vlivanov
parents:
7196
diff
changeset
|
14 More information about the LogCompilation output can be found at |
600 | 15 |
7196
2aff40cb4703
7092905: C2: Keep track of the number of dead nodes
bharadwaj
parents:
600
diff
changeset
|
16 https://wikis.oracle.com/display/HotSpotInternals/LogCompilation+overview |
2aff40cb4703
7092905: C2: Keep track of the number of dead nodes
bharadwaj
parents:
600
diff
changeset
|
17 https://wikis.oracle.com/display/HotSpotInternals/PrintCompilation |
2aff40cb4703
7092905: C2: Keep track of the number of dead nodes
bharadwaj
parents:
600
diff
changeset
|
18 https://wikis.oracle.com/display/HotSpotInternals/LogCompilation+tool |