RFR 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter

Paul Sandoz paul.sandoz at oracle.com
Tue Jan 13 13:18:33 UTC 2015

Here is a second revision that avoids adding the monitor methods to WhiteBox:


I investigated changing ProcessBuilder/Basic.java to use WhiteBox.isMonitorInflated (with some judicious jtreg annotations and placing things on the boot classpath). However the peculiarities of when monitor inflation occurs seem to make using this unreliable so i left this test as is.


More information about the hotspot-runtime-dev mailing list