RFR: 8012241 Kitchensink crashed with OOME on linux x64

David Holmes david.holmes at oracle.com
Tue Jun 18 21:04:18 PDT 2013


On 19/06/2013 4:10 AM, Zhengyu Gu wrote:
> NMT shuts itself down when it encounters OOM. But most of time, OOM is encountered by other parts of VM, which could result in fatal error. The change is to intercept OOM in os::malloc() and shutdown NMT, hopefully will free enough memory to allow VM to continue executing.

Doesn't that kind of defeat the purpose of NMT. I'm hitting an OOM so I 
enable NMT to see where the allocations are happening but when the OOM 
hits you shutdown NMT and all the data is lost ???

David
-----

>
> Bug:  https://jbs.oracle.com/bugs/browse/JDK-8012241
> External bug: Not available
> Webrev: http://cr.openjdk.java.net/~zgu/8012241/webrev.00/
>
>
> Thanks,
>
> -Zhengyu
>


More information about the hotspot-runtime-dev mailing list