RFR: 8316924: java/lang/Thread/virtual/stress/ParkALot.java times out
Jaikiran Pai
jpai at openjdk.org
Wed Sep 27 11:26:11 UTC 2023
On Wed, 27 Sep 2023 07:47:19 GMT, Alan Bateman <alanb at 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).
The change looks good to me.
-------------
Marked as reviewed by jpai (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/15940#pullrequestreview-1646229941
More information about the core-libs-dev
mailing list