Integrated: 8358094: Test vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java still times out after JDK-8357282

Alex Menkov amenkov at openjdk.org
Fri Jun 13 17:18:39 UTC 2025


On Sat, 7 Jun 2025 01:11:49 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: b3f56086
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b3f56086c99023a30b91f90c2acbed51b3b17ec0
Stats:     24 lines in 5 files changed: 4 ins; 4 del; 16 mod

8358094: Test vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java still times out after JDK-8357282

Reviewed-by: sspitsyn, cjplummer, lmesnik

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

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


More information about the serviceability-dev mailing list