Request for review (S): 8005489: VM hangs during GC with ParallelGC and ParallelGCThreads=0

Vitaly Davidovich vitalyd at
Tue Jan 8 11:20:12 UTC 2013

Nice and simple - looks good Bengt.

Sent from my phone
On Jan 8, 2013 5:16 AM, "Bengt Rutisson" <bengt.rutisson at> wrote:

> Hi all,
> Could I have a couple of reviews for this change. The parallel collector
> needs at least one GC worker thread to function properly . Setting
> ParallelGCThreads=0 on the command line causes the parallel collector to
> hang in product builds and assert in debug builds. This has been the case
> back to JDK6u14.
> The fix will instead print an error message and exit the VM if
> ParallelGCThreads=0 is used with UseParallelGC. This is similar to what we
> recently did for the ParNew collector.
> Thanks,
> Bengt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the hotspot-gc-dev mailing list