<div dir="ltr"><div>Hi Volker,</div><div><br></div><div>Yes, we are aware of "sun.gc.collector.{0,1,2}.time", and they only account for pause time.</div><div>Accounting for only pause time does not accurately measure GC overhead for collectors with a large portion of concurrent work.</div><div>This is also the reason why heuristics based on -XX:GCTimeRatio are broken for G1. <a href="https://mail.openjdk.org/pipermail/hotspot-gc-dev/2021-May/035241.html">https://mail.openjdk.org/pipermail/hotspot-gc-dev/2021-May/035241.html</a> has a related discussion.</div><div><br></div><div>Yes, the CPU time metric sums up CPU time from all parallel GC worker threads and concurrent GC threads.</div><div>I just found <a href="https://bugs.openjdk.org/browse/JDK-8291753">https://bugs.openjdk.org/browse/JDK-8291753</a> which exports CPU time via JFR events. However, it seems to only account for CPU time spent during pauses, which does not cover all concurrent work. I'll do more digging and follow up when I create an RFE.</div><div dir="ltr"><br clear="all"><div><div dir="ltr"><div dir="ltr">-Man</div></div></div></div></div>