public class TruffleBoundaryPhase
extends org.graalvm.compiler.phases.Phase
CompilerDirectives.TruffleBoundary
calls when CompilerDirectives.transferToInterpreter()
is true. Note that most of the deoptimizations are already inserted during parsing in
SubstrateGraphBuilderPhase.SubstrateBytecodeParser
. However, during parsing we cannot optimize virtual call sites
that get canonicalized to static calls only during partial evaluation. So we re-check all invokes
that remain after partial evaluation here.Constructor and Description |
---|
TruffleBoundaryPhase() |
Modifier and Type | Method and Description |
---|---|
protected void |
run(org.graalvm.compiler.nodes.StructuredGraph graph) |
apply, apply, codeSizeIncrease, contractorName, getName, shouldDumpAfterAtBasicLevel, shouldDumpBeforeAtBasicLevel