RFR: 8289711: Add container configuration data to mbeans

Jie Fu jiefu at openjdk.org
Wed Jul 6 03:17:28 UTC 2022


On Tue, 5 Jul 2022 04:21:55 GMT, xpbob <duke at openjdk.org> wrote:

> Container configuration information is useful for troubleshooting problems,Exposing information in MBeans is ideal for monitoring, jConsole, and other scenarios.
> Results the following
> ![图片](https://user-images.githubusercontent.com/7837910/177248834-50beefe9-4db6-470c-8f15-df5a93892804.png)

src/java.base/share/classes/module-info.java line 233:

> 231:     exports jdk.internal.platform to
> 232:         jdk.management,
> 233:         java.management,

Maybe, we'd better put `jdk.management,` before `jdk.management,`.

src/java.management/share/classes/java/lang/management/ContainerMXBean.java line 1:

> 1: package java.lang.management;

Shall we add a copyright header for this new file?

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

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


More information about the serviceability-dev mailing list