RFR(S): 6896810:TEST_BUG: java/lang/ref/SoftReference/Pin.java fails with OOME during System.out.println
stefan.karlsson at oracle.com
Tue Jun 30 13:00:12 UTC 2015
On 2015-06-30 14:54, Stefan Särne wrote:
> Hi all,
> Please review and sponsor this fix.
> Bug: https://bugs.openjdk.java.net/browse/JDK-6896810
> The test fails since it run out of memory (again) when it tries to
> print that the expected OOME is received. Additional allocations are
> done during printing and the next OOME is thrown out of the test. By
> freeing the "chain" that hogs the memory on the heap, the test
> continues and the additional checks of checking that the blocks are
> empty are performed and pass.
> Tested: Run with all GC combinations.
> The test is part of tier1 for the jdk and this blocks integration from
> jdk9/hs to jdk9/dev and I therefore suggest it is integrated directly
> to jdk9/hs.
More information about the jdk9-dev