annotate src/share/tools/LogCompilation/README @ 1359:23b1b27ac76c

6909756: G1: guarantee(G1CollectedHeap::heap()->mark_in_progress(),"Precondition.") Summary: Make sure that two marking cycles do not overlap, i.e., a new one can only start after the concurrent marking thread finishes all its work. In the fix I piggy-back a couple of minor extra fixes: some general code reformatting for consistency (only around the code I modified), the removal of a field (G1CollectorPolicy::_should_initiate_conc_mark) which doesn't seem to be used at all (it's only set but never read), as well as moving the "is GC locker active" test earlier into the G1 pause / Full GC and using a more appropriate method for it. Reviewed-by: johnc, jmasa, jcoomes, ysr
author tonyp
date Tue, 06 Apr 2010 10:59:45 -0400
parents 07d449658fc7
children 2aff40cb4703
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
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
16 http://wikis.sun.com/display/HotSpotInternals/LogCompilation+overview
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
17 http://wikis.sun.com/display/HotSpotInternals/PrintCompilation
07d449658fc7 6807963: need tool to make sense of LogCompilaton output
never
parents:
diff changeset
18 http://wikis.sun.com/display/HotSpotInternals/LogCompilation+tool