JMX agents and Jigsaw
Ron Pressler
ron at paralleluniverse.co
Tue Jul 21 05:49:00 UTC 2015
On Mon, Jul 20, 2015 at 2:18 PM, Alan Bateman <Alan.Bateman at oracle.com>
wrote:
The attach API (meaning com.sun.tools.attach) is a JDK-specific/supported
> API. It should continue to work as it does now in JDK 9. Even better, there
> is a new method named startLocalManagementAgent that starts a local JMX
> agent and returns the connector service address. This avoids the hack that
> was loading managenent-agent.jar in past releases.
That's really good (esp. startLocalManagementAgent), but does it require
tools.jar to be available, which means a JDK, rather than JRE
installation? VMSupport and Agent are available on any JRE. Perhaps
com.sun.tools.attach should be included in the JRE, too.
Ron
More information about the jigsaw-dev
mailing list