RFR(XXS): 8071584 - runtime/Unsafe/AllocateMemory.java crashed on OOM during compilation.

David Holmes david.holmes at oracle.com
Thu Jan 29 07:29:15 UTC 2015


On 29/01/2015 9:06 AM, Christian Tornqvist wrote:
> Hi everyone,
>
> Please review this small fix where the MallocMaxTestWords limit is set too
> low and causes OOM in the JIT compiler before we get to the
> Unsafe.allocateMemory call.
>
> Adjusted the limit to match what's in Reallocate.java (which had the same
> issue).
>
> Webrev:
>
> http://cr.openjdk.java.net/~ctornqvi/webrev/8071584/webrev.00/

Seems reasonable. I assume a -Xcomp run won't hit the 100M limit?

Thanks,
David
-----

>
>
> Bug:
>
> https://bugs.openjdk.java.net/browse/JDK-8071584
>
>
>
> Thanks,
>
> Christian
>
>
>


More information about the hotspot-runtime-dev mailing list