RFR: 8305010: Test vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java timed out: thread not suspended

Serguei Spitsyn sspitsyn at openjdk.org
Mon Dec 9 20:28:38 UTC 2024


On Wed, 4 Dec 2024 03:07:46 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> The PR fixes race in the test between ThreadStart/ThreadEnd callbacks and agent thread:
> The callbacks increments event counter and then do self-suspend;
> Agent thread waits when expected number of events is received, then performs verification and resumes the thread, but expected counter value does not mean the threads are suspended.

Good catch and fix.

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22532#pullrequestreview-2490004963


More information about the serviceability-dev mailing list