RFR: 8275259: Add support for Java level DCmd

Denghui Dong ddong at openjdk.java.net
Thu Oct 14 08:44:46 UTC 2021

On Thu, 14 Oct 2021 07:40:20 GMT, David Holmes <david.holmes at oracle.com> wrote:

> Ah right - so you're really looking at extending the capabilities of the
> DiagnosticCommandMBean to add a way to register a Java diagnostic command.

Yes, but we could not add registration API to DiagnosticCommandMBean directly.

There are already some VM diagnostic commands that depend on Java methods directly, this extension could also bring benefit to this scenario I think.

Hope folks from serviceability could take a look at it:)



PR: https://git.openjdk.java.net/jdk/pull/5938

More information about the hotspot-runtime-dev mailing list