Mercurial > hg > truffle
view src/share/tools/LogCompilation/README @ 1960:878b57474103
6978187: G1: assert(ParallelGCThreads> 1 || n_yielded() == _hrrs->occupied()) strikes again
Summary: An evacuation failure while copying the roots caused an object, A, to be forwarded to itself. During the subsequent RSet updating a reference to A was processed causing the reference to be added to the RSet of A's heap region. As a result of adding to the remembered set we ran into the issue described in 6930581 - the sparse table expanded and the RSet scanning code walked the cards in one instance of RHashTable (_cur) while the occupied() counts the cards in the expanded table (_next).
Reviewed-by: tonyp, iveresov
author | johnc |
---|---|
date | Tue, 16 Nov 2010 14:07:33 -0800 |
parents | 07d449658fc7 |
children | 2aff40cb4703 |
line wrap: on
line source
This is a very rough tool for parsing -XX:+LogCompilation output. It's main purpose is to recreate output similar to -XX:+PrintCompilation -XX:+PrintInlining output from a debug JVM. It requires a 1.5 JDK to build and simply typing make should build it. It produces a jar file, logc.jar, that can be run on the hotspot.log from LogCompilation output like this: java -jar logc.jar hotspot.log This will produce something like the normal PrintCompilation output. Adding the -i option with also report inlining like PrintInlining. More information about the LogCompilation output can be found at http://wikis.sun.com/display/HotSpotInternals/LogCompilation+overview http://wikis.sun.com/display/HotSpotInternals/PrintCompilation http://wikis.sun.com/display/HotSpotInternals/LogCompilation+tool