Enum Class BytecodeTier

java.lang.Object
java.lang.Enum<BytecodeTier>
com.oracle.truffle.api.bytecode.BytecodeTier
All Implemented Interfaces:
Serializable, Comparable<BytecodeTier>, Constable

public enum BytecodeTier extends Enum<BytecodeTier>
Represents the tier of a given BytecodeNode.
Since:
24.2
  • Enum Constant Details

    • UNCACHED

      public static final BytecodeTier UNCACHED
      The uncached bytecode tier does not collect profiling feedback. This means that that the node was either never executed or the uncached threshold did not yet reach zero.
      Since:
      24.2
    • CACHED

      public static final BytecodeTier CACHED
      The cached bytecode tier does collect profiling feedback. This means that the bytecode interpreter is already collecting profiling information.
      Since:
      24.2
  • Method Details

    • values

      public static BytecodeTier[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BytecodeTier valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null