From 8ccfe3614305f515bd2d523efe5d3e9b366b282f Mon Sep 17 00:00:00 2001 From: Babneet Singh Date: Fri, 6 Oct 2023 09:26:14 -0700 Subject: [PATCH] Run virtual/stress/Skynet with -Xnocompressedrefs Skynet is a stress benchmark, which exceeds the below 4G capacity of -Xcompressedrefs. The current workaround is to use -Xnocompressedrefs where memory can be allocated outside the 4G boundary. To run Skynet with -Xcompressedrefs, the following features will be needed: - Move unmounted continuation stacks out of the low memory area. - Improve performance of the sub-4G allocator so that it doesn't regress under high memory usage. Depends on eclipse-openj9/openj9#18251 Related: eclipse-openj9/openj9#16728 Related: eclipse-openj9/openj9#15781 Signed-off-by: Babneet Singh --- test/jdk/java/lang/Thread/virtual/stress/Skynet.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/jdk/java/lang/Thread/virtual/stress/Skynet.java b/test/jdk/java/lang/Thread/virtual/stress/Skynet.java index fb4adbb25f2..fbc222d6001 100644 --- a/test/jdk/java/lang/Thread/virtual/stress/Skynet.java +++ b/test/jdk/java/lang/Thread/virtual/stress/Skynet.java @@ -21,12 +21,18 @@ * questions. */ +/* + * =========================================================================== + * (c) Copyright IBM Corp. 2023, 2023 All Rights Reserved + * =========================================================================== + */ + /* * @test id=default * @summary Stress test virtual threads with a variation of the Skynet 1M benchmark * @requires vm.continuations * @requires !vm.debug | vm.gc != "Z" - * @run main/othervm/timeout=300 -Xmx1g Skynet + * @run main/othervm/timeout=300 -Xmx1g -Xnocompressedrefs Skynet */ /*