Integrated: 8373643: Test serviceability/jvmti/vthread/ThreadListStackTracesTest/ThreadListStackTracesTest.java still failing

Serguei Spitsyn sspitsyn at openjdk.org
Sat Jan 10 11:14:02 UTC 2026


On Thu, 8 Jan 2026 01:07:45 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

> The test is still failing after the fix of [JDK-8371502](https://bugs.openjdk.org/browse/JDK-8371502). I suspect the issue is in the `ReentrantLock` implementation but suggest to make one more update of this test to make it more clear.
> The test update includes the following changes:
>  - update method `ensureReadyAndWaiting()`:
>     - add `sleep(50)` at start of method
>     - replace call to `rlock.hasQueuedThreads()` with call to `rlock.hasQueuedThread(vt)`
>  - update method `checkStates()` to make it more stable and tracing output more clear
>  
>  Testing:
>   - TBD: mach5 tiers 1-3

This pull request has now been integrated.

Changeset: 12894a87
Author:    Serguei Spitsyn <sspitsyn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/12894a870a3c8d1da13a885cc006458ae9475b6e
Stats:     7 lines in 1 file changed: 2 ins; 0 del; 5 mod

8373643: Test serviceability/jvmti/vthread/ThreadListStackTracesTest/ThreadListStackTracesTest.java still failing

Reviewed-by: lmesnik

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

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


More information about the serviceability-dev mailing list