Hi Tony,

On 12/10/2019 6:43 am, Tony Printezis wrote:
Hi there,

Is there a standard MBean (similar to GarbageCollectorMXBean), or other mechanism, that can be used to get safepoint statistics from Java (count, time, etc.)? I know it’s possible to get that info from sun.management.HotspotRuntime.java, but I assume this is not a publicly accessible API any more? Is there a standard alternative?

Is this info something that might be suitable to add to HotSpotDiagnosticMXBean? Safepoint stuff is very VM implementation specific. But also note that there is a lot of work underway to move away from safepoints and use Handshakes instead, and also to permit more concurrent activities that don't need safepoints.

Cheers,
David

Thanks,

Tony


—————
Tony Printezis | @TonyPrintezis | tprinte...@twitter.com <mailto:tprinte...@twitter.com>

Reply via email to