RFR(XS): 8005875: G1: Kitchensink fails with ParallelGCThreads=0

John Cuthbertson john.cuthbertson at oracle.com
Thu Jan 31 22:08:52 UTC 2013

Hi Everyone,

Here's a new webrev based upon feedback from Vitaly and Bengt: 

I've wrapped the check with the asserts suggested by Bengt into a small 

GC test suite with ConcGCThreads=3
Kitchensink with ParallelGCThreads=0:



On 1/8/2013 2:13 PM, John Cuthbertson wrote:
> Hi Everyone,
> Can I please have a couple of volunteers look over the fix for this CR 
> - the webrev can be found at: 
> http://cr.openjdk.java.net/~johnc/8005875/webrev.0/
> Summary:
> One of the modules in the Kitchensink test generates a VM_PrintThreads 
> vm operation. The JVM crashes when it tries to print out G1's 
> concurrent marking worker threads when ParallelGCThreads=0 because the 
> work gang has not been created. The fix is to add the same check 
> that's used elsewhere in G1's concurrent marking.
> Testing:
> Kitchensink with ParallelGCThreads=0
> Thanks,
> JohnC

More information about the hotspot-gc-dev mailing list