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

Stefan Karlsson stefan.karlsson at
Wed Jan 9 08:45:38 UTC 2013

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