RFR: 8358094: Test vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java still times out after JDK-8357282
Alex Menkov
amenkov at openjdk.org
Sat Jun 7 01:16:44 UTC 2025
The test intermittently times out due to deadlock between 2 monitors: one monitor is JVMTI raw monitor used by agents, another is in Java (`nsk_jvmti_aod_disableEventAndFinish` does upcall) See JBS issue for details.
The fix updates agents to exit raw monitors before upcall.
Testing: no failures in 1000 runs
-------------
Commit messages:
- fix
Changes: https://git.openjdk.org/jdk/pull/25684/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25684&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8358094
Stats: 24 lines in 5 files changed: 4 ins; 4 del; 16 mod
Patch: https://git.openjdk.org/jdk/pull/25684.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25684/head:pull/25684
PR: https://git.openjdk.org/jdk/pull/25684
More information about the serviceability-dev
mailing list