[16] RFR(T) 8248426: NMT: VirtualMemoryTracker::split_reserved_region() does not properly update summary counting
Zhengyu Gu
zgu at redhat.com
Fri Jun 26 20:53:36 UTC 2020
Hi,
Please review this trivial patch that fixes summary counting in
VirtualMemoryTracker::split_reserved_region().
The method uses internal method to remove a reserved region, which does
not update counting information. It should use high level tracking
method VirtualMemoryTracker::remove_released_region() instead.
Without patch, NMT summary reports uncategorized memory, e.g.
- Unknown (reserved=1060416KB, committed=0KB)
(mmap: reserved=1060416KB, committed=0KB)
Bug: https://bugs.openjdk.java.net/browse/JDK-8248426
Webrev: http://cr.openjdk.java.net/~zgu/JDK-8248426/webrev.00/
Test:
hotspot_nmt
Submit test in progress
Thanks,
-Zhengyu
More information about the hotspot-runtime-dev
mailing list