RFR: 8252657: JVMTI agent is not unloaded when Agent_OnAttach is failed

Chris Plummer cjplummer at openjdk.java.net
Tue Dec 1 01:45:56 UTC 2020


On Fri, 2 Oct 2020 07:27:43 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> > * Q3: What has to be done for statically linked agent?
> 
> JVMTI spec says "unless it is statically linked into the executable", so I think we can ignore about Agent_OnUnload_L() in this PR.

I don't think that makes sense. If you call it for dynamically linked then you need to call it for statically linked also.

-------------

PR: https://git.openjdk.java.net/jdk/pull/19


More information about the hotspot-dev mailing list