< prev index next >

src/hotspot/share/runtime/vmOperations.cpp

Print this page
rev 59757 : Add whitebox support for deflating idle monitors including ObjectSynchronizer::request_deflate_idle_monitors(); drop ObjectSynchronizer::_is_special_deflation_requested flag, functions and uses; switch to ObjectSynchronizer::request_deflate_idle_monitors() as needed; _last_async_deflation_time_ns should be set at the end of async deflation;

*** 430,444 **** } } bool VM_Exit::doit_prologue() { 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 by ObjectSynchronizer::log_in_use_monitor_details() ! // at VM exit. ! ObjectSynchronizer::set_is_special_deflation_requested(true); } return true; } void VM_Exit::doit() { --- 430,443 ---- } } bool VM_Exit::doit_prologue() { if (AsyncDeflateIdleMonitors && log_is_enabled(Info, monitorinflation)) { ! // AsyncDeflateIdleMonitors does a special deflation in order ! // to reduce the in-use monitor population that is reported by ! // ObjectSynchronizer::log_in_use_monitor_details() at VM exit. ! ObjectSynchronizer::request_deflate_idle_monitors(); } return true; } void VM_Exit::doit() {
< prev index next >