On Sat, 27 May 2023 08:18:57 GMT, Alan Bateman <al...@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

Reply via email to