ZGC: Check that all ZWorkers are initialized during startup

Stefan Karlsson stefan.karlsson at oracle.com
Tue Jun 5 10:27:51 UTC 2018

Hi all,

Please review this patch to check that all ZWorkers have been properly 
initialized during startup, and otherwise shutdown the VM.


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.


More information about the zgc-dev mailing list