RFR(XXS) 8187629: NMT: Memory miscounting in compiler (C2)

Chris Plummer chris.plummer at oracle.com
Mon Sep 25 17:01:27 UTC 2017


Well, looks like hs is still closed. I'll get it all ready to push once 
it's opened.

Chris

On 9/25/17 9:58 AM, Zhengyu Gu wrote:
> Thanks a lot, Chris.
>
> -Zhengyu
>
> On 09/25/2017 12:56 PM, Chris Plummer wrote:
>> 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