8072008: Emit direct call instead of linkTo* for recursive indy/MH.invoke* calls

Reviewed-by: jrose, dlong, aph, forax
This commit is contained in:
Vladimir Ivanov 2015-11-30 13:39:15 +03:00
parent 5b6993b405
commit 9a7ac042da

View File

@ -32,6 +32,7 @@ import java.util.function.BiFunction;
import java.util.function.Function;
import java.security.BasicPermission;
import java.util.Objects;
import jdk.internal.HotSpotIntrinsicCandidate;
import sun.hotspot.parser.DiagnosticCommand;
@ -170,6 +171,9 @@ public class WhiteBox {
public native boolean shouldPrintAssembly(Executable method);
public native int deoptimizeFrames(boolean makeNotEntrant);
public native void deoptimizeAll();
@HotSpotIntrinsicCandidate
public void deoptimize() {}
public boolean isMethodCompiled(Executable method) {
return isMethodCompiled(method, false /*not osr*/);
}
@ -304,6 +308,8 @@ public class WhiteBox {
}
public native Object[] getCodeBlob(long addr);
public native void clearInlineCaches();
// Intered strings
public native boolean isInStringTable(String str);