1.1 --- a/src/share/vm/utilities/vmError.cpp Wed Jun 27 15:23:36 2012 +0200 1.2 +++ b/src/share/vm/utilities/vmError.cpp Thu Jun 28 17:03:16 2012 -0400 1.3 @@ -33,6 +33,7 @@ 1.4 #include "runtime/thread.hpp" 1.5 #include "runtime/vmThread.hpp" 1.6 #include "runtime/vm_operations.hpp" 1.7 +#include "services/memTracker.hpp" 1.8 #include "utilities/debug.hpp" 1.9 #include "utilities/decoder.hpp" 1.10 #include "utilities/defaultStream.hpp" 1.11 @@ -818,6 +819,9 @@ 1.12 static bool transmit_report_done = false; // done error reporting 1.13 static fdStream log; // error log 1.14 1.15 + // disble NMT to avoid further exception 1.16 + MemTracker::shutdown(MemTracker::NMT_error_reporting); 1.17 + 1.18 if (SuppressFatalErrorMessage) { 1.19 os::abort(); 1.20 }