JDK 9 RFR of 8041683: java/math/BigInteger/BitLengthOverflow.java failing with OOME (original) (raw)
Brian Burkhalter brian.burkhalter at oracle.com
Fri Apr 25 21:26:09 UTC 2014
- Previous message: Urgent: Broken build. Re: RFR: 8033104 sun/jvmstat/monitor/MonitoredVm/CR6672135.java failing on all platforms
- Next message: JDK 9 RFR of 8041683: java/math/BigInteger/BitLengthOverflow.java failing with OOME
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
Issue: https://bugs.openjdk.java.net/browse/JDK-8041683 Patch: http://cr.openjdk.java.net/~bpb/8041683/webrev.00/
It’s not really a solution but the patch changes BitLengthOverflow and DoubleValueOverflow to catch the OOME and print a warning to STDERR instead of failing outright. These OOMEs do not occur in JPRT runs with default parameters, so at least this patch would allow the tests to run successfully when there is enough memory but not to cause the test run to fail when there is not enough memory. This is more test coverage than never running the tests.
Thanks,
Brian
- Previous message: Urgent: Broken build. Re: RFR: 8033104 sun/jvmstat/monitor/MonitoredVm/CR6672135.java failing on all platforms
- Next message: JDK 9 RFR of 8041683: java/math/BigInteger/BitLengthOverflow.java failing with OOME
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]