@Retention(value=RUNTIME)
@Target(value={METHOD,CONSTRUCTOR})
public static @interface HostCompilerDirectives.BytecodeInterpreterSwitchBoundary
Marks a method that is called from a Truffle interpreter, but is not called frequently and is
not important for interpreter performance.
This annotation is used to annotate methods that are called from a bytecode interpreter, but
should generally not be inlined into the body of the bytecode interpreter. Language
implementers are advised to inspect the IR of the interpreter when using this.
- Since:
- 21.0
- See Also:
to annotate the root method of a bytecode interpreter