Collect the stop-the-world duration in a concurrent GC (G1)

68 Views Asked by At

So currently Im using ManagementFactory.getGarbageCollectorMXBeans() but the young GC in G1 only includes 2 steps that are actually STW.

From the duration (and I might be wrong here) I gather the time reported is for the entire young GC (including the concurrent phases), can I somehow get just the STW duration?

0

There are 0 best solutions below