From b5ded17506ba5c2b84bde238b70e77ef689ea386 Mon Sep 17 00:00:00 2001 From: Andrew Leonard <31470007+andrew-m-leonard@users.noreply.github.com> Date: Mon, 17 Apr 2023 16:48:41 +0100 Subject: [PATCH] Make AIX use non-group multiJVM (#4513) Signed-off-by: Andrew Leonard --- jck/jtrunner/JavaTestRunner.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jck/jtrunner/JavaTestRunner.java b/jck/jtrunner/JavaTestRunner.java index c135d0be87..f82bec4b20 100644 --- a/jck/jtrunner/JavaTestRunner.java +++ b/jck/jtrunner/JavaTestRunner.java @@ -565,8 +565,8 @@ public static boolean jckConfigurationForMultijvmWithNoAgent() throws Exception extraJvmOptions += " -Dfile.encoding=US-ASCII"; } - // testExecutionType of multiJVM_group on Windows causes memory exhaustion, so limit to plain multiJVM - if (getJckVersionInt(jckVersionNo) >= 17 && platform.contains("win")) { + // testExecutionType of multiJVM_group on Windows and AIX causes memory exhaustion, so limit to non-group multiJVM + if (getJckVersionInt(jckVersionNo) >= 17 && (platform.contains("win") || platform.contains("aix"))) { fileContent += "set jck.env.testPlatform.multiJVM \"Yes\";\n"; }