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

Erik Helin erik.helin at
Tue Jan 8 15:58:37 UTC 2013

Hi Bengt,

looks good!


On 01/08/2013 11:16 AM, Bengt Rutisson 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

More information about the hotspot-gc-dev mailing list