Annotation Interface HostCompilerDirectives.BytecodeInterpreterSwitch

Enclosing class:

@Retention(RUNTIME) @Target({METHOD,CONSTRUCTOR}) public static @interface HostCompilerDirectives.BytecodeInterpreterSwitch
Marks a method that is an implementation of a Truffle interpreter, and which should receive additional optimization budget.

This annotation is used to annotate the root method of a bytecode interpreter, and it hints the compiler to invest extra effort into optimizing such methods. Language implementers are advised to inspect the IR of the interpreter when using this.