Integrated: 8328341: Remove deprecated per-thread compiler stats in sun.management

Eirik Bjørsnøs eirbjo at openjdk.org
Tue Mar 19 16:34:30 UTC 2024


On Mon, 18 Mar 2024 09:42:13 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:

> Please review this cleanup PR which removes per-thread compiler stats from `sun.management`
> 
> This removes:
> 
> * The deprecated interface method `HotspotCompilationMBean.getCompilerThreadStats()` along with the implementation method in `HotspotCompilation`
> * The class returned by these methods, `CompilerThreadStat`
> * The nested class `HotspotCompilation.CompilerThreadInfo` which now falls out of use
> * The field `HotspotCompilation.threads`, along with its initialization in `initCompilerCounters`
> 
> This was initially discussed here: https://mail.openjdk.org/pipermail/serviceability-dev/2024-March/054589.html
> 
> Testing and verification: As this is purely a removal and cleanup PR of unused code, no updates are made on the testing side. I have verified that the string `getCompilerThreadStats` is not found in OpenJDK after this PR.

This pull request has now been integrated.

Changeset: 9214a62f
Author:    Eirik Bjørsnøs <eirbjo at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9214a62f26917162b3ff2144a1f3f9cde3b808fa
Stats:     149 lines in 3 files changed: 0 ins; 147 del; 2 mod

8328341: Remove deprecated per-thread compiler stats in sun.management

Reviewed-by: kevinw

-------------

PR: https://git.openjdk.org/jdk/pull/18344


More information about the serviceability-dev mailing list