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

Zhengyu Gu zgu at redhat.com
Mon Sep 18 19:17:23 UTC 2017


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