diff --git a/test/jdk/ProblemList-zgc.txt b/test/jdk/ProblemList-zgc.txt index a877944450d..0cc1034440e 100644 --- a/test/jdk/ProblemList-zgc.txt +++ b/test/jdk/ProblemList-zgc.txt @@ -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 diff --git a/test/jdk/java/lang/Thread/virtual/stress/Skynet.java b/test/jdk/java/lang/Thread/virtual/stress/Skynet.java index 82bba078509..ed21adfecab 100644 --- a/test/jdk/java/lang/Thread/virtual/stress/Skynet.java +++ b/test/jdk/java/lang/Thread/virtual/stress/Skynet.java @@ -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;