The following option needs to be added to the command line to enable NMT:
-XX:NativeMemoryTracking=summary/detail
If this option is not added to the command line at the process launch time, it is not possible to collect NMT output from the process without stopping and re-starting it again.
It will be helpful if NMT can be enabled on demand at runtime.
-XX:NativeMemoryTracking=summary/detail
If this option is not added to the command line at the process launch time, it is not possible to collect NMT output from the process without stopping and re-starting it again.
It will be helpful if NMT can be enabled on demand at runtime.
- is blocked by
-
JDK-8317453 NMT: Performance benchmarks are needed to measure speed and memory
-
- In Progress
-
- relates to
-
JDK-8303483 Enable NMT in summary mode by default
-
- Open
-