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

Yasumasa Suenaga ysuenaga at openjdk.java.net
Thu Jan 14 03:08:20 UTC 2021


On Fri, 18 Dec 2020 05:09:02 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.
>
> @dholmes-ora Thank you for explanation! I updated [CSR](https://bugs.openjdk.java.net/browse/JDK-8256918). Could you review it?

CSR has been approved. I updated jvmti.xml to follow it (I haven't make any changes in other files in latest commit)
Could you review again?

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

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


More information about the serviceability-dev mailing list