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

Christian Tornqvist christian.tornqvist at oracle.com
Wed Jan 28 23:06:58 UTC 2015


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/

 

Bug:

https://bugs.openjdk.java.net/browse/JDK-8071584

 

Thanks,

Christian

 



More information about the hotspot-runtime-dev mailing list