8042983: test/java/math/BigInteger/ExtremeShiftingTests.java needs too much heap
authorbpb
Mon, 29 Jun 2015 14:49:47 -0700
changeset 31423 40f3cbfffce8
parent 31422 67cd03bc9cce
child 31424 2a034eaf3aef
8042983: test/java/math/BigInteger/ExtremeShiftingTests.java needs too much heap Summary: Use @requires tag to suppress the test on limited memory systems. Reviewed-by: darcy
jdk/test/java/math/BigInteger/ExtremeShiftingTests.java
--- a/jdk/test/java/math/BigInteger/ExtremeShiftingTests.java	Mon Jun 29 11:38:36 2015 -0700
+++ b/jdk/test/java/math/BigInteger/ExtremeShiftingTests.java	Mon Jun 29 14:49:47 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 6371401
  * @summary Tests of shiftLeft and shiftRight on Integer.MIN_VALUE
+ * @requires os.maxMemory >= 1g
  * @run main/othervm -Xmx512m ExtremeShiftingTests
  * @author Joseph D. Darcy
  */