Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8000375 | 8 | Zhengyu Gu | P4 | Closed | Fixed | b59 |
JDK-8017834 | 7u45 | Zhengyu Gu | P4 | Closed | Fixed | b01 |
JDK-8003329 | 7u40 | Zhengyu Gu | P4 | Closed | Fixed | b04 |
JDK-8000196 | hs25 | Zhengyu Gu | P4 | Closed | Fixed | b03 |
JDK-8003465 | hs24 | Zhengyu Gu | P4 | Closed | Fixed | master |
NMT (Native Memory Tracking) is very powerful tool. It would help greatly to Hotspot developers to show how much memory is used by different VM parts without using additional applications (jcmd, JFR) to access collected data. It could use already existing in Hotspot VM mechanism to dump collected statistic during VM exit. See print_statistics() method in src/share/vm/runtime/java.cpp which is called from before_exit() method.
Add new flag -XX:+PrintNMTStatistics with which the output is produced. NMT statistic output could show how much memory is used per memory type and total. Also it could print methods (from collected call stack) which are main users of native memory.
Add new flag -XX:+PrintNMTStatistics with which the output is produced. NMT statistic output could show how much memory is used per memory type and total. Also it could print methods (from collected call stack) which are main users of native memory.
- backported by
-
JDK-8000196 Print statistic collected by NMT with VM flag
-
- Closed
-
-
JDK-8000375 Print statistic collected by NMT with VM flag
-
- Closed
-
-
JDK-8003329 Print statistic collected by NMT with VM flag
-
- Closed
-
-
JDK-8003465 Print statistic collected by NMT with VM flag
-
- Closed
-
-
JDK-8017834 Print statistic collected by NMT with VM flag
-
- Closed
-
- relates to
-
JDK-8005936 PrintNMTStatistics doesn't work for normal JVM exit
-
- Closed
-
-
JDK-8016762 [TESTBUG] Write test for verifying PrintNMTStatistics output
-
- Closed
-
(2 relates to)