--- old/src/hotspot/share/runtime/init.cpp 2020-05-06 20:09:04.000000000 -0400 +++ new/src/hotspot/share/runtime/init.cpp 2020-05-06 20:09:04.000000000 -0400 @@ -176,8 +176,12 @@ 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();