Re: Internal Thread CPU times in JDK 17

2021-09-29 Thread Mandy Chung
java.lang.management, com.sun.management API and JVM TI only report Java threads.   The internal GC threads are not Java threads and are filtered.   There is no supported API to get the safepoint time and GC/compiler thread CPU time. I also think that the internal thread CPU time/usage are

Internal Thread CPU times in JDK 17

2021-09-28 Thread Dylan Wragge
Hey serviceability devs, I'm currently looking to migrate our company's codebases to JDK 17 and am running into an issue where sun.management.HotspotThreadMBean and HotspotRuntimeMBean are no longer accessible from client code. We have a few internal metrics that use this MBean in order to