RFR: 8340698: JVMTI FRAME_POP event is sometimes missed if NotifyFramePop is called as a method is returning [v4]
Serguei Spitsyn
sspitsyn at openjdk.org
Thu Oct 17 15:44:20 UTC 2024
On Thu, 17 Oct 2024 00:57:12 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>>> Have you verified that the test still detects the bug? In other words, if you disabled the fix, does the test fail? I was just a bit worried that with all the changes to it, it might not be still be properly detecting the bug, and I looked in the mach5 history and don't see this test failing for a couple of weeks now.
>>
>> The test is failing locally with event in a wrong method as expected.
>> But the latest changes broke the test. Now it is failing at `deallocate(jvmti, jni, csig)`.
>> I suspect it is related to the latest changes for `last_notify_method` but have not proved it yet.
>
>> This is the main purpose for this test. It used to just set failed and then continue to run to detect additional errors, and then java side of the test calls failed() to detect the failure. Now you exit the test process when there is a failure. There is actually no purpose served for the failed flag anymore.
>
> Okay, I'll try to remove `fatal()` and retest it.
Fixed the test and re-tested. It looks good now. Mach5 tiers 1-6 are passed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21468#discussion_r1805011968
More information about the serviceability-dev
mailing list