Class BytecodeConfig

java.lang.Object
com.oracle.truffle.api.bytecode.BytecodeConfig

public final class BytecodeConfig extends Object
The configuration to use while generating bytecode. The configuration determines what optional information (source sections, instrumentation instructions, etc.) should be materialized during parsing. The interpreter memory footprint can be improved by omitting this information by default and lazily re-parsing it when it is needed.
Since:
24.2
  • Field Details

    • DEFAULT

      public static final BytecodeConfig DEFAULT
      Do not materialize any source or instrumentation information.
      Since:
      24.2
    • WITH_SOURCE

      public static final BytecodeConfig WITH_SOURCE
      Materialize source information.
      Since:
      24.2
    • COMPLETE

      public static final BytecodeConfig COMPLETE
      Materialize all information.
      Since:
      24.2
  • Method Details