[9] RFR of 8042983: test/java/math/BigInteger/ExtremeShiftingTests.java needs too much heap

joe darcy joe.darcy at oracle.com
Mon Jun 29 17:49:47 UTC 2015


Hi Brian,

This looks fine. I recommend monitoring the impact of this test and 
adjusting up the max memory limit if running test continues to cause issues.

Thanks,

-Joe

On 6/29/2015 10:30 AM, Brian Burkhalter wrote:
> Please review at your convenience.
>
> Issue:	https://bugs.openjdk.java.net/browse/JDK-8042983
> Patch:	see diff below
>
> Summary: Restrict test execution to systems having at least 1GB of physical memory.
>
> Thanks,
>
> Brian
>
> --- a/test/java/math/BigInteger/ExtremeShiftingTests.java
> +++ b/test/java/math/BigInteger/ExtremeShiftingTests.java
> @@ -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
>    */




More information about the core-libs-dev mailing list