On Mon, Mar 18, 2024 at 2:31 PM Kevin Walls <kevin.wa...@oracle.com> wrote:

> Right, the existing Deprecated tag had me thinking this was a Java SE
> interface that had begun the deprecation process.
>
> But it's not a published API.
>

Great, it seems we have consensus that we can go ahead and remove these
deprecated methods which return no useful data.

Maybe we can go further: HotspotCompilationMBean and HotspotInternalMBean
> look unused.  They are not exposed in the standard PlatformMBeanServer.
>
>
It seems we can! But since (a) this is my first serviceability contribution
and (b) the motivations for removing other unused beans may differ and also
be more controversial, I'd prefer to warm up with a PR narrowly focused on
the deprecated per-thread stats. We can then follow up with a broader
discussion of removal of unused Hotspot internal beans.

Would that be okay with you?

While looking for who/what uses these, I also found a recent mailing list
> thread:
>
> "Question on why sun.management MBeans are not exported?"
>
> https://www.mail-archive.com/core-libs-dev@openjdk.org/msg19878.html
>

Thanks, that provides some very useful context.

Cheers,
Eirik.

Reply via email to