RFR(XXS) 8187629: NMT: Memory miscounting in compiler (C2)
Zhengyu Gu
zgu at redhat.com
Tue Sep 19 15:29:57 UTC 2017
Thanks for the review, Chris.
-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
>
>
>
More information about the hotspot-dev
mailing list