[External] : Re: Disallowing the dynamic loading of agents by default

Ron Pressler ron.pressler at oracle.com
Fri Mar 17 13:42:03 UTC 2023



On 17 Mar 2023, at 13:33, Thomas Stüfe <thomas.stuefe at gmail.com<mailto:thomas.stuefe at gmail.com>> wrote:

Hi Ron,

Will this affect attaching via jcmd?

The Attach mechanism will not be disabled by default, just the ability to load agents via the Attach mechanism.
So the only jcmd command that will be affected is JVMTI.agent_load.

To see the effect of the change today, launch java with -XX:-EnableDynamicAgentLoading, which is
to become the new default.

— Ron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jigsaw-dev/attachments/20230317/3032c77b/attachment-0001.htm>


More information about the jigsaw-dev mailing list