Any plans to emit Thread Stall events through MXBeans?

Misha Dmitriev mdmitriev at linkedin.com
Mon Apr 21 21:49:01 UTC 2025


Hi ZGC team,

Are there any plans at this time to enable emission of Thread Stall events through MXBeans? We all know that ZGC stop-the-world GC pauses are normally very short. But we've noticed that for real apps at LinkedIn, thread stalls can sometimes be really long (up to a few sec), and apparently, they may affect latencies very noticeably at times. Thus, any system that monitors ZGC performance needs to track both types of GC events. We currently achieve that in some of our monitoring systems through gc.log parsing in real time, but MXBeans may have some advantages in some situations.

The same question is valid for Shenandoah as well.

Thanks,

Misha

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/zgc-dev/attachments/20250421/caf71657/attachment.htm>


More information about the zgc-dev mailing list