ZGC: Check that all ZWorkers are initialized during startup

Per Liden per.liden at oracle.com
Tue Jun 5 10:33:19 UTC 2018

Looks good!


On 06/05/2018 12:27 PM, Stefan Karlsson wrote:
> Hi all,
> Please review this patch to check that all ZWorkers have been properly 
> initialized during startup, and otherwise shutdown the VM.
> http://cr.openjdk.java.net/~stefank/zgc/zPreInitializeZWorker/
> Without this patch ZGC will hang if the diagnostic 
> -XX:+InjectGCWorkerCreationFailure flag is used. It would also be 
> problematic with, for example, ZMarkTerminate, if we didn't get all 
> workers to start.
> Thanks,
> StefanK

More information about the zgc-dev mailing list