8068272: Extend WhiteBox API with methods that check monitor state and force safepoint

Reviewed-by: kvn, iignatyev
This commit is contained in:
Filipp Zhinkin 2014-12-30 11:05:01 +03:00
parent 4480b4d8b4
commit 0cb9e3ec88

View File

@ -84,6 +84,8 @@ public class WhiteBox {
return isClassAlive0(name.replace('.', '/'));
}
private native boolean isClassAlive0(String name);
public native boolean isMonitorInflated(Object obj);
public native void forceSafepoint();
// JVMTI
public native void addToBootstrapClassLoaderSearch(String segment);