RFR: 8340698: JVMTI FRAME_POP event is sometimes missed if NotifyFramePop is called as a method is returning [v2]

Serguei Spitsyn sspitsyn at openjdk.org
Wed Oct 16 01:49:10 UTC 2024


On Wed, 16 Oct 2024 00:45:17 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> test/hotspot/jtreg/serviceability/jvmti/events/NotifyFramePopStressTest/libNotifyFramePopStressTest.cpp line 169:
>> 
>>> 167:   err= jvmti->NotifyFramePop(thread, 0);
>>> 168:   if (err == JVMTI_ERROR_OPAQUE_FRAME || err == JVMTI_ERROR_DUPLICATE) {
>>> 169:     return JNI_FALSE;
>> 
>> `deallocate(jvmti, jni, name);`
>
> Also add a LOG similar to the one below that is done if successful.

Thanks. Added lines as suggested.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21468#discussion_r1802219985


More information about the serviceability-dev mailing list