On Wed, 27 Sep 2023 07:47:19 GMT, Alan Bateman <al...@openjdk.org> wrote:

> A test only change to a stress test for virtual thread parking/unparking to 
> limit execution time on a larger systems. Right run, the test bashes 
> parking/unparking for 1, 2, 3, ... up to the number of half the hardware 
> threads. It is changed to limit it to 4 iterations. It is also dialed down 
> for debug builds as they may run with -XX:+VerifyContinuations which is an 
> expensive assert (but an important one for tests like that).

test/jdk/java/lang/Thread/virtual/stress/ParkALot.java line 91:

> 89:                 LockSupport.unpark(vthread);
> 90:             } else {
> 91:                 Thread.yield();

👍

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15940#discussion_r1338355392

Reply via email to