hotspot/src/share/vm/utilities/debug.cpp
changeset 39274 940f0e8e9ec2
parent 38254 05e46b580b4e
child 40655 9f644073d3a0
--- a/hotspot/src/share/vm/utilities/debug.cpp	Mon Jun 13 10:10:35 2016 +0200
+++ b/hotspot/src/share/vm/utilities/debug.cpp	Mon Jun 13 11:48:11 2016 +0200
@@ -54,10 +54,6 @@
 #include "utilities/macros.hpp"
 #include "utilities/vmError.hpp"
 
-#if INCLUDE_TRACE
-#include "trace/tracing.hpp"
-#endif
-
 #include <stdio.h>
 
 #ifndef ASSERT
@@ -306,11 +302,6 @@
    exit(2);
 }
 
-static void notify_tracing() {
-#if INCLUDE_TRACE
-  Tracing::on_vm_error(true);
-#endif
-}
 
 void report_insufficient_metaspace(size_t required_size) {
   warning("\nThe MaxMetaspaceSize of " SIZE_FORMAT " bytes is not large enough.\n"
@@ -334,8 +325,6 @@
       HeapDumper::dump_heap_from_oome();
     }
 
-    notify_tracing();
-
     if (OnOutOfMemoryError && OnOutOfMemoryError[0]) {
       VMError::report_java_out_of_memory(message);
     }