Skip to content

Commit d133da2

Browse files
author
Roland Mesde
committed
8356695: java/lang/StringBuilder/HugeCapacity.java failing with OOME
Backport-of: 611e406d81c88bee2d4b9ab23b7edc864a3fd476
1 parent a94ecbe commit d133da2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/jdk/java/lang/StringBuilder/HugeCapacity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
* @summary Capacity should not get close to Integer.MAX_VALUE unless
2828
* necessary
2929
* @requires (sun.arch.data.model == "64" & os.maxMemory >= 8G)
30-
* @run main/othervm -Xms6G -Xmx6G -XX:+CompactStrings HugeCapacity true
31-
* @run main/othervm -Xms6G -Xmx6G -XX:-CompactStrings HugeCapacity false
30+
* @run main/othervm -Xms8G -Xmx8G -XX:-CompactStrings -Xlog:gc HugeCapacity false
31+
* @run main/othervm -Xms8G -Xmx8G -XX:+CompactStrings -Xlog:gc HugeCapacity true
3232
*/
3333

3434
public class HugeCapacity {

0 commit comments

Comments
 (0)