--- old/src/hotspot/share/runtime/vmOperations.cpp 2019-07-11 14:36:40.000000000 -0400 +++ new/src/hotspot/share/runtime/vmOperations.cpp 2019-07-11 14:36:39.000000000 -0400 @@ -473,11 +473,11 @@ } bool VM_Exit::doit_prologue() { - if (AsyncDeflateIdleMonitors) { + if (AsyncDeflateIdleMonitors && log_is_enabled(Info, monitorinflation)) { // AsyncDeflateIdleMonitors does a special deflation at the VM_Exit // safepoint in order to reduce the in-use monitor population that - // is reported ObjectSynchronizer::log_in_use_monitor_details() at - // VM exit. + // is reported by ObjectSynchronizer::log_in_use_monitor_details() + // at VM exit. ObjectSynchronizer::set_is_special_deflation_requested(true); } return true;