< prev index next >

test/lib/sun/hotspot/WhiteBox.java

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;

*** 108,117 **** --- 108,119 ---- return countAliveClasses(name) != 0; } public native int getSymbolRefcount(String name); + public native boolean deflateIdleMonitors(); + private native boolean isMonitorInflated0(Object obj); public boolean isMonitorInflated(Object obj) { Objects.requireNonNull(obj); return isMonitorInflated0(obj); }
< prev index next >