< prev index next >

src/hotspot/share/runtime/init.cpp

Print this page
rev 59376 : 8153224.v2.10.patch merged with 8153224.v2.11.patch.

@@ -176,12 +176,16 @@
   if (!destructorsCalled) {
     destructorsCalled = true;
     if (log_is_enabled(Info, monitorinflation)) {
       // The ObjectMonitor subsystem uses perf counters so
       // do this before perfMemory_exit().
-      // ObjectSynchronizer::finish_deflate_idle_monitors()'s call
-      // to audit_and_print_stats() is done at the Debug level.
+      // These other two audit_and_print_stats() calls are done at the
+      // Debug level at a safepoint:
+      // - for safepoint based deflation auditing:
+      //   ObjectSynchronizer::finish_deflate_idle_monitors()
+      // - for async deflation auditing:
+      //   ObjectSynchronizer::do_safepoint_work()
       ObjectSynchronizer::audit_and_print_stats(true /* on_exit */);
     }
     perfMemory_exit();
     SafepointTracing::statistics_exit_log();
     if (PrintStringTableStatistics) {
< prev index next >