Skip to content

Commit eebcc21

Browse files
committed
8328524: [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Reviewed-by: rriggs, mdoerr, sgehwolf
1 parent a68f5d7 commit eebcc21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jdk/java/lang/String/StringRepeat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* @test
3232
* @summary This exercises String#repeat patterns with 16 * 1024 * 1024 repeats.
3333
* @requires os.maxMemory >= 2G
34-
* @requires !(os.family == "windows" & sun.arch.data.model == "32")
34+
* @requires vm.bits == "64"
3535
* @run main/othervm -Xmx2g StringRepeat 16777216
3636
*/
3737

0 commit comments

Comments
 (0)