diff src/share/vm/runtime/globals.hpp @ 6770:9a86ddfc6c8f

7188594: Print statistic collected by NMT with VM flag Summary: Print out statistics of collected NMT data if it is on at VM exits Reviewed-by: kvn, coleenp, twisti
author zgu
date Mon, 17 Sep 2012 16:37:26 -0400
parents 11fb740ce98f
children f81a7c0c618d bacdc1d5c21c
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Mon Sep 17 10:20:04 2012 -0400
+++ b/src/share/vm/runtime/globals.hpp	Mon Sep 17 16:37:26 2012 -0400
@@ -863,6 +863,9 @@
   product(ccstr, NativeMemoryTracking, "off",                               \
           "Native memory tracking options")                                 \
                                                                             \
+  diagnostic(bool, PrintNMTStatistics, false,                               \
+          "Print native memory tracking summary data if it is on")          \
+                                                                            \
   diagnostic(bool, LogCompilation, false,                                   \
           "Log compilation activity in detail to hotspot.log or LogFile")   \
                                                                             \