< prev index next >
src/hotspot/share/runtime/vmThread.cpp
Print this page
rev 60098 : 8246476: remove AsyncDeflateIdleMonitors option and the safepoint based deflation mechanism
Reviewed-by: dholmes, pchilanomate, coleenp
*** 258,271 ****
xtty->stamp();
xtty->end_elem();
assert(should_terminate(), "termination flag must be set");
}
! 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();
}
// 4526887 let VM thread exit at Safepoint
_cur_vm_operation = &halt_op;
--- 258,271 ----
xtty->stamp();
xtty->end_elem();
assert(should_terminate(), "termination flag must be set");
}
! if (log_is_enabled(Info, monitorinflation)) {
! // Do a 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();
}
// 4526887 let VM thread exit at Safepoint
_cur_vm_operation = &halt_op;
< prev index next >