<div dir="ltr"><br><div>Hello,</div><div><br></div><div>Per-thread compiler performance counters were removed in JDK-8134607 [1] (JDK 9). The corresponding sun.management API was marked @Deprecated since it no longer returns any useful counter data.</div><div><a class="gmail_plusreply"><br></a></div><div>Has time come to remove this API now?</div><div><br></div><div>My understanding is that since sun.management is an internal package this should be low risk. But this being JMX-related, is there maybe some concern to this being used in some remote/RMI scenario?</div><div><br></div><div>If not, I'd like to propose a PR to remove the following:</div><div><br></div><div>* Class sun.management.CompilerThreadStat</div><div>* Nested class sun.management.HotspotCompilation.CompilerThreadInfo </div><div>* Field sun.management.HotspotCompilation.threads and its initialization</div><div><div>* Method sun.management.HotspotCompilation.getCompilerThreadStats() and its definition in HotspotCompilationMBean</div></div><div><a class="gmail_plusreply"><br></a></div><div>Let me know what you think</div><div><br></div><div>Cheers,</div><div>Eirik :-)</div><div><br></div><div>[1] <a href="https://bugs.openjdk.org/browse/JDK-8134607" target="_blank">https://bugs.openjdk.org/browse/JDK-8134607</a></div></div>