Number of concurrent threads with ZGC

Sundara Mohan M m.sundar85 at gmail.com
Mon Sep 30 18:12:14 UTC 2019


Hi,
   When i configure my concurrent gc thread count as 5 using
-XX:ConcGCThreads=5.
I still see 40 threads (thread named ZWorkers, 40 is my cpu count) are
running in jvm.
Also i see 40 RuntimeWorkers thread running (assuming this is for
concurrent processing).

Assuming "ZWorkers" thread for concurrent processing and "RuntimeWorkers"
for parallel processing or stw phase threads. Looks this assumption is not
correct.

Can you help me understand why we create more than 5 "ZWorkers" if i
configure my concurrent thread count is 5.

TIA
Sundar


More information about the zgc-dev mailing list