RFR: 8367318: Test vmTestbase/nsk/jdi/MethodEntryRequest/addClassFilter_rt/filter_rt001/TestDescription.java timed out after passing
Alex Menkov
amenkov at openjdk.org
Wed Sep 24 22:30:16 UTC 2025
On Thu, 18 Sep 2025 18:01:48 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> Fixed an issue with a race with two events coming in close to the same time, the first of which does not suspend any debuggee threads. More details in the first comment.
>
> Tested by running all vmTestbase/nsk/jdi tests 25x times on all platforms both with and w/o virtual threads. Also ran all tier5 svc tests.
The fix looks good.
> Note I also removed the synchronize(EventHandler.this) from the listener. EventHandler.run() already does the same synchronize before calling the listener. I did the same in the listener being used for the "breakoint for communication". I checked all other eventReceived() callbacks, and didn't find any others using this synchronization.
I see the same synchronization in the listener for VMDisconnectEvent (starting from line 345 in EventHandler.java)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27370#issuecomment-3330907343
More information about the serviceability-dev
mailing list