Skip to content

Commit

Permalink
8290899: java/lang/String/StringRepeat.java test requests too much he…
Browse files Browse the repository at this point in the history
…ap on windows x86

Backport-of: 2bb727c4eaf8a948f17f6416a1e6fbaeade4d7ce
  • Loading branch information
mrserb committed Dec 19, 2022
1 parent 3f66b16 commit 5f4b38a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/jdk/java/lang/String/StringRepeat.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -31,6 +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")
* @run main/othervm -Xmx2g StringRepeat 16777216
*/

Expand Down

1 comment on commit 5f4b38a

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.