RFR(XXS) 8187629: NMT: Memory miscounting in compiler (C2)
Chris Plummer
chris.plummer at oracle.com
Mon Sep 25 16:56:44 UTC 2017
Yes, I'll push it today.
thanks,
Chris
On 9/25/17 9:00 AM, Zhengyu Gu wrote:
> 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
>>
>>
>>
More information about the hotspot-dev
mailing list