Mercurial > hg > truffle
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 |
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 | |
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 |