RFR: 8256811: Delayed/missed jdwp class unloading events [v4]

Zhengyu Gu zgu at openjdk.org
Tue Jun 28 14:41:51 UTC 2022


On Mon, 27 Jun 2022 20:56:26 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Zhengyu Gu has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   v5
>
> src/jdk.jdwp.agent/share/native/libjdwp/classTrack.c line 48:
> 
>> 46: static jvmtiEnv* trackingEnv;
>> 47: 
>> 48: extern jboolean synthesizeUnloadEvent(char *signature, JNIEnv *env);
> 
> This should be exported from eventHandler.h and use the `eventHandler_` prefix.

Done

> src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.c line 462:
> 
>> 460: /* Create a synthetic class unload event for the specified signature. */
>> 461: jboolean
>> 462: synthesizeUnloadEvent(char *signature, JNIEnv *env)
> 
> This should now be named `eventHandler_synthesizeUnloadEvent`.

Done

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

PR: https://git.openjdk.org/jdk/pull/9168


More information about the serviceability-dev mailing list