@Retention(value=RUNTIME) @Target(value={METHOD,CONSTRUCTOR}) public static @interface HostCompilerDirectives.InliningCutoff
CompilerDirectives.TruffleBoundary
or is dominated by a call to
transferToInterpreter()
then
this method has no effect, as any path that is not designed for partial evaluation is already
considered a slow-path in hosted inlining.
This annotation may be used to tune Truffle hosted inlining decisions. It is useful in cases
where the host inliner did not have enough budget to exhaustively inline the entire partial
evaluatable fast-path. In such a case it might be worthwhile to annotate rarely executed
methods with HostCompilerDirectives.InliningCutoff
to reduce their priority to make room for more important
methods.
For more details on host inlining see the documentation