RFR: 8064909: FragmentMetaspace.java got OutOfMemoryError

Jon Masamitsu jon.masamitsu at oracle.com
Wed Nov 26 19:04:49 UTC 2014


Michail,

Your change makes this test pass but it seems like at
some future date 300m might not be big enough
(for whatever reason).  Could the test be make to
caught an OOME, print out a message saying that
an OOME doesn't mean the test failed  but that
the test needs a larger heap?  Then pass an
exception up (maybe some type of Runtime
exception - sorry if that is vague but I don't
what type of exception would make sense).  That
would mean we wouldn't have to spend time
diagnosing what the OOME means again.

Jon

On 11/26/2014 5:36 AM, Michail Chernov wrote:
> Hi,
>
> Please review this simple fix for nightly test failure:
>
> Webrev:
> http://cr.openjdk.java.net/~eistepan/~mchernov/8064909/webrev.00/
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8064909
>
> Problem: test fails because of OOME (not enough heap size).
> Solution: heap size were increased.
>
> Testing:
> jtreg
>
> Thanks,
> Michail




More information about the hotspot-gc-dev mailing list