< prev index next >
src/hotspot/share/runtime/vmOperations.cpp
Print this page
rev 55493 : imported patch dcubed.monitor_deflate_conc.v2.04
rev 55494 : imported patch dcubed.monitor_deflate_conc.v2.05
@@ -471,15 +471,15 @@
ml.wait(10);
}
}
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;
}
< prev index next >