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

Christian Tornqvist christian.tornqvist at oracle.com
Thu Jan 29 22:45:45 UTC 2015


Hi David,

>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. 

Thanks,
Christian 

-----Original Message-----
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).
>
> 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