public abstract class SLCallUntilOptimizedBuiltin extends SLGraalRuntimeBuiltin
waitForOptimization(function) to wait until the runtime system has completed the
possibly parallel optimization.SLWaitForOptimizationBuiltin| Modifier and Type | Field and Description |
|---|---|
private static Object[] |
EMPTY_ARGS |
private com.oracle.truffle.api.nodes.IndirectCallNode |
indirectCall |
private static int |
MAX_CALLS |
| Constructor and Description |
|---|
SLCallUntilOptimizedBuiltin() |
| Modifier and Type | Method and Description |
|---|---|
com.oracle.truffle.sl.runtime.SLFunction |
callUntilCompiled(com.oracle.truffle.api.frame.VirtualFrame frame,
com.oracle.truffle.sl.runtime.SLFunction function,
boolean checkTarget) |
com.oracle.truffle.sl.runtime.SLFunction |
callUntilCompiled(com.oracle.truffle.api.frame.VirtualFrame frame,
com.oracle.truffle.sl.runtime.SLFunction function,
com.oracle.truffle.sl.runtime.SLNull checkTarget) |
private static void |
checkTarget(OptimizedCallTarget target) |
private static boolean |
isCompiling(OptimizedCallTarget target) |
private static void |
waitForCompilation(OptimizedCallTarget target) |
findCallsTo, findCallsTo, findDuplicateCallTargetscreateWrapperNode, executeBoolean, executeFunction, executeGeneric, executeLong, executeVoid, isInstrumentableformatSourceSection, getNonWrapperNode, toStringaccept, adoptChildren, assignSourceSection, atomic, atomic, clearSourceSection, clone, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLanguage, getParent, getRootNode, getSourceSection, insert, insert, isSafelyReplaceableBy, onReplace, probe, replace, replaceprivate static final int MAX_CALLS
private static final Object[] EMPTY_ARGS
private com.oracle.truffle.api.nodes.IndirectCallNode indirectCall
public SLCallUntilOptimizedBuiltin()
public com.oracle.truffle.sl.runtime.SLFunction callUntilCompiled(com.oracle.truffle.api.frame.VirtualFrame frame, com.oracle.truffle.sl.runtime.SLFunction function, com.oracle.truffle.sl.runtime.SLNull checkTarget)
public com.oracle.truffle.sl.runtime.SLFunction callUntilCompiled(com.oracle.truffle.api.frame.VirtualFrame frame, com.oracle.truffle.sl.runtime.SLFunction function, boolean checkTarget)
private static void checkTarget(OptimizedCallTarget target) throws com.oracle.truffle.sl.SLAssertionError
com.oracle.truffle.sl.SLAssertionErrorprivate static void waitForCompilation(OptimizedCallTarget target)
private static boolean isCompiling(OptimizedCallTarget target)