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

Alex Menkov amenkov at openjdk.org
Wed Dec 4 03:12:08 UTC 2024


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.

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

Commit messages:
 - fix

Changes: https://git.openjdk.org/jdk/pull/22532/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22532&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8305010
  Stats: 38 lines in 1 file changed: 36 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/22532.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22532/head:pull/22532

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


More information about the serviceability-dev mailing list