RFR: 8307478: Implementation of Prepare to Restrict The Dynamic Loading of Agents [v5]
Alan Bateman
alanb at openjdk.org
Mon May 29 09:54:00 UTC 2023
On Sat, 27 May 2023 08:18:57 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> I agree it could be annoying to have multiple warnings if the profiler is attaching and loading the same agent library many times.
I've updated the changes to allow it be implementation specific as to whether a warning is printed when attempting to start the same agent a second or subsequent time. I think to sync up with Ron/Alex on this point on whether the description in the JEP needs to say anything on this.
For now, attempting to start a JVM TI agent that was previously loaded will not print a warning. We could potentially do the same for Java agents.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13899#issuecomment-1566871592
More information about the hotspot-runtime-dev
mailing list