annotate src/share/tools/LogCompilation/README @ 11122:81b6cb70717c jdk8-b99

Merge
author katleman
date Tue, 16 Jul 2013 15:15:43 -0700
parents 2aff40cb4703
children 01b268b3080a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
600
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
1 This is a very rough tool for parsing -XX:+LogCompilation output.
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
2 It's main purpose is to recreate output similar to
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
3 -XX:+PrintCompilation -XX:+PrintInlining output from a debug JVM. It
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
4 requires a 1.5 JDK to build and simply typing make should build it.
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
5
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
6 It produces a jar file, logc.jar, that can be run on the
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
7 hotspot.log from LogCompilation output like this:
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
8
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
9 java -jar logc.jar hotspot.log
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
10
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
11 This will produce something like the normal PrintCompilation output.
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
12 Adding the -i option with also report inlining like PrintInlining.
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
13
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
14 More information about the LogCompilation output can be found at
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
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