Annotation Interface HostCompilerDirectives.BytecodeInterpreterHandler
- Enclosing class:
HostCompilerDirectives
@Retention(RUNTIME)
@Target(METHOD)
public static @interface HostCompilerDirectives.BytecodeInterpreterHandler
Annotates a method that serves as a Truffle interpreter bytecode handler, that is, a method
implements the complete semantics of a single bytecode instruction.
For more details, see the One Compilation per Bytecode Handler documentation.
- Since:
- 25.1
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
int[] valueThe handled bytecode's opcodes. -
threading
boolean threadingIndicates whether to enable tail call threading at the end of this handler. Iffalse, the threading will terminate, and control will return to the switch-loop after this handler is executed. Alternatively, omitting theHostCompilerDirectives.BytecodeInterpreterHandlerannotation will cause control to return to the switch-loop before this handler is executed.- Default:
true
-
safepoint
boolean safepointIndicates whether host safepoint should be inserted in the stub correspond to this handler.- Default:
true
-