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

Andrew Dinn adinn at redhat.com
Tue Sep 19 08:09:33 UTC 2017


On 18/09/17 20:17, 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
Changes look good to me.

regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander


More information about the hotspot-dev mailing list