src/hotspot/share/runtime/init.cpp
changeset 53895 b22d8ae270a2
parent 53588 a5f46c4690f8
child 54301 2f522c487791
--- a/src/hotspot/share/runtime/init.cpp	Thu Feb 21 14:24:44 2019 +0100
+++ b/src/hotspot/share/runtime/init.cpp	Fri Feb 22 14:20:06 2019 +0100
@@ -174,10 +174,7 @@
       ObjectSynchronizer::audit_and_print_stats(true /* on_exit */);
     }
     perfMemory_exit();
-    if (log_is_enabled(Debug, safepoint, stats)) {
-      // Print the collected safepoint statistics.
-      SafepointSynchronize::print_stat_on_exit();
-    }
+    SafepointTracing::statistics_exit_log();
     if (PrintStringTableStatistics) {
       SymbolTable::dump(tty);
       StringTable::dump(tty);