From 96c221f255c65871631e3791a2a4aa002048c965 Mon Sep 17 00:00:00 2001 From: Peter Shipton Date: Tue, 29 Jun 2021 14:35:10 -0400 Subject: [PATCH] Update jit_jitt_array_compress unit test to set -Xmx The new test added via https://github.com/eclipse-openj9/openj9/pull/12905 uses the -XXgc:forcedShiftingCompressionAmount option to force shifting to 1, 2, 3, 4, but doesn't set -Xmx. The default -Xmx is 25% of the available memory up to 25G. The default value on some machines may be too big for smaller shift values. Issue https://github.com/eclipse-openj9/openj9/issues/12947 Signed-off-by: Peter Shipton --- test/functional/JIT_Test/playlist.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/functional/JIT_Test/playlist.xml b/test/functional/JIT_Test/playlist.xml index 550192bd7c1..2de448dba76 100644 --- a/test/functional/JIT_Test/playlist.xml +++ b/test/functional/JIT_Test/playlist.xml @@ -147,10 +147,10 @@ jit_jitt_array_compress - -Xjit:disableAsyncCompilation,count=1 -XXgc:forcedShiftingCompressionAmount=1 - -Xjit:disableAsyncCompilation,count=1 -XXgc:forcedShiftingCompressionAmount=2 - -Xjit:disableAsyncCompilation,count=1 -XXgc:forcedShiftingCompressionAmount=3 - -Xjit:disableAsyncCompilation,count=1 -XXgc:forcedShiftingCompressionAmount=4 + -Xjit:disableAsyncCompilation,count=1 -XXgc:forcedShiftingCompressionAmount=1 -Xmx512m + -Xjit:disableAsyncCompilation,count=1 -XXgc:forcedShiftingCompressionAmount=2 -Xmx512m + -Xjit:disableAsyncCompilation,count=1 -XXgc:forcedShiftingCompressionAmount=3 -Xmx512m + -Xjit:disableAsyncCompilation,count=1 -XXgc:forcedShiftingCompressionAmount=4 -Xmx512m $(JAVA_COMMAND) $(JVM_OPTIONS) \ -cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)jitt.jar$(Q) \