Review Request: JDK-8173947: jconsole does not show local running VMs to attach

Alan Bateman Alan.Bateman at oracle.com
Mon Feb 6 06:42:45 UTC 2017


On 06/02/2017 00:29, Mandy Chung wrote:

> sun.management.ConnectorAddressLink is renamed to jdk.internal.agent.ConnectorAddressLink but missed the Class.forName call in JConsole.  Thanks to Peter catching this regression.  Since jdk.jconsole requires jdk.attach and jdk.management.agent that guarantees the classes required are present at runtime, so we can drop the Class.forName calls.
>
> I leave the isLocalAttachAvailable() method there to keep the current implementation that supports to run even if the local attach is not supported.
>
This looks okay to me.

-Alan


More information about the serviceability-dev mailing list