8241097: java/math/BigInteger/largeMemory/SymmetricRangeTests.java requires -XX:+CompactStrings

Reviewed-by: bpb, bchristi
This commit is contained in:
Andrew M Leonard 2020-03-17 14:14:27 +00:00 committed by Andrew Leonard
parent 9d7f8bc9a0
commit 44eca823aa

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,7 +27,7 @@
* @summary Test range of BigInteger values (use -Dseed=X to set PRNG seed) * @summary Test range of BigInteger values (use -Dseed=X to set PRNG seed)
* @library /test/lib * @library /test/lib
* @requires (sun.arch.data.model == "64" & os.maxMemory > 8g) * @requires (sun.arch.data.model == "64" & os.maxMemory > 8g)
* @run main/timeout=180/othervm -Xmx8g SymmetricRangeTests * @run main/timeout=180/othervm -Xmx8g -XX:+CompactStrings SymmetricRangeTests
* @author Dmitry Nadezhin * @author Dmitry Nadezhin
* @key randomness * @key randomness
*/ */