8298894: java/lang/Thread/virtual/stress/Skynet.java timed out and threw OutOfMemoryError

Reviewed-by: eosterlund
This commit is contained in:
Alan Bateman 2022-12-19 18:06:19 +00:00
parent 34105556d1
commit 2c69c41d48
2 changed files with 2 additions and 4 deletions

View File

@ -28,5 +28,3 @@
#############################################################################
jdk/internal/vm/Continuation/Fuzz.java#default 8298058 generic-x64
java/lang/Thread/virtual/stress/Skynet.java#id0 8298894 macosx-x64
java/lang/Thread/virtual/stress/Skynet.java#id1 8298894 macosx-x64

View File

@ -26,7 +26,7 @@
* @summary Stress test virtual threads with a variation of the Skynet 1M benchmark
* @requires vm.continuations
* @enablePreview
* @run main/othervm/timeout=300 Skynet
* @run main/othervm/timeout=300 -Xmx1g Skynet
*/
/*
@ -35,7 +35,7 @@
* @requires vm.gc.Z
* @enablePreview
* @run main/othervm/timeout=300 -XX:+UnlockDiagnosticVMOptions
* -XX:+ZVerifyViews -XX:ZCollectionInterval=0.01 Skynet
* -XX:+ZVerifyViews -XX:ZCollectionInterval=0.01 -Xmx1g Skynet
*/
import java.util.concurrent.BlockingQueue;