8068272: Extend WhiteBox API with methods that check monitor state and force safepoint
Reviewed-by: kvn, iignatyev
This commit is contained in:
parent
4480b4d8b4
commit
0cb9e3ec88
@ -84,6 +84,8 @@ public class WhiteBox {
|
|||||||
return isClassAlive0(name.replace('.', '/'));
|
return isClassAlive0(name.replace('.', '/'));
|
||||||
}
|
}
|
||||||
private native boolean isClassAlive0(String name);
|
private native boolean isClassAlive0(String name);
|
||||||
|
public native boolean isMonitorInflated(Object obj);
|
||||||
|
public native void forceSafepoint();
|
||||||
|
|
||||||
// JVMTI
|
// JVMTI
|
||||||
public native void addToBootstrapClassLoaderSearch(String segment);
|
public native void addToBootstrapClassLoaderSearch(String segment);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user