RFR: 8012241 Kitchensink crashed with OOME on linux x64
Zhengyu Gu
zhengyu.gu at oracle.com
Fri Jun 21 04:39:30 PDT 2013
On 6/19/2013 12:04 AM, David Holmes wrote:
> 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 ???
>
Unfortunately, it does. When OOM, NMT won't be able to do much, even for
generating summary.
-Zhengyu
> 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