mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8246476: remove AsyncDeflateIdleMonitors option and the safepoint based deflation mechanism
Reviewed-by: dholmes, pchilanomate, coleenp
This commit is contained in:
parent
231a8408b2
commit
7436ef236e
14 changed files with 144 additions and 630 deletions
|
@ -431,10 +431,10 @@ int VM_Exit::wait_for_threads_in_native_to_block() {
|
|||
}
|
||||
|
||||
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.
|
||||
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();
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue