On Sat, 24 May 2025 08:08:29 GMT, Alan Bateman <al...@openjdk.org> wrote:

>> Alex Menkov has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   feedback
>
> test/hotspot/jtreg/serviceability/dcmd/thread/ClassInitMonitorVThread.java 
> line 71:
> 
>> 69:             Thread vthread2 = 
>> Thread.ofVirtual().name("Loader2").start(new Loader(loaderReady));
>> 70:             loaderReady.await();
>> 71:             Thread.sleep(100);
> 
> How reliable is this? With a debug build and -Xcomp/other options, then this 
> might not long enough to observe "Loader 2" waiting for the class initializer.

I updated the test to do several retries. I think 20 seconds is enough for any 
build/options

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25367#discussion_r2110665847

Reply via email to