8067247: Crash: assert(method_holder->data() == 0 ...) failed: a) MT-unsafe modification of inline cache

Made invoker LambdaForm instance & its compiled form lifetime tightly coupled.

Reviewed-by: vlivanov
This commit is contained in:
Jamsheed Mohammed C M 2016-04-04 02:10:46 -07:00
parent 0c67cefd42
commit 3a64859282

View File

@ -344,7 +344,13 @@ public class WhiteBox {
}
public native Object[] getCodeBlob(long addr);
public native void clearInlineCaches();
private native void clearInlineCaches0(boolean preserve_static_stubs);
public void clearInlineCaches() {
clearInlineCaches0(false);
}
public void clearInlineCaches(boolean preserve_static_stubs) {
clearInlineCaches0(preserve_static_stubs);
}
// Intered strings
public native boolean isInStringTable(String str);