RFR: 8036701: Add trace event when a metaspace throws out of memory error

Erik Helin erik.helin at oracle.com
Fri Mar 14 15:55:04 UTC 2014


Based on a discussion with Jon Masamitsu and StefanK, I've decided to 
change metadata_type_name to return a slightly more user-friendly value.

Please see new webrev at:
http://cr.openjdk.java.net/~ehelin/8036699/webrev.02/

Incremental webrev:
http://cr.openjdk.java.net/~ehelin/8036699/webrev.01-02/

Thanks,
Erik

On 2014-03-13 18:04, Erik Helin wrote:
> Hi all,
>
> since I decided to do the native stack allocation as a separate feature
> for the metaspace allocation failure event, this patch required a very
> minor update. I just removed the field "nativeStackTrace" from the event.
>
> New webrev:
> http://cr.openjdk.java.net/~ehelin/8036701/webrev.01/
>
> Incremental webrev:
> http://cr.openjdk.java.net/~ehelin/8036701/webrev.00-01/
>
> Thanks,
> Erik
>
> On 2014-03-06 10:19, Erik Helin wrote:
>> Hi all,
>>
>> this patch adds a new trace event for tracking metaspace out of memory
>> exceptions - vm/gc/metaspace/out_of_memory. This patch builds upon the
>> patch for "JDK-8036699: Add trace event when a metaspace allocation
>> fails". The information in the allocation failure event and the OOM
>> event are the same, see the review request for the allocation failure
>> event for more information.
>>
>> Webrev:
>> http://cr.openjdk.java.net/~ehelin/8036701/webrev.00/
>>
>> Enhancement:
>> https://bugs.openjdk.java.net/browse/JDK-8036701
>>
>> Testing:
>> - JFR JTREG tests
>> - JPRT
>>
>> Thanks,
>> Erik


More information about the hotspot-dev mailing list