From 7c2c0d17010a82c4e5230f120963c3bf407a758a Mon Sep 17 00:00:00 2001 From: Goetz Lindenmaier Date: Tue, 19 Mar 2024 15:53:44 +0100 Subject: [PATCH] 8328524: [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap --- test/jdk/java/lang/String/StringRepeat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jdk/java/lang/String/StringRepeat.java b/test/jdk/java/lang/String/StringRepeat.java index c36e512f8ba9a..11a0393766edf 100644 --- a/test/jdk/java/lang/String/StringRepeat.java +++ b/test/jdk/java/lang/String/StringRepeat.java @@ -31,7 +31,7 @@ * @test * @summary This exercises String#repeat patterns with 16 * 1024 * 1024 repeats. * @requires os.maxMemory >= 2G - * @requires !(os.family == "windows" & sun.arch.data.model == "32") + * @requires vm.bits == "64" * @run main/othervm -Xmx2g StringRepeat 16777216 */