RFR: 8289711: Add container configuration data to mbeans [v2]

xpbob duke at openjdk.org
Thu Jul 14 07:57:02 UTC 2022


On Thu, 14 Jul 2022 07:05:25 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> > Thanks for review.
> > I add mBeans using the registerMBean method.
> > We can get configuration information through JConsole, JMX exporter
> 
> This iteration is a bit confusing because it adds a public interface to java.lang.management. For the registerMBean prototype then you shouldn't need any API changes to the java.management module.
@AlanBateman Thanks for review.
The runtime information is already fetched through the OperatingSystemMXBean, and I'm wrapped through the interface, keeping only the configuration data.Such an interface could be part of management.

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

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


More information about the serviceability-dev mailing list