RFR(XXS): 8071584 - runtime/Unsafe/AllocateMemory.java crashed on OOM during compilation.
christian.tornqvist at oracle.com
Thu Jan 29 22:45:45 UTC 2015
>Seems reasonable. I assume a -Xcomp run won't hit the 100M limit?
No, this value should be safe, it'll be 400MB on 32bit and 800 on 64bit.
From: David Holmes [mailto:david.holmes at oracle.com]
Sent: Wednesday, January 28, 2015 11:29 PM
To: Christian Tornqvist; hotspot-runtime-dev at openjdk.java.net
Cc: christian.thalinger at oracle.com
Subject: Re: RFR(XXS): 8071584 - runtime/Unsafe/AllocateMemory.java crashed
on OOM during compilation.
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).
Seems reasonable. I assume a -Xcomp run won't hit the 100M limit?
More information about the hotspot-runtime-dev