comparison 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
comparison
equal deleted inserted replaced
20359:4d3a43351904 20360:833b0f92429a
770 if (_verbose) { 770 if (_verbose) {
771 os::print_signal_handlers(st, buf, sizeof(buf)); 771 os::print_signal_handlers(st, buf, sizeof(buf));
772 st->cr(); 772 st->cr();
773 } 773 }
774 774
775 STEP(228, "(Native Memory Tracking)" )
776 if (_verbose) {
777 MemTracker::final_report(st);
778 }
779
775 STEP(230, "" ) 780 STEP(230, "" )
776 781
777 if (_verbose) { 782 if (_verbose) {
778 st->cr(); 783 st->cr();
779 st->print_cr("--------------- S Y S T E M ---------------"); 784 st->print_cr("--------------- S Y S T E M ---------------");
892 // We will first print a brief message to standard out (verbose = false), 897 // We will first print a brief message to standard out (verbose = false),
893 // then save detailed information in log file (verbose = true). 898 // then save detailed information in log file (verbose = true).
894 static bool out_done = false; // done printing to standard out 899 static bool out_done = false; // done printing to standard out
895 static bool log_done = false; // done saving error log 900 static bool log_done = false; // done saving error log
896 static bool transmit_report_done = false; // done error reporting 901 static bool transmit_report_done = false; // done error reporting
897
898 // disble NMT to avoid further exception
899 MemTracker::shutdown(MemTracker::NMT_error_reporting);
900 902
901 if (SuppressFatalErrorMessage) { 903 if (SuppressFatalErrorMessage) {
902 os::abort(); 904 os::abort();
903 } 905 }
904 jlong mytid = os::current_thread_id(); 906 jlong mytid = os::current_thread_id();