RFR: 8373643: Test serviceability/jvmti/vthread/ThreadListStackTracesTest/ThreadListStackTracesTest.java still failing [v2]
Serguei Spitsyn
sspitsyn at openjdk.org
Sat Jan 10 00:59:55 UTC 2026
On Fri, 9 Jan 2026 04:21:25 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> test/hotspot/jtreg/serviceability/jvmti/vthread/ThreadListStackTracesTest/ThreadListStackTracesTest.java line 48:
>>
>>> 46:
>>> 47: public void ensureReadyAndWaiting(Thread vt, Thread.State expState, ReentrantLock rlock) {
>>> 48: sleep(50); // reliability: wait for a potential ReentrantLock class loading to complete
>>
>> It is not clear how ReentrantLock might be not loaded already. Can you please explain what do you mean?
>
> There can be more than one class. E.g., some can be involved on contention.
I've update the comment an removed the word `ReentrantLock` to avoid possible confusions.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29102#discussion_r2678039810
More information about the serviceability-dev
mailing list