diff src/share/vm/utilities/vmError.cpp @ 20360:833b0f92429a

8046598: Scalable Native memory tracking development Summary: Enhance scalability of native memory tracking Reviewed-by: coleenp, ctornqvi, gtriantafill
author zgu
date Wed, 27 Aug 2014 08:19:12 -0400
parents d22136881b85
children 417e3b8d04c5 5ca2ea5eeff0
line wrap: on
line diff
--- a/src/share/vm/utilities/vmError.cpp	Wed Aug 27 09:36:55 2014 +0200
+++ b/src/share/vm/utilities/vmError.cpp	Wed Aug 27 08:19:12 2014 -0400
@@ -772,6 +772,11 @@
        st->cr();
      }
 
+  STEP(228, "(Native Memory Tracking)" )
+     if (_verbose) {
+       MemTracker::final_report(st);
+     }
+
   STEP(230, "" )
 
      if (_verbose) {
@@ -895,9 +900,6 @@
   static bool log_done = false;         // done saving error log
   static bool transmit_report_done = false; // done error reporting
 
-  // disble NMT to avoid further exception
-  MemTracker::shutdown(MemTracker::NMT_error_reporting);
-
   if (SuppressFatalErrorMessage) {
       os::abort();
   }