On Fri, 9 Jan 2026 04:21:25 GMT, Serguei Spitsyn <[email protected]> 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