RFR(XXS) 8187629: NMT: Memory miscounting in compiler (C2)
Zhengyu Gu
zgu at redhat.com
Mon Sep 25 16:00:12 UTC 2017
Hi Chris,
Could you please sponsor this change?
Attached patch has been rebased to new repo.
Thank you in advance!
-Zhengyu
On 09/19/2017 11:27 AM, Chris Plummer wrote:
> Looks good. Seems to follow a pattern used elsewhere.
>
> thanks,
>
> Chris
>
> On 9/18/17 12:17 PM, Zhengyu Gu wrote:
>> Compiler (C2) uses ResourceArea instead of Arena in some
>> circumstances, so it can take advantage of ResourceMark. However,
>> ResourceArea is tagged as mtThread, that results those memory is
>> miscounted by NMT
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8187629
>> Webrev: http://cr.openjdk.java.net/~zgu/8187629/webrev.00/
>>
>>
>> Test:
>>
>> hotspot_tier1 (fastdebug and release) on Linux x64
>>
>>
>> Thanks,
>>
>> -Zhengyu
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8187629.patch
Type: text/x-patch
Size: 3217 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20170925/92a4cbd0/8187629.patch>
More information about the hotspot-dev
mailing list