Machine-readable versions of this page. Markdown: https://graalvm.elide.help/25.6.0-elide.4/api/truffle-api/index-all.md . Index of every page (llms.txt): https://graalvm.elide.help/25.6.0-elide.4/api/truffle-api/llms.txt . The whole reference in one Markdown file: https://graalvm.elide.help/25.6.0-elide.4/api/truffle-api/llms-full.txt . Declaration contracts: https://graalvm.elide.help/25.6.0-elide.4/api/truffle-api/contracts.ndjson . The API model as JSON (apidocs/1): https://graalvm.elide.help/25.6.0-elide.4/api/truffle-api/api.json .
AARCH64enum constant in InternalResource.CPUArchitecture The ARMv8 64-bit architecture.
@Abstractannotation interface in com.oracle.truffle.api.library Makes a library message abstract, but allows to keep a default implementation.
⚡︎AbstractTruffleExceptionabstract exception in com.oracle.truffle.api.exception A base class for an exception thrown during the execution of a guest language program. The following snippet shows the guest language exception implementation.
AbstractTruffleException()constructor in AbstractTruffleException Creates a new AbstractTruffleException.
AbstractTruffleException(AbstractTruffleException)constructor in AbstractTruffleException Copies the prototype's message, cause, stack trace limit, location, BCI, suppressed exceptions, and Truffle stack trace.
AbstractTruffleException(Node)constructor in AbstractTruffleException Creates a new AbstractTruffleException with given location.
AbstractTruffleException(String)constructor in AbstractTruffleException Creates a new AbstractTruffleException with given message.
AbstractTruffleException(String, Throwable, …)constructor in AbstractTruffleException Creates a new AbstractTruffleException with an explicit bytecode index for the exception location.
CAbstractTruffleStringsealed abstract class in com.oracle.truffle.api.strings Abstract base class for Truffle strings.
acceptExecute(int, Class)method in SpecializationStatistics.NodeStatistics Called when a node specialization was executed.
acceptExecute(int, Class, Class)method in SpecializationStatistics.NodeStatistics Called when a node specialization was executed.
acceptExecute(int, Class...)method in SpecializationStatistics.NodeStatistics Called when a node specialization was executed.
accepts(DynamicObject)method in PropertyGetter Returns true if this PropertyGetter can be used with the given receiver object to get the property's value.
accepts(Object)method in Library Returns true if this library instance supports sending messages with the given receiver.
accepts(Object)method in TagTreeNodeGen.DynamicDispatchLibraryExports.Cached Returns true if this library instance supports sending messages with the given receiver.
accepts(Object)method in TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached Returns true if this library instance supports sending messages with the given receiver.
addSlots(int)method in FrameDescriptor.Builder Adds the given number of consecutive indexed slots to the FrameDescriptor, and initializes them without a kind.
addSlots(int, FrameSlotKind)method in FrameDescriptor.Builder Adds the given number of consecutive indexed slots to the FrameDescriptor, and initializes them with the given kind.
addSource()method in BytecodeConfig.Builder Sets whether to materialize sources.
allocate(int)method in NativeAllocator Allocates a new native buffer of byteSize bytes.
CAllocationEventclass in com.oracle.truffle.api.instrumentation An event representing an allocation of a guest language value.
CAllocationEventFilterclass in com.oracle.truffle.api.instrumentation An instrumentation filter of allocations of guest language values.
IAllocationListenerinterface in com.oracle.truffle.api.instrumentation Listener to be notified about guest language value allocations.
CAllocationReporterclass in com.oracle.truffle.api.instrumentation Reporter of guest language value allocations.
allowCreateProcess(boolean)method in TruffleContext.Builder Allows or denies creating processes in this context.
allowCreateThread(boolean)method in TruffleContext.Builder Allows or denies creating threads for this context.
allowHostClassLoading(boolean)method in TruffleContext.Builder Allows or denies loading new host classes in this context.
allowHostClassLookup(boolean)method in TruffleContext.Builder Allows or denies loading new host classes in this context.
allowImplicitCastIntToDouble(boolean)method in Shape.Builder Allows values to be implicitly cast from int to double in this shape and any derived shapes.
allowImplicitCastIntToLong(boolean)method in Shape.Builder Allows values to be implicitly cast from int to long in this shape and any derived shapes.
CArgumentabstract class in com.oracle.truffle.api.bytecode Represents metadata for an argument of an instruction in a bytecode node.
@Argumentannotation interface in com.oracle.truffle.api Configuration for a bytecode interpreter handler argument.
Argument(Object)constructor in Instruction.Argument Internal constructor for generated code.
CArgumentDescriptorabstract class in com.oracle.truffle.api.bytecode Descriptor for a single immediate argument of an instruction.
ArgumentDescriptor(Object)constructor in InstructionDescriptor.ArgumentDescriptor Internal constructor for generated code.
arguments()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig Configuration for each method argument.
arguments(String, String[])method in TruffleContext.Builder Sets the guest language application arguments for a language context.
⚡︎ArityExceptionexception in com.oracle.truffle.api.interop An exception thrown if a executable or instantiable object was provided with the wrong number of arguments.
arraycopy(int[], int, …)method in ArrayUtils Copies length elements from source, starting at sourceIndex, to destination, starting at destinationIndex.
CArrayUtilsclass in com.oracle.truffle.api This class provides additional operations for String as well as character and byte arrays, which may be intrinsified by a compiler.
asBigInteger()method in DebugValue Returns a BigInteger representation of this value if it is number and the value fits.
asBigInteger(Object)method in InteropLibrary Returns the receiver value as Java BigInteger if the number fits without loss of precision.
asBoolean()method in DebugValue Returns a boolean representation of this value if it is boolean.
asBoolean(Object)method in InteropLibrary Returns the Java boolean value if the receiver represents a boolean like value.
asBoxedGuestValue(Object)method in TruffleLanguage.Env Wraps primitive interop values in a TruffleObject exposing their methods as members.
ASCIIenum constant in TruffleString.CodeRange All codepoints in this string are part of the Basic Latin Unicode block, also known as ASCII (0x00 - 0x7f).
asConstant()method in Instruction.Argument Converts this argument to a object constant.
asDate()method in DebugValue Returns this value as date if it is a date.
asDate(Object)method in InteropLibrary Returns the receiver as date if this object represents a date.
asDouble()method in DebugValue Returns a double representation of this value if it is number and the value fits.
asDouble(Object)method in InteropLibrary Returns the receiver value as Java double primitive if the number fits without loss of precision.
asDuration()method in DebugValue Returns this value as duration if this object represents a duration.
asDuration(Object)method in InteropLibrary Returns the receiver as duration if this object represents a duration.
asFloat()method in DebugValue Returns a float representation of this value if it is number and the value fits.
asFloat(Object)method in InteropLibrary Returns the receiver value as Java float primitive if the number fits without loss of precision.
asGuestValue(Object)method in TruffleLanguage.Env Converts an existing Java host object to a guest language value.
asHostException(Throwable)method in TruffleLanguage.Envdeprecated Unwraps a host exception thrown by a Java method invocation.
asHostObject(Object)method in InteropLibrary Returns the Java host object representation of the given Truffle guest object.
asHostObject(Object)method in TruffleLanguage.Envdeprecated Returns the java host representation of a Truffle guest object if it represents a Java host language object.
asHostSymbol(Class)method in TruffleLanguage.Env Converts a Java class to a host symbol as if by lookupHostSymbol(symbolClass.getName()) but without an actual lookup.
asinh(double)method in MathUtils Computes the inverse (area) hyperbolic sine (asinh) of a double value.
asInLanguage(LanguageInfo)method in DebugValue Returns a debug value that presents itself as seen by the provided language.
asInstant()method in DebugValue Returns this value as instant if it is an instant.
asInstant(Object)method in InteropLibrary Returns the receiver as instant if this object represents an instant.
asInt()method in DebugValue Returns an int representation of this value if it is number and the value fits.
asInt(Object)method in InteropLibrary Returns the receiver value as Java int primitive if the number fits without loss of precision.
asInteger()method in Instruction.Argument Converts this argument to an int value.
asLocalIndex()method in Instruction.Argument Converts this argument to a local index.
asLocalOffset()method in Instruction.Argument Converts this argument to a local offset.
asLong()method in DebugValue Returns a long representation of this value if it is number and the value fits.
asLong(Object)method in InteropLibrary Returns the receiver value as Java long primitive if the number fits without loss of precision.
CAsManagedNodeabstract class in com.oracle.truffle.api.strings Node to get the given AbstractTruffleString as a managed TruffleString, meaning that the resulting string's backing memory is not a native pointer.
asPointer(Object)method in InteropLibrary Returns the pointer value as long value if the receiver represents a pointer like value.
assertAdopted()method in InteropLibrary Utility for libraries to require adoption before cached versions of nodes can be executed.
assertAdopted(Node)method in LibraryExport Internal method for generated code only.
assertAdopted(Node)method in LibraryFactory Internal method for generated code only.
assertAdopted(Node)method in NodeUtil Asserts that a node is adopted by a RootNode and prints a formatted error message with the error path if it is not adopted.
assertIdempotence(boolean)method in DSLSupport Helper method for DSL generated code to assert idempotence.
assertions()element in GenerateLibrary Specifies an assertion wrapper class that can be used to verify pre and post conditions of a library.
IAssumptioninterface in com.oracle.truffle.api An assumption is a global boolean flag that starts with the value true (i.e., the assumption is valid) and can subsequently be invalidated (using Assumption.invalidate()).
assumptions()element in Specialization Declares assumption guards that optimistically assume that the state of an Assumption remains valid.
BEST_EFFORTenum constant in TruffleString.ErrorHandling This mode generally means that the operation will try to determine the "most reasonable" or "most useful" return value in respect to the expected encoding and the error that occurred.
between(int, int)method in SourceSectionFilter.IndexRange Constructs a new index range between one a first index inclusive and a second index exclusive.
Big5_HKSCSenum constant in TruffleString.Encoding Big5-HKSCS.
Big5_UAOenum constant in TruffleString.Encoding Big5-UAO.
bigEndian()method in ByteArraySupport Enables accessing multibyte Java primitives from byte arrays in big-endian order.
@Bindannotation interface in com.oracle.truffle.api.dsl Binds and executes an expression at most once for every execution of the node.
bindBytecodeIndex()element in OperationProxy.Proxyable Whether each execute method supplies an int metadata parameter for @Bind("$bytecodeIndex").
bindBytecodeNode()element in OperationProxy.Proxyable Whether each execute method supplies a BytecodeNode metadata parameter for @Bind("$bytecodeNode").
bindFrame()element in OperationProxy.Proxyable Whether to recognize an optional leading frame as execution metadata, accessible through @Bind("$frame") or a leading specialization parameter.
bits()element in InlineSupport.RequiredField Specifies the number of bits needed for state fields.
blackhole(boolean)method in CompilerDirectives Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
blackhole(byte)method in CompilerDirectives Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
blackhole(char)method in CompilerDirectives Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
blackhole(double)method in CompilerDirectives Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
blackhole(float)method in CompilerDirectives Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
blackhole(int)method in CompilerDirectives Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
blackhole(long)method in CompilerDirectives Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
blackhole(Object)method in CompilerDirectives Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
blackhole(short)method in CompilerDirectives Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
CBlockNodeabstract class in com.oracle.truffle.api.nodes Represents a standard node for guest language blocks.
BlockNode(T[])constructor in BlockNode Internal constructor for implementations.
BMPenum constant in TruffleString.CodeRange All codepoints in this string are part of the Unicode Basic Multilingual Plane (BMP) ( 0x0000 - 0xffff).
booleanConverter()element in ShortCircuitOperation A node or operation class.
CBooleanFieldclass in com.oracle.truffle.api.dsl Represents a field for boolean primitives in inlined nodes.
boxingEliminationTypes()element in GenerateBytecode Primitive types the interpreter should attempt to avoid boxing up.
BRANCH_PROFILEenum constant in Instruction.Argument.Kind A branch profile.
CBranchProfileclass in com.oracle.truffle.api.profiles BranchProfiles are profiles to speculate on branches that are unlikely to be visited.
RBranchProfilerecord in com.oracle.truffle.api.bytecode Represents a branch profile.
BranchProfile(int, int, int)constructor in Instruction.Argument.BranchProfile Creates a new BranchProfile instance.
BREAK_LOOP_STATUSfield in RepeatingNode A value indicating that the loop should not be repeated.
CBreakpointclass in com.oracle.truffle.api.debug A request that guest language program execution be suspended at specified locations on behalf of a debugging client session.
BROKENenum constant in TruffleString.CodeRange If this code range is precise, the string is not encoded correctly (IsValidNode returns false), and contains at least one invalid codepoint.
build()method in AllocationEventFilter.Builder Create an instance of AllocationEventFilter based on the current setup of this builder.
IBytecodeDebugListenerinterface in com.oracle.truffle.api.bytecode.debug Base interface for a bytecode root node to get additional debug event that are normally not available.
IBytecodeDebugTraceListenerinterface in com.oracle.truffle.api.bytecode.debug Implement this class to quickly get some debug output for events in the bytecode node.
CBytecodeDescriptorabstract class in com.oracle.truffle.api.bytecode Describes the bytecode interpreter generated for a specific BytecodeRootNode class and provides the management API for that interpreter.
IBytecodeDeserializerinterface in com.oracle.truffle.api.bytecode.serialization Represents a class that can deserialize constants from a byte stream.
CBytecodeDSLAccesssealed abstract class in com.oracle.truffle.api.bytecode Accessor class used by generated code for low-level access to frames, bytecode arrays, and other bytecode classes.
⚡︎BytecodeEncodingExceptionexception in com.oracle.truffle.api.bytecode Class representing an exception thrown by a BytecodeBuilder when the program cannot be encoded, for example, when the bytecode exceeds the maximum addressable bytecode size.
CBytecodeFrameclass in com.oracle.truffle.api.bytecode Represents a captured Bytecode DSL frame, including the location metadata needed to access the data in the frame.
EBytecodeIndexModeenum class in com.oracle.truffle.api.bytecode Configures how a generated bytecode interpreter makes its current bytecode index available for stack walking and frame introspection.
bytecodeIndexMode()element in GenerateBytecode Configures how the generated interpreter makes its current bytecode index available for stack walking and frame introspection.
@BytecodeInterpreterFetchOpcodeannotation interface in com.oracle.truffle.api Annotates a method that fetches the next opcode.
@BytecodeInterpreterHandlerannotation interface in com.oracle.truffle.api Annotates a method that serves as a Truffle interpreter bytecode handler, that is, a method implements the complete semantics of a single bytecode instruction.
@BytecodeInterpreterHandlerConfigannotation interface in com.oracle.truffle.api Configuration for all bytecode interpreter handler arguments, including the receiver.
@BytecodeInterpreterSwitchannotation interface in com.oracle.truffle.api Marks a method that is an implementation of a Truffle interpreter, and which should receive additional optimization budget.
CBytecodeLabelabstract class in com.oracle.truffle.api.bytecode Abstract definition of a label.
BytecodeLabel(Object)constructor in BytecodeLabel Internal constructor for generated code.
CBytecodeLocalabstract class in com.oracle.truffle.api.bytecode Abstract definition of a local variable in the interpreter.
BytecodeLocal(Object)constructor in BytecodeLocal Internal constructor for generated code.
CBytecodeLocationclass in com.oracle.truffle.api.bytecode A materialized bytecode location.
CBytecodeNodeabstract class in com.oracle.truffle.api.bytecode Represents the current bytecode for a Bytecode DSL root node.
BytecodeNode(Object)constructor in BytecodeNode Internal constructor for generated code.
IBytecodeOSRNodeinterface in com.oracle.truffle.api.nodes Interface for Truffle bytecode nodes which can be on-stack replaced (OSR).
IBytecodeParserinterface in com.oracle.truffle.api.bytecode Functional interface containing a method to parse one or more nodes using a BytecodeBuilder.
IBytecodeRootNodeinterface in com.oracle.truffle.api.bytecode Base interface to be implemented by the bytecode root node of a Bytecode DSL interpreter.
CBytecodeRootNodesabstract class in com.oracle.truffle.api.bytecode A BytecodeRootNodes instance encapsulates one or more bytecode root nodes produced from a single parse.
IBytecodeSerializerinterface in com.oracle.truffle.api.bytecode.serialization Represents a class that can serialize constants in a bytecode interpreter.
CBytecodeSupportclass in com.oracle.truffle.api.bytecode Contains code to support Bytecode DSL interpreters.
EBytecodeTierenum class in com.oracle.truffle.api.bytecode Represents the tier of a given BytecodeNode.
CBytecodeTransitionabstract class in com.oracle.truffle.api.bytecode Encapsulates information about a transition of the bytecode interpreter from one bytecode node to another.
CByteIndexOfCodePointSetNodeabstract class in com.oracle.truffle.api.strings Node to find the byte index of the first occurrence of a codepoint present in a given codepoint set.
CByteIndexOfStringSetNodeabstract class in com.oracle.truffle.api.strings Node to find the byte index of the first occurrence of any string contained in a given string set.
byteLength()method in TranscodingErrorHandler.ReplacementString the byte length of the region to replace. If this value is negative, let the transcoder determine the region length instead.
byteLength()method in TruffleStringBuilder Returns this string builder's byte length.
CByteLengthOfCodePointNodeabstract class in com.oracle.truffle.api.strings Node to get the number of bytes occupied by the codepoint starting at a given byte index.
byteMimeTypes()element in TruffleLanguage.Registration List of MIME types supported by this language which sources should be interpreted as byte based sources.
BYTESenum constant in TruffleString.Encoding Special "encoding" BYTES: This encoding is identical to US-ASCII, but treats all values outside the us-ascii range as valid codepoints as well.
CByteValueProfileclass in com.oracle.truffle.api.profiles Specialized value profile to capture certain properties of byte runtime values.
C
CACHEDenum constant in BytecodeTier The cached bytecode tier does collect profiling feedback.
@Cachedannotation interface in com.oracle.truffle.api.dsl A parameter annotated with Cached in a Specialization refers to a cached value of a specialization instance.
cached(boolean)method in Source.LiteralBuilder Enables or disables code caching for this source.
cached(boolean)method in Source.SourceBuilder Enables or disables code caching for this source.
Cached(Object)constructor in TagTreeNodeGen.DynamicDispatchLibraryExports.Cached
CACHED_NODEenum constant in BytecodeIndexMode Derives the bytecode index from the current operation node in the cached interpreter and stores it automatically in the frame in the uncached interpreter.
call(CallTarget, int, Object[])method in IndirectCallNode Performs an indirect call to the given CallTarget target with an explicit bytecode index and the provided arguments.
call(RootNode, int, Object[])method in IndirectCallNode Calls the given root node with an explicit bytecode index and arguments.
CCallTagclass in com.oracle.truffle.api.instrumentation Marks program locations that represent a call to other guest language functions, methods or closures.
ICallTargetinterface in com.oracle.truffle.api Represents the target of a call.
cast(Object)method in DynamicDispatchLibrary Cast the object receiver type to the dispatched type.
cast(Object)method in TagTreeNodeGen.DynamicDispatchLibraryExports.Cached Cast the object receiver type to the dispatched type.
cast(Object)method in TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached Cast the object receiver type to the dispatched type.
cast(RootNode)method in BytecodeDescriptor Casts a RootNode to the specification root node type R.
castExact(Object, Class)method in CompilerDirectives Casts the given object to the exact class represented by clazz.
CATCHESfield in StandardTags.TryBlockTag Name of the catches function.
CCatchLocationclass in com.oracle.truffle.api.debug Represents an exception catch location.
category()element in Option Specifies the category of the option.
CESU_8enum constant in TruffleString.Encoding CESU-8.
characterMimeTypes()element in TruffleLanguage.Registration List of MIME types supported by this language which sources should be interpreted as character based sources.
CCharFieldclass in com.oracle.truffle.api.dsl Represents a field for char primitives in inlined nodes.
CCharIndexOfAnyCharUTF16Nodeabstract class in com.oracle.truffle.api.strings Node to find the index of the first occurrence of any char from a given array.
CCloneReferenceListclass in com.oracle.truffle.api.bytecode Special list to weakly keep track of clones.
CloneReferenceList()constructor in BytecodeSupport.CloneReferenceList Creates a new CloneReferenceList instance.
cloneUninitialized()method in RootNode Creates an uninitialized copy of an already initialized/executed root node if it is supported.
close()method in DebuggerSession Closes the current debugging session and disposes all installed breakpoints.
close()method in TruffleContext Closes this context and disposes its resources.
closeCancelled(Node, String)method in TruffleContext Force closes the context as cancelled and stops all the execution on all active threads using a special ThreadDeath cancel exception.
columnIn(int, int)method in SourceSectionFilter.Builder Add a filter for all source sections where the column is inside a startColumn (first index inclusive) plus a given length (last index exclusive).
columnIn(SourceSectionFilter.IndexRange...)method in SourceSectionFilter.Builder Add a filter for all source sections where the columns are contained in one of the given index ranges.
columnIs(int)method in Breakpoint.Builder Specifies the breakpoint's column number.
columnNotIn(SourceSectionFilter.IndexRange...)method in SourceSectionFilter.Builder Add a filter for all source sections where columns are not contained in one of the given index ranges.
command(List)method in TruffleProcessBuilder Sets the executable and arguments.
command(String...)method in TruffleProcessBuilder Sets the executable and arguments.
ECompactionLevelenum class in com.oracle.truffle.api.strings Represents a string's compaction level, i.e.
compareAndExchangeBoolean(Object, boolean, boolean)method in StaticProperty Atomically sets the boolean value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.
compareAndExchangeByte(byte[], long, …)method in ByteArraySupport Atomically exchanges the given byte with the current byte at the given byte offset from the start of the buffer, if and only if the current byte equals the expected byte.
compareAndExchangeByte(Object, byte, byte)method in StaticProperty Atomically sets the byte value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.
compareAndExchangeChar(Object, char, char)method in StaticProperty Atomically sets the char value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.
compareAndExchangeDouble(Object, double, double)method in StaticProperty Atomically sets the double value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.
compareAndExchangeFloat(Object, float, float)method in StaticProperty Atomically sets the float value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.
compareAndExchangeInt(byte[], long, …)method in ByteArraySupport Atomically exchanges the given int with the current int at the given byte offset from the start of the buffer, if and only if the current int equals the expected int.
compareAndExchangeInt(Object, int, int)method in StaticProperty Atomically sets the int value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.
compareAndExchangeLong(byte[], long, …)method in ByteArraySupport Atomically exchanges the given long with the current long at the given byte offset from the start of the buffer, if and only if the current long equals the expected long.
compareAndExchangeLong(Object, long, long)method in StaticProperty Atomically sets the long value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.
compareAndExchangeObject(Object, Object, Object)method in StaticProperty Atomically sets the Object value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.
compareAndExchangeShort(byte[], long, …)method in ByteArraySupport Atomically exchanges the given short with the current short at the given byte offset from the start of the buffer, if and only if the current short equals the expected short.
compareAndExchangeShort(Object, short, short)method in StaticProperty Atomically sets the short value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.
compareAndSet(Node, T, T)method in InlineSupport.ReferenceField This method sets the value of the target field giving the a target node and expected value using compare and set semantics.
compareAndSwapBoolean(Object, boolean, boolean)method in StaticProperty Atomically sets the boolean value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.
compareAndSwapByte(Object, byte, byte)method in StaticProperty Atomically sets the byte value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.
compareAndSwapChar(Object, char, char)method in StaticProperty Atomically sets the char value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.
compareAndSwapDouble(Object, double, double)method in StaticProperty Atomically sets the double value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.
compareAndSwapFloat(Object, float, float)method in StaticProperty Atomically sets the float value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.
compareAndSwapInt(Object, int, int)method in StaticProperty Atomically sets the int value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.
compareAndSwapLong(Object, long, long)method in StaticProperty Atomically sets the long value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.
compareAndSwapObject(Object, Object, Object)method in StaticProperty Atomically sets the Object value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.
compareAndSwapShort(Object, short, short)method in StaticProperty Atomically sets the short value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.
CCompareBytesNodeabstract class in com.oracle.truffle.api.strings Node to compare two strings byte-by-byte.
compilationConstant(Object)method in CompilerAsserts Assertion that the corresponding value is reduced to a constant during compilation.
@CompilationFinalannotation interface in com.oracle.truffle.api Marks fields that should be considered final for a Truffle compilation although they are not final while executing in the interpreter.
config(String, Object)method in TruffleContext.Builder Sets a config parameter that the child context of this language can access using Env.getConfig().
configuration()element in GenerateBytecodeTestVariants.Variant The configuration for this variant.
CONSTANTenum constant in Instruction.Argument.Kind A constant value.
constant()element in Option Declares this option as immutable after polyglot runtime initialization, enabling constant propagation and dead-code elimination when read through ConstantOptionKey.getConstantValue().
CContextLocalabstract class in com.oracle.truffle.api A context local reference that refers to a value that is created for each polyglot context.
ContextLocal(Object)constructor in ContextLocal Custom subclasses of context local are not allowed.
IContextLocalFactoryinterface in com.oracle.truffle.api Context local factory for Truffle languages.
IContextLocalFactoryinterface in com.oracle.truffle.api.instrumentation Context local factory for Truffle instruments.
CContextLocalProviderclass in com.oracle.truffle.api Provider for creating context local and context thread local references.
CContextLocalProviderclass in com.oracle.truffle.api.instrumentation Provider for creating context local and context thread local references.
EContextPolicyenum class in com.oracle.truffle.api Defines the supported policy for reusing languages per context.
contextPolicy()element in TruffleLanguage.Registration Defines the supported policy for reusing languages per context.
CContextReferenceabstract class in com.oracle.truffle.api Represents a reference to the current context.
ContextReference()constructor in TruffleLanguage.ContextReference Constructors for subclasses.
IContextsListenerinterface in com.oracle.truffle.api.instrumentation Listener to be notified about changes of contexts in guest language application.
CContextThreadLocalabstract class in com.oracle.truffle.api A context thread local reference that refers to a value that is created for each polyglot context and thread.
ContextThreadLocal(Object)constructor in ContextThreadLocal Custom subclasses of context local are not allowed.
IContextThreadLocalFactoryinterface in com.oracle.truffle.api Context thread local factory for Truffle languages.
IContextThreadLocalFactoryinterface in com.oracle.truffle.api.instrumentation Context local factory for Truffle instruments.
CContinuationResultclass in com.oracle.truffle.api.bytecode Representation of a continuation closure, consisting of a resumable RootNode, the interpreter state, and a yielded result.
⚡︎ControlFlowExceptionexception in com.oracle.truffle.api.nodes An exception thrown to model control flow in a Truffle interpreter.
ControlFlowException()constructor in ControlFlowException Creates an exception thrown to model control flow.
convertRawValue(Class, Object)method in DebugScope Converts the value to a DebugValue, or returns null if the requesting language class does not match the root node guest language.
copy()method in BytecodeFrame Returns a copy of this frame.
copy()method in FrameDescriptor Deeper copy of the descriptor.
copy()method in Node Creates a shallow copy of this node.
copy()method in ProbeNode Creates a shallow copy of this node.
copy()method in RootNode Creates a shallow copy of this node.
copy(Frame, int, int)method in FrameExtensions Copies a value from one slot to another.
create()method in HeapIsolationException Creates a new HeapIsolationException indicating that a host object cannot be unboxed because it was allocated in a foreign heap.
create()method in IndirectCallNode Creates a cached indirect call node.
create()method in IntValueProfile Returns a value profile that profiles the exact value of an int.
create()method in LongValueProfile Returns a value profile that profiles the exact value of an long.
create()method in LoopConditionProfile Returns a LoopConditionProfile that speculates on loop conditions to be never true.
create(Throwable)method in HeapIsolationException Creates a new HeapIsolationException indicating that a host object cannot be unboxed because it was allocated in a foreign heap.
create(TruffleContext)method in TruffleInstrument.ContextLocalFactory Returns a new value for a context local of an instrument.
create(TruffleContext, Thread)method in TruffleInstrument.ContextThreadLocalFactory Returns a new value for a context thread local for a context and thread.
create(TruffleString.Encoding, int)method in TruffleStringBuilder Create a new string builder with the given encoding, and pre-allocate the given number of bytes.
createGuestStackTrace(Throwable)method in AbstractTruffleException Creates an interop representation of the stack trace for the given throwable.
createHostAdapter(Object[])method in TruffleLanguage.Env Creates a Java host adapter class that can be instantiated with a guest object (as the last argument) in order to create adapter instances of the provided host types, (non-final) methods of which delegate to the guest object's invocable members.
createSection(int)method in Source Creates a representation of a line of text in the source identified only by line number, from which the character information will be computed.
createSection(int, int)method in Source Creates a representation of a contiguous region of text in the source.
createSection(int, int, int)method in Source Creates a representation of a contiguous region of text in the source.
createSection(int, int, …)method in Source Create representation of a contiguous region in the source that does not have the character content available.
createTempFile(TruffleFile, String, …)method in TruffleLanguage.Env Creates a new empty file in the specified or default temporary directory, using the given prefix and suffix to generate its name.
createThread(Runnable)method in TruffleLanguage.Envdeprecated Creates a new thread that has access to the current language context.
createUncachedDispatch()method in LibraryFactory Creates a uncached automatically dispatched version of this library.
createUnwind(Object)method in EventContext Create an unwind throwable, that when thrown, abruptly breaks execution of a node and unwinds it off the execution stack.
createUnwind(Object, EventBinding)method in EventContext Create an unwind throwable, that when thrown, abruptly breaks execution of a node and unwinds it off the execution stack.
createUTF16()method in TruffleStringBuilder Create a new UTF-16 string builder.
createUTF16(int)method in TruffleStringBuilder Create a new UTF-16 string builder and pre-allocate the given number of chars.
CCreateUTF16Nodeabstract class in com.oracle.truffle.api.strings Node to create a new WithMask from a UTF-16 string and a char array.
createUTF8()method in TruffleStringBuilder Create a new UTF-8 string builder.
createUTF8(int)method in TruffleStringBuilder Create a new UTF-8 string builder and pre-allocate the given number of bytes.
createVirtualFrame(Object[], FrameDescriptor)method in TruffleRuntime Creates a new virtual frame object that can be used to store values and is potentially optimizable by the runtime.
@DefaultExportannotation interface in com.oracle.truffle.api.library Specifies library implementations provided by default as a fallback.
defaultExportLookupEnabled()element in GenerateLibrary Allows the library to lookup additional default exports using a service provider interface.
IDefaultExportProviderinterface in com.oracle.truffle.api.library.provider Service provider interface implemented by external default exports of a library.
@DefaultExpressionannotation interface in com.oracle.truffle.api.dsl Defines a default bind expression for a given type.
defaultLocalValue()element in GenerateBytecode Specifies the default value produced when attempting to load a cleared local (i.e., a local that has not been written to).
defaultMimeType()element in TruffleLanguage.Registration Returns the default MIME type of this language.
IDefaultStaticObjectFactoryinterface in com.oracle.truffle.api.staticobject A trivial static object factory that allocates static objects of type Object.
defaultUncachedThreshold()element in GenerateBytecode Sets the default number of invocations/resumptions or backward branches for which the interpreter executes uncached before transitioning to cached on the next such event.
defaultValue(Object)method in FrameDescriptor.Builder Sets the default value for the frame slots in this frame descriptor.
defaultValueIllegal()method in FrameDescriptor.Builder Sets the default value to illegal, this means that an FrameSlotTypeException is thrown if a slot is read before it is written.
IDeserializerContextinterface in com.oracle.truffle.api.bytecode.serialization Interface for a generated class that can deserialize a BytecodeRootNode from a byte input.
DetailedAssertionsfield in TruffleOptions Enables expensive assertions in Truffle and guest language implementations.
DetailedRewriteReasonsfield in TruffleOptions Enables the generation of detailed rewrite reasons.
directory(TruffleFile)method in TruffleProcessBuilder Sets this process current working directory.
disable()method in BranchProfile Disables this profile by setting it to its generic state.
disable()method in ByteValueProfile Disables this profile by setting it to its generic state.
disable()method in ConditionProfile Disables this profile by setting it to its generic state.
disable()method in CountingConditionProfile Disables this profile by setting it to its generic state.
disable()method in DoubleValueProfile Disables this profile by setting it to its generic state.
disable()method in FloatValueProfile Disables this profile by setting it to its generic state.
disable()method in IntValueProfile Disables this profile by setting it to its generic state.
disable()method in LongValueProfile Disables this profile by setting it to its generic state.
disable()method in LoopConditionProfile Disables this profile by setting it to its generic state.
disable()method in PrimitiveValueProfile Disables this profile by setting it to its generic state.
disable()method in Profile Disables this profile by setting it to its generic state.
disable(Node)method in InlinedBranchProfile Disables this profile by setting it to its generic state.
disable(Node)method in InlinedConditionProfile Disables this profile by setting it to its generic state.
disable(Node)method in InlinedCountingConditionProfile Disables this profile by setting it to its generic state.
disable(Node)method in InlinedLoopConditionProfile Disables this profile by setting it to its generic state.
disable(Node)method in InlinedProfile Disables this profile by setting it to its generic state.
disableAuxiliarySlot(Object)method in FrameDescriptor Disables the auxiliary slot with the given key, so that subsequently created Frame instances may avoid allocating storage for it.
disableStepping()method in Debugger Disable stepping on the current thread.
dispatch()method in TagTreeNode Returns the currently used NodeLibrary exports for this tag library.
dispatch(Object)method in DynamicDispatchLibrary Returns a class that exports at least one library with an explicit receiver.
dispatch(Object)method in TagTreeNodeGen.DynamicDispatchLibraryExports.Cached Returns a class that exports at least one library with an explicit receiver.
dispatch(Object)method in TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached Returns a class that exports at least one library with an explicit receiver.
dispose()method in Breakpoint Permanently prevents this breakpoint from affecting execution.
dispose()method in EventBinding Cancels the subscription permanently.
@DynamicFieldannotation interface in com.oracle.truffle.api.object Using this annotation, subclasses can define additional dynamic fields to be used by the object layout.
CDynamicObjectabstract class in com.oracle.truffle.api.object Represents a dynamic object, members of which can be dynamically added and removed at run time.
dynamicType(Object)method in Shape.Builder Sets initial dynamic object type identifier.
dynamicType(Object)method in Shape.DerivedBuilder Sets initial dynamic object type identifier.
E
IEagerExportProviderinterface in com.oracle.truffle.api.library.provider Service provider interface implemented by library exports if they needed to be loaded eagerly with a library.
@EarlyEscapeAnalysisannotation interface in com.oracle.truffle.api Requests the Truffle compiler to run escape analysis on this method before partial evaluation.
@EarlyInlineannotation interface in com.oracle.truffle.api Marks a method or constructor as a candidate for early inlining during Truffle compilation.
IElementExecutorinterface in com.oracle.truffle.api.nodes Represents a contract how block element nodes can be executed.
Emacs_Muleenum constant in TruffleString.Encoding Emacs-Mule.
EMPTYfield in FinalBitSet An empty bit set of size 0.
enableBlockScoping()element in GenerateBytecode Enables block scoping, which limits a local's lifetime to the lifetime of the enclosing Block/Root operation.
enableTagInstrumentation()element in GenerateBytecode Whether the generated interpreter should support Truffle tag instrumentation.
enableTailCallHandlers()element in GenerateBytecode Enables tail call handlers for the generated bytecode interpreter.
enableTailDuplication()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig Enables tail duplication for this interpreter's threaded bytecode handler stubs.
enableYield()element in GenerateBytecode Whether the generated interpreter should support coroutines via a built-in yield operation.
CEncapsulatingNodeReferenceclass in com.oracle.truffle.api.nodes Thread local reference class to remember the current encapsulating node of an interpreter on the stack.
ensureAllocatedHere(T)method in CompilerDirectives Prevents the compiler from moving an allocation, enabling precise OutOfMemoryError exception locations.
ensureComplete()method in BytecodeRootNodes Ensures that all sources and instrumentation metadata is available, reparsing if necessary.
ensureRegistered()method in EagerExportProvider Ensures that the export is registered and usable.
ensureSourceInformation()method in BytecodeNode Ensures that sources are materialized for this node and returns an updated bytecode node if it changed during materialization.
ensureSourceInformation()method in BytecodeRootNodes Ensures that sources are available, reparsing if necessary.
ensureSourceSection()method in BytecodeRootNode Returns the source section for this root node and materializes source information if it was not yet materialized.
ensureSourceSectionWithContent()method in BytecodeRootNode Returns the source section for this root node and materializes source information with content if it was not yet materialized.
ensureVirtualized(Object)method in CompilerDirectives Ensures that the given object will be virtual (escape analyzed) at all points that are dominated by the current position.
ensureVirtualizedHere(Object)method in CompilerDirectives Ensures that the given object will be virtual at the current position.
enter()method in BranchProfile Call when an unlikely branch is entered.
enter()method in SpecializationStatistics Enters this specialization instance object on the current thread.
equals(Object)method in TranscodingErrorHandler.ReplacementString Returns whether the other object is a record of the same class with equal components.
err(OutputStream)method in TruffleContext.Builder Sets the error output stream to be used for the context.
EErrorHandlingenum class in com.oracle.truffle.api.strings Error handling instructions for operations that return integer values, such as indices or code points.
EUC_JIS_2004enum constant in TruffleString.Encoding EUC-JIS-2004.
EUC_JPenum constant in TruffleString.Encoding EUC-JP.
EUC_KRenum constant in TruffleString.Encoding EUC-KR.
EUC_TWenum constant in TruffleString.Encoding EUC-TW.
EucJP_msenum constant in TruffleString.Encoding EucJP-ms.
eval(String)method in DebugStackFrame Evaluates the given code in the state of the current execution and in the same guest language as the current language is defined in.
evalInternal(Node, Source)method in TruffleContext Evaluates a source in an inner context and returns the result.
CEventBindingclass in com.oracle.truffle.api.instrumentation An instrumentation handle for a subscription to a filtered stream of execution event notifications.
CEventContextclass in com.oracle.truffle.api.instrumentation Represents the context of an execution event.
CExactMathclass in com.oracle.truffle.api This class contains exact math related methods that are generally useful for dynamic language implementations.
EXCEPTIONenum constant in Breakpoint.Kind Represents exception breakpoints that are hit when an exception is thrown from a guest language program.
CExceptionHandlerabstract class in com.oracle.truffle.api.bytecode Introspection class modeling the meta-information of an exception handler in a bytecode interpreter.
ExceptionHandler(Object)constructor in ExceptionHandler Internal constructor for generated code.
EExceptionTypeenum class in com.oracle.truffle.api.interop Represents a type of a Truffle exception.
@Excludeannotation interface in com.oracle.truffle.api.dsl Excludes the annotated Specialization from AOT preparation.
@Excludeannotation interface in com.oracle.truffle.api.dsl Nodes (and their subclasses) or specializations annotated with this annotation will be excluded from consideration when reporting polymorphic specializations.
execute(AbstractTruffleString, AbstractTruffleString, …)method in TruffleString.IndexOfStringNode Return the codepoint index of the first occurrence of string, bounded by fromIndex (inclusive) and toIndex (exclusive), if no occurrence is found return a negative value.
execute(AbstractTruffleString, AbstractTruffleString, …)method in TruffleString.LastIndexOfStringNode Return the codepoint index of the last occurrence of string, bounded by fromIndex (exclusive upper limit) and toIndex (inclusive lower limit), if no occurrence is found return a negative value.
execute(AbstractTruffleString, int, …)method in MutableTruffleString.SubstringNode Create a new mutable substring of a, starting from fromIndex, with length length.
execute(AbstractTruffleString, int, …)method in TruffleString.ByteIndexOfAnyByteNode Return the byte index of the first occurrence of any byte contained in values, bounded by fromByteIndex (inclusive) and maxByteIndex (exclusive).
execute(AbstractTruffleString, int, …)method in TruffleString.ByteIndexOfCodePointSetNode Returns the byte index of the first codepoint present in the given CodePointSet, bounded by fromByteIndex (inclusive) and toByteIndex (exclusive).
execute(AbstractTruffleString, int, …)method in TruffleString.ByteIndexOfCodePointSetNode Returns the byte index of the first codepoint present in the given CodePointSet, bounded by fromByteIndex (inclusive) and toByteIndex (exclusive).
execute(AbstractTruffleString, int, …)method in TruffleString.ByteIndexOfStringSetNode Returns the byte index of the first occurrence of any string present in the given StringSet, bounded by fromByteIndex (inclusive) and toByteIndex (exclusive).
execute(AbstractTruffleString, int, …)method in TruffleString.ByteIndexToCodePointIndexNode Convert the given byte index to a codepoint index, relative to starting point byteOffset.
execute(AbstractTruffleString, int, …)method in TruffleString.ByteLengthOfCodePointNode Get the number of bytes occupied by the codepoint starting at byteIndex.
execute(AbstractTruffleString, int, …)method in TruffleString.CharIndexOfAnyCharUTF16Node Return the char index of the first occurrence of any char contained in values, bounded by fromCharIndex (inclusive) and maxCharIndex (exclusive).
execute(AbstractTruffleString, int, …)method in TruffleString.CodePointIndexToByteIndexNode Convert the given codepoint index to a byte index, relative to starting point byteOffset.
execute(AbstractTruffleString, int, …)method in TruffleString.CopyToByteArrayNode Copy a region of the given TruffleStringa, bounded by byteFromIndexA and byteLength into the given byte array, at starting at byteFromIndexDst.
execute(AbstractTruffleString, int, …)method in TruffleString.CopyToNativeMemoryNode Copy a region of the given TruffleStringa, bounded by byteFromIndexA and byteLength into the given interop object representing a native pointer (isPointer(pointerObject) must return true), starting at byteFromIndexDst.
execute(AbstractTruffleString, int, …)method in TruffleString.IndexOfCodePointNode Return the codepoint index of the first occurrence of codepoint, bounded by fromIndex (inclusive) and toIndex (exclusive), if no occurrence is found return a negative value.
execute(AbstractTruffleString, int, …)method in TruffleString.IntIndexOfAnyIntUTF32Node Return the int index of the first occurrence of any int contained in values, bounded by fromIntIndex (inclusive) and maxIntIndex (exclusive).
execute(AbstractTruffleString, int, …)method in TruffleString.LastIndexOfCodePointNode Return the codepoint index of the last occurrence of codepoint, bounded by fromIndex (exclusive upper limit) and toIndex (inclusive lower limit), if no occurrence is found return a negative value.
execute(AbstractTruffleString, int, …)method in TruffleString.RegionEqualNode Checks for codepoint equality in a region with the given codepoint index and codepoint length.
execute(AbstractTruffleString, int, …)method in TruffleString.SubstringNode Create a substring of a, starting from codepoint index fromIndex, with codepoint length length.
execute(AbstractTruffleString, TruffleString.Encoding)method in MutableTruffleString.SwitchEncodingNode Returns a version of string a that is encoded in the given encoding, which may be the string itself or a converted version.
execute(AbstractTruffleString, TruffleString.Encoding)method in TruffleString.SwitchEncodingNode Returns a version of string a that is encoded in the given encoding, which may be the string itself or a converted version.
execute(AbstractTruffleString, TruffleString.Encoding)method in TruffleString.ToValidStringNode Returns a version of string a that contains only valid codepoints, which may be the string itself or a converted version.
execute(byte[], int, …)method in TruffleString.FromByteArrayWithCompactionUTF32Node UTF-32-specific version of FromByteArrayNode that accepts compacted buffers.
execute(DynamicObject)method in DynamicObject.IsSharedNode Checks whether this object is marked as shared.
execute(DynamicObject)method in DynamicObject.MarkSharedNode Marks this object as shared.
execute(DynamicObject)method in DynamicObject.UpdateShapeNode Ensures the object's shape is up-to-date.
execute(DynamicObject, DynamicObject)method in DynamicObject.CopyPropertiesNode Copies all properties of a DynamicObject to another, preserving property flags.
execute(DynamicObject, int)method in DynamicObject.SetShapeFlagsNode Sets language-specific object shape flags, changing the object's shape if need be.
execute(DynamicObject, Object)method in DynamicObject.ContainsKeyNode Returns true if this object contains a property with the given key.
execute(DynamicObject, Object, int)method in DynamicObject.GetPropertyFlagsNode Gets the property flags associated with the requested property key.
execute(DynamicObject, Object, int)method in DynamicObject.SetPropertyFlagsNode Sets the property flags associated with the requested property.
execute(DynamicObject, Object, Object)method in DynamicObject.GetNode Gets the value of an existing property or returns the provided default value if no such property exists.
execute(DynamicObject, Object, Object)method in DynamicObject.PutNode Sets the value of an existing property or adds a new property if no such property exists.
execute(DynamicObject, Object[], int[])method in DynamicObject.SetAllPropertyFlagsNode Sets each supplied, existing key's flags to the corresponding array element.
execute(DynamicObject, Shape)method in DynamicObject.ResetShapeNode Empties and resets the object to the given root shape, which must not contain any instance properties (but may contain properties with a constant value).
execute(Object, int, …)method in MutableTruffleString.FromNativePointerNode Create a new MutableTruffleString from an interop object representing a native pointer (isPointer(pointerObject) must return true).
execute(Object, int, …)method in TruffleString.FromNativePointerNode Create a new TruffleString from an interop object representing a native pointer ( isPointer(pointerObject) must return true).
execute(Object, Object...)method in InteropLibrary Executes an executable value with the given arguments.
execute(String, int, …)method in TruffleString.FromJavaStringNode Creates a TruffleString from a given region in a Java string, re-using its internal byte array if possible and the region covers the entire string.
execute(TruffleStringBuilder, AbstractTruffleString, …)method in TruffleStringBuilder.AppendSubstringByteIndexNode Append a substring of a given TruffleString, starting at byte index fromByteIndex and ending at byte index fromByteIndex + byteLength, to the string builder.
execute(TruffleStringBuilder, int)method in TruffleStringBuilder.AppendIntNumberNode Append the base-10 string equivalent of a given integer to the string builder.
execute(TruffleStringBuilder, long)method in TruffleStringBuilder.AppendLongNumberNode Append the base-10 string equivalent of a given long value to the string builder.
execute(TruffleStringBuilderUTF16, String, …)method in TruffleStringBuilder.AppendJavaStringUTF16Node Append a substring of a given String, starting at char index fromIndex and ending at fromIndex + length, to the string builder.
execute(VirtualFrame)method in ExecutableNode Execute this fragment at the place where it was parsed.
execute(VirtualFrame)method in LoopNode Invokes one loop invocation by repeatedly calling execute) on the repeating node the loop was initialized with.
execute(VirtualFrame)method in RootNode Executes this function using the specified frame and returns the result value.
execute16Bit(Object, int, …)method in TruffleString.FromZeroTerminatedNativePointerNode Equivalent to FromNativePointerNode.execute with the only difference being that the native buffer's length is determined by the position of the first 16-bit zero value in the buffer.
execute32Bit(Object, int, …)method in TruffleString.FromZeroTerminatedNativePointerNode Equivalent to FromNativePointerNode.execute with the only difference being that the native buffer's length is determined by the position of the first 32-bit zero value in the buffer.
execute8Bit(Object, int, …)method in TruffleString.FromZeroTerminatedNativePointerNode Equivalent to FromNativePointerNode.execute with the only difference being that the native buffer's length is determined by the position of the first 8-bit zero value in the buffer.
executeAdd(DynamicObject, int)method in DynamicObject.SetShapeFlagsNode Adds language-specific object shape flags, changing the object's shape if need be.
executeChar(VirtualFrame, T, …)method in BlockNode.ElementExecutor Executes the block node element and expects a char value.
@Executedannotation interface in com.oracle.truffle.api.dsl This annotation declares a child field to be executed and used as dynamic input values for specializations.
executeDouble(DynamicObject, Object, Object)method in DynamicObject.GetNode Gets the value of an existing property or returns the provided default value if no such property exists.
executeInt(DynamicObject, Object, Object)method in DynamicObject.GetNode Gets the value of an existing property or returns the provided default value if no such property exists.
executeLong(DynamicObject, Object, Object)method in DynamicObject.GetNode Gets the value of an existing property or returns the provided default value if no such property exists.
executeRemove(DynamicObject, int)method in DynamicObject.SetShapeFlagsNode Removes language-specific object shape flags, changing the object's shape if need be.
executeRemoveAndAdd(DynamicObject, int, int)method in DynamicObject.SetShapeFlagsNode Removes, then adds language-specific object shape flags, changing the object's shape if need be.
executeRepeating(VirtualFrame)method in RepeatingNode Repeatedly invoked by a loop node implementation until the method returns false or throws an exception.
IExecuteSourceListenerinterface in com.oracle.truffle.api.instrumentation A listener attached by an Instrumenter to specific sources of a guest language program to listen to execute source events.
IExecuteTracingSupportinterface in com.oracle.truffle.api.dsl Allows tracing of calls to execute methods of a Node.
executeVoid(VirtualFrame, T, …)method in BlockNode.ElementExecutor Executes the block node element without expecting any return value.
executeWith()element in NodeChild The executeWith() property allows a node to pass the result of one child's executable as an input to another child's executable.
IExecutionEventListenerinterface in com.oracle.truffle.api.instrumentation A listener attached by an Instrumenter to specific locations of a guest language program to listen to execution events.
CExecutionEventNodeabstract class in com.oracle.truffle.api.instrumentation An event node created by an ExecutionEventNodeFactory for a specific locations of a guest language program to listen to instrumentation events.
EExitModeenum class in com.oracle.truffle.api Mode of exit operation.
expand()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument Indicates that this argument will be expanded in a Truffle interpreter bytecode handler stub if its expansion kind is not ExpansionKind.NONE.
expandedType()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument Exact concrete type reconstructed for a ExpansionKind.VIRTUAL argument.
expectObject(int)method in Frame Read and expects a value of type object for a given slot.
@ExplodeLoopannotation interface in com.oracle.truffle.api.nodes Specifies that loops originating from within this method should be fully unrolled.
@ExportLibraryannotation interface in com.oracle.truffle.api.library Allows to export messages of Truffle libraries.
@ExportMessageannotation interface in com.oracle.truffle.api.library Exports the annotated method or class as library message.
exportSymbol(String, Object)method in TruffleLanguage.Env Explicitly exports a symbol to the polyglot bindings object.
EXPRESSIONenum constant in SourceElement Denotes program locations that represent an expression of a guest language.
CExpressionTagclass in com.oracle.truffle.api.instrumentation Marks program locations as to be considered expressions of the languages.
F
@Fallbackannotation interface in com.oracle.truffle.api.dsl A method annotated with Fallback is treated as a Specialization that implicitly links all the guards of all other declared Specialization annotated methods of the operation in a negated form.
FALSEenum constant in TriState The state is false.
falseCount()method in Instruction.Argument.BranchProfile
@Fieldannotation interface in com.oracle.truffle.api Configuration for an expanded field.
fields()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument Indicates the fields to be expanded of this argument if its expansion kind is ExpansionKind.MATERIALIZED.
CFileStoreInfoclass in com.oracle.truffle.api Provides information about the file store.
IFileTypeDetectorinterface in com.oracle.truffle.api A detector for finding file's MIME type and encoding.
fillInStackTrace()method in ControlFlowException For performance reasons, this exception does not record any stack trace information.
fillInStackTrace()method in DebugException Unsupported, DebugException instances are not writable therefore filling the stack trace has no effect for them.
fillInStackTrace()method in InteropException No stack trace for interop exceptions.
fillInStackTrace()method in SlowPathExceptiondeprecated For performance reasons, this exception does not record any stack trace information.
⚡︎FinalLocationExceptionexception in com.oracle.truffle.api.objectdeprecated This exception is thrown on an attempt to assign a value to a final location.
find(Engine)method in Debugger Finds the debugger associated with a given an engine.
find(TruffleInstrument.Env)method in Debugger Finds the debugger associated with a given instrument environment.
find(TruffleLanguage.Env)method in Debugger Finds the debugger associated with a given language environment.
findAsynchronousFrames(Frame)method in RootNode Provide a list of stack frames that led to a schedule of asynchronous execution of this root node on the provided frame.
findMimeType(URL)method in Source Returns the probed MIME type for a given url, or null if no MIME type could be resolved.
findNearestNodeAt(int, int, Set)method in InstrumentableNode Find the nearest node to the given source line and column position, according to the guest language control flow, that is tagged with some of the given tags.
findNearestNodeAt(int, Set)method in InstrumentableNode Find the nearest node to the given source character index according to the guest language control flow, that is tagged with some of the given tags.
fitsInBigInteger()method in DebugValue Returns true if this value represents a number and the value fits in BigInteger, else false.
fitsInBigInteger(Object)method in InteropLibrary Returns true if the receiver represents a number and its value fits in a Java BigInteger without loss of precision, else false.
fitsInByte()method in DebugValue Returns true if this value represents a number and the value fits in byte, else false.
fitsInByte(Object)method in InteropLibrary Returns true if the receiver represents a number and its value fits in a Java byte primitive without loss of precision, else false.
fitsInDouble()method in DebugValue Returns true if this value represents a number and the value fits in double, else false.
fitsInDouble(Object)method in InteropLibrary Returns true if the receiver represents a number and its value fits in a Java double primitive without loss of precision, else false.
fitsInFloat()method in DebugValue Returns true if this value represents a number and the value fits in float, else false.
fitsInFloat(Object)method in InteropLibrary Returns true if the receiver represents a number and its value fits in a Java float primitive without loss of precision, else false.
fitsInInt()method in DebugValue Returns true if this value represents a number and the value fits in int, else false.
fitsInInt(Object)method in InteropLibrary Returns true if the receiver represents a number and its value fits in a Java int primitive without loss of precision, else false.
fitsInLong()method in DebugValue Returns true if this value represents a number and the value fits in long, else false.
fitsInLong(Object)method in InteropLibrary Returns true if the receiver represents a number and its value fits in a Java long primitive without loss of precision, else false.
fitsInShort()method in DebugValue Returns true if this value represents a number and the value fits in short, else false.
fitsInShort(Object)method in InteropLibrary Returns true if the receiver represents a number and its value fits in a Java short primitive without loss of precision, else false.
CFromNativePointerNodeabstract class in com.oracle.truffle.api.strings Node to create a new TruffleString from an interop object representing a native pointer.
FULL_UNROLLenum constant in ExplodeLoop.LoopExplosionKind Fully unroll all loops.
FULL_UNROLL_UNTIL_RETURNenum constant in ExplodeLoop.LoopExplosionKind Like FULL_UNROLL, but in addition loop unrolling duplicates loop exits in every iteration instead of merging them.
G
GB12345enum constant in TruffleString.Encoding GB12345.
GB18030enum constant in TruffleString.Encoding GB18030.
GB1988enum constant in TruffleString.Encoding GB1988.
GB2312enum constant in TruffleString.Encoding GB2312.
@GenerateAOTannotation interface in com.oracle.truffle.api.dsl Allows nodes with specializations to be prepared for AOT.
@GenerateBytecodeannotation interface in com.oracle.truffle.api.bytecode Generates a bytecode interpreter using the Bytecode DSL.
@GenerateBytecodeTestVariantsannotation interface in com.oracle.truffle.api.bytecode This annotation should only be used for testing to generate multiple variants of the interpreter with slightly different configurations.
@GenerateCachedannotation interface in com.oracle.truffle.api.dsl Allows to enable or disable the generation of the cached version of a Truffle DSL node.
@GeneratedByannotation interface in com.oracle.truffle.api.dsl Marks a type as being generated based on another class or method of a class.
@GenerateInlineannotation interface in com.oracle.truffle.api.dsl Generates code for a node that makes this node inlinable when used in cached parameters of specializations.
@GenerateLibraryannotation interface in com.oracle.truffle.api.library Libraries are specified with public and abstract Java classes that extend the Library class and are annotated by @GenerateLibrary.
@GenerateNodeFactoryannotation interface in com.oracle.truffle.api.dsl Annotate nodes or base classes of nodes to generate factory handlers implementing the NodeFactory interface.
@GeneratePackagePrivateannotation interface in com.oracle.truffle.api.dsl Make the code generated for an annotated node package-private.
@GenerateUncachedannotation interface in com.oracle.truffle.api.dsl Generates an uncached version of a node with specializations.
@GenerateWrapperannotation interface in com.oracle.truffle.api.instrumentation Generates a default wrapper subclass of an annotated InstrumentableNode subclass.
GENERICfield in ExecutionSignature Returns a generic return profile where return and argument types are unknown.
get(TruffleContext)method in ContextThreadLocal Returns the context thread local value for the given context and the current thread.his method is intended to be used on compiled code paths.
get(TruffleContext, Thread)method in ContextThreadLocal Returns the context thread local value for the given context and the given thread.
getActualArity()method in ArityException Returns the actual number of arguments provided by the foreign access.
getActualKind()method in FrameSlotTypeException Returns the actual frame slot kind when the exception occurred.
getAddedInstrumentations()method in BytecodeTransition Returns instrumentations that were newly added by this transition.
getAddedTags()method in BytecodeTransition Returns tags that were newly added by this transition.
getAndAddByte(byte[], long, byte)method in ByteArraySupport Atomically adds the given byte to the current byte at the given byte offset from the start of the buffer.
getAndAddInt(byte[], long, int)method in ByteArraySupport Atomically adds the given int to the current int at the given byte offset from the start of the buffer.
getAndAddInt(Object, int)method in StaticProperty Atomically adds the given value to the current int value represented by this StaticProperty and stored in the specified static object.
getAndAddLong(byte[], long, long)method in ByteArraySupport Atomically adds the given long to the current long at the given byte offset from the start of the buffer.
getAndAddLong(Object, long)method in StaticProperty Atomically adds the given value to the current long value represented by this StaticProperty and stored in the specified static object.
getAndAddShort(byte[], long, short)method in ByteArraySupport Atomically adds the given short to the current short at the given byte offset from the start of the buffer.
getAndBitwiseAndByte(byte[], long, byte)method in ByteArraySupport Atomically bitwise-ANDs the given byte to the current byte at the given byte offset from the start of the buffer.
getAndBitwiseAndInt(byte[], long, int)method in ByteArraySupport Atomically bitwise-ANDs the given int to the current int at the given byte offset from the start of the buffer.
getAndBitwiseAndLong(byte[], long, long)method in ByteArraySupport Atomically bitwise-ANDs the given long to the current long at the given byte offset from the start of the buffer.
getAndBitwiseAndShort(byte[], long, short)method in ByteArraySupport Atomically bitwise-ANDs the given short to the current short at the given byte offset from the start of the buffer.
getAndBitwiseOrByte(byte[], long, byte)method in ByteArraySupport Atomically bitwise-ORs the given byte to the current byte at the given byte offset from the start of the buffer.
getAndBitwiseOrInt(byte[], long, int)method in ByteArraySupport Atomically bitwise-ORs the given int to the current int at the given byte offset from the start of the buffer.
getAndBitwiseOrLong(byte[], long, long)method in ByteArraySupport Atomically bitwise-ORs the given long to the current long at the given byte offset from the start of the buffer.
getAndBitwiseOrShort(byte[], long, short)method in ByteArraySupport Atomically bitwise-ORs the given short to the current short at the given byte offset from the start of the buffer.
getAndBitwiseXorByte(byte[], long, byte)method in ByteArraySupport Atomically bitwise-XORs the given byte to the current byte at the given byte offset from the start of the buffer.
getAndBitwiseXorInt(byte[], long, int)method in ByteArraySupport Atomically bitwise-XORs the given int to the current int at the given byte offset from the start of the buffer.
getAndBitwiseXorLong(byte[], long, long)method in ByteArraySupport Atomically bitwise-XORs the given long to the current long at the given byte offset from the start of the buffer.
getAndBitwiseXorShort(byte[], long, short)method in ByteArraySupport Atomically bitwise-XORs the given short to the current short at the given byte offset from the start of the buffer.
getAndSetByte(byte[], long, byte)method in ByteArraySupport Atomically exchanges the given byte with the current byte at the given byte offset from the start of the buffer.
getAndSetInt(byte[], long, int)method in ByteArraySupport Atomically exchanges the given int with the current int at the given byte offset from the start of the buffer.
getAndSetInt(Object, int)method in StaticProperty Atomically sets the int value represented by this StaticProperty and stored in the specified static object to the given value and returns the old value.
getAndSetLong(byte[], long, long)method in ByteArraySupport Atomically exchanges the given long with the current long at the given byte offset from the start of the buffer.
getAndSetLong(Object, long)method in StaticProperty Atomically sets the long value represented by this StaticProperty and stored in the specified static object to the given value and returns the old value.
getAndSetObject(Object, Object)method in StaticProperty Atomically sets the Object value represented by this StaticProperty and stored in the specified static object to the given value and returns the old value.
getAndSetShort(byte[], long, short)method in ByteArraySupport Atomically exchanges the given short with the current short at the given byte offset from the start of the buffer.
getAOTExports()method in LibraryFactory Returns a list of ordered exports to be used for AOT preparation if supported.
getApplicationArguments()method in TruffleLanguage.Env Returns the application arguments that were provided for this context.
getArgument(int)method in BytecodeFrame Returns the value of the argument at the given index.
getArgumentCount()method in BytecodeFrame Returns the number of arguments in the captured frame.
getArgumentDescriptors()method in InstructionDescriptor Returns an immutable list describing the immediate arguments of this instruction.
getArgumentNames()method in TruffleLanguage.ParsingRequest Argument names.
getArguments()method in Frame Retrieves the arguments object from this frame.
getArguments()method in Instruction Returns an immutable list of immediate arguments for this instructions.
getArgumentTypes()method in ExecutionSignature Returns the argument types of the execution signature.
getArray()method in DebugValue Provides array elements when this value represents an array.
getArray()method in InternalByteArray Get the internal byte array.
getArraySize(Object)method in InteropLibrary Returns the array size of the receiver.
getBoolean(int)method in Frame Read access to a local variable of type boolean.
getBoolean(Object)method in StaticProperty Returns the boolean value represented by this StaticProperty and stored in the specified static object.
getBooleanStatic(int)method in Frame Static read access to a local variable of type boolean.
getBooleanVolatile(Object)method in StaticProperty Returns the boolean value represented by this StaticProperty and stored in the specified static object.
getByteIndex()method in TruffleStringIterator Returns the next codepoint's byte index, where "byte index" refers the codepoint's first byte in forward mode, while in backward mode it refers to the first byte after the codepoint.
getByteOffset()method in InvalidBufferOffsetException Returns the start byte offset of the invalid access from the start of the buffer.
getDebugAsynchronousStacks()method in DebugException Get a list of asynchronous stack traces that led to scheduling of the exception's execution.
getDebugger()method in DebuggerSession Returns the debugger instance that this session is associated with.
getDebugProperties()method in Node Returns properties of this node interesting for debugging and can be overwritten by subclasses to add their own custom properties.
getDebugStackTrace()method in DebugException Gets stack trace elements of guest languages.
getDeclaredValue(String)method in DebugScope Get a local variable declared in this scope by name.
getDeclaredValues()method in DebugScope Get local variables declared in this scope, valid at the current suspension point.
getDelegateLibrary(T, Object)method in LibraryFactory Returns the delegated library to use when messages are delegated.
getDelegateNode()method in InstrumentableNode.WrapperNode The instrumentable guest language node, adopted as a child, whose execution events the wrapper reports to the instrumentation framework.
getDescription()method in Node Returns a user-readable description of the purpose of the Node, or "" if no description is available.
getDescriptor()method in Instruction Returns the descriptor object for this instruction.
getDescriptor()method in Instruction.Argument Returns the descriptor object for this argument.
getDouble(byte[], int)method in ByteArraySupport Reads the double at the given byte offset from the start of the buffer.
getDouble(byte[], long)method in ByteArraySupport Reads the double at the given byte offset from the start of the buffer.
getDoubleStatic(int)method in Frame Static read access to a local variable of type double.
getDoubleVolatile(Object)method in StaticProperty Returns the double value represented by this StaticProperty and stored in the specified static object.
getDynamicType()method in Shape Get the shape's dynamic object type identifier.
getDynamicType(DynamicObject)method in DynamicObjectLibrary Gets the dynamic type identifier currently associated with this object.
CGetDynamicTypeNodeabstract class in com.oracle.truffle.api.object Gets the language-specific dynamic type identifier currently associated with this object.
getEncapsulatingSourceSection()method in Node Retrieves the segment of guest language source code that is represented by this Node, if present; otherwise retrieves the segment represented by the nearest AST ancestor that has this information.
getEnvironment()method in TruffleLanguage.Env Returns an unmodifiable map of the process environment.
getException()method in SuspendedEvent Returns the debugger representation of a guest language exception that caused this suspended event (via an exception breakpoint, for instance).
getExclusiveBytecodeDescriptor()method in InstructionTracer Returns the BytecodeDescriptor that this tracer is exclusive for, or null if this instruction tracer may be used with any bytecode descriptor.
getFactory()method in StaticShape Returns an instance of the default or the user-defined factory interface that must be used to allocate static objects with the current shape.
getGroups()method in HistogramInstructionTracer.Histogram Returns the subgroups of this histogram, keyed by the grouping values produced by the configured GroupClauses.
getGuestObject()method in TruffleStackTraceElement Returns an interop object representing this TruffleStackTraceElement supporting the hasExecutableName and potentially hasDeclaringMetaObject and hasSourceLocation messages.
getHashSize()method in DebugValue Returns the number of hash map entries.
getHashSize(Object)method in InteropLibrary Returns the number of receiver entries.
getHashValue(DebugValue)method in DebugValue Get value of a hash map for the specified key or null if the mapping for the specified key does not exist.
getHashValueOrDefault(DebugValue, DebugValue)method in DebugValue Get value of a hash map for the specified key or return the defaultValue when the mapping for the specified key does not exist or is not readable.
getHistogram()method in HistogramInstructionTracer Creates a hierarchical histogram snapshot of the recorded counters without resetting them.
getHistogramAndReset()method in HistogramInstructionTracer Creates a hierarchical histogram snapshot of the recorded counters and atomically resets the underlying counters to zero.
getInfo()method in LocalVariable Returns the info provided for the local, or null if no info was provided.
getInputContext(int)method in ExecutionEventNode Returns the event context of an input by index.
getInputCount()method in ExecutionEventNode Returns the total number of instrumented input nodes that may produce input events when executed.
getInputValues()method in SuspendedEvent Returns the input values of the current source element gathered from return values of it's executed children.
getInstances()method in Introspection.SpecializationInfo Returns the number of dynamic specialization instances that are active for this specialization.
getInstruction()method in BytecodeLocation Returns the bytecode instruction at this location, which provides additional debug information for debugging and tracing.
getInstruction(int)method in BytecodeNode Gets the instruction associated with the given bytecode index.
getInstructionsExecuted()method in HistogramInstructionTracer.Histogram Returns the total number of executed instructions represented by this histogram.
getInstrumentableCallNode()method in FrameInstance Returns an instrumentable call node from a frame instance.
getInstrumentableLocation()method in TruffleStackTraceElement Returns an instrumentable call node from a frame instance.
getInstruments()method in TruffleLanguage.Env Returns a map instrument-id to instrument instance of all instruments that are installed in the environment.
getInt(byte[], int)method in ByteArraySupport Reads the int at the given byte offset from the start of the buffer.
getInt(byte[], long)method in ByteArraySupport Reads the int at the given byte offset from the start of the buffer.
getLanguageView(C, Object)method in TruffleLanguage Wraps the value to provide language-specific information for primitive and foreign values.
getLanguageView(LanguageInfo, Object)method in TruffleInstrument.Env Wraps the provided value to provide language specific information for primitive and foreign values.
getLibraryName()method in Message Returns the name of the library of this message.
getLineCount()method in Source The number of text lines in the source, including empty lines; characters at the end of the source without a terminating newline count as a line.
getLineLength(int)method in Source The number of characters (not counting a possible terminating newline) in a (1-based) numbered line.
getLineNumber(int)method in Source Given a 0-based character offset, return the 1-based number of the line that includes the position.
getLineStartOffset(int)method in Source Given a 1-based line number, return the 0-based offset of the first character in the line.
getMethodName()method in Introspection.SpecializationInfo Returns the method name of the introspected specialization.
getMimeType()method in Source Returns the MIME type that is associated with this source.
getMimeTypes()method in LanguageInfo Returns the MIME types supported by this language.
getName()method in Assumption A name for the assumption that is used for debug output.
getName()method in DebugScope Get a human readable name of this scope.
getName()method in DebugStackFrame A description of the AST (expected to be a method or procedure name in most languages) that identifies the AST for the benefit of guest language programmers using tools; it might appear, for example in the context of a stack dump or trace and is not expected to be called often.
getName()method in DebugStackTraceElement A description of the trace element.
getName()method in DebugValue Returns the name of this value as it is referred to from its origin.
getName()method in Instruction Returns the name of this instruction.
getName()method in Instruction.Argument Returns a human readable name for this argument.
getName()method in InstructionDescriptor Returns a human readable instruction name.
getName()method in InstructionDescriptor.ArgumentDescriptor Returns a human readable name for this argument.
getName()method in InstrumentInfo Gets a human readable name of this instrument.
getName()method in LanguageInfo Returns the unique name of the language.
getName()method in LocalVariable Returns the name provided for the local, or null if no name was provided.
getName()method in RootNode Returns a simple name of the AST (expected to be a method or procedure name in most languages) that identifies the AST for the benefit of guest language programmers using tools; it might appear, for example in the context of a stack dump or trace and is not expected to be called often.
getName()method in Source Returns the name of this resource holding a guest language program.
getNodeObject()method in EventContext Returns a language provided object that represents the instrumented node properties.
getNodeObject()method in InstrumentableNode Returns an interop capable object that contains all keys and values of attributes associated with this node.
getNodes()method in BytecodeRootNodes Returns the list of bytecode root nodes.
getObjectVolatile(Object)method in StaticProperty Returns the Object value represented by this StaticProperty and stored in the specified static object.
getOffset()method in InternalByteArray Get the string region's starting index.
getOldLocation()method in BytecodeTransition Returns the bytecode location before the transition.
getOldSize()method in AllocationEvent Returns an old size of the value prior to the allocation, in bytes.
getOperationClass()method in InstructionDescriptor Returns the class defining the custom operation that produced this instruction.
getOperationCode()method in Instruction Returns the operation code of this instruction.
getOperationCode()method in InstructionDescriptor Returns the operation code for this instruction.
getOptionDescriptors()method in TruffleInstrument Returns a set of option descriptors that are supported by this instrument.
getOptionDescriptors()method in TruffleLanguage Returns a set of option descriptors that are supported by this language.
getOptions(TruffleLanguage)method in Source Returns the parsed option values of the given source for the given language.
getOptionValues()method in TruffleLanguage.InlineParsingRequest Returns the source option values associated with the parsing request's source and language.
getOptionValues()method in TruffleLanguage.ParsingRequest Returns the source option values associated with the parsing request's source and language.
getOrDefault(DynamicObject, Object, Object)method in DynamicObjectLibrary Gets the value of an existing property or returns the provided default value if no such property exists.
getOriginalLanguage()method in DebugValue Get the original language that created the value, if any.
getOS()method in InternalResource.Env Returns the current operating system.
getOSRMetadata()method in BytecodeOSRNode Gets the OSR metadata for this instance.
getPrimitive(int, Class)method in InlineSupport.InlineTarget Requests a primitive field for a given field index.
getPriority()method in DefaultExportProvider Returns the priority used when multiple default exports would be applicable.
getPriority()method in TruffleRuntimeAccess Allows disambiguation if more than one TruffleRuntime implementation is available.
getProbeNode()method in InstrumentableNode.WrapperNode A child of the wrapper, through which the wrapper reports execution events related to the guest language delegate node.
getProperties()method in DebugValue Provides properties representing an internal structure of this value.
CGetPropertyNodeabstract class in com.oracle.truffle.api.object Gets a property descriptor for the requested property key or null if no such property exists.
getPublicLanguages()method in TruffleLanguage.Env Returns all languages that are installed and publicly accessible in the environment.
getQualifiedName()method in Message Returns a qualified and unique name of this message.
getQualifiedName()method in RootNode Returns a qualified name of the AST that in the best case uniquely identifiers the method.
getRawException(Class)method in DebugException Returns the guest language representation of the exception, or null if the requesting language class does not match the root node language at the throw location.
getRawFrame(Class, FrameInstance.FrameAccess)method in DebugStackFrame Returns the underlying frame for this debug stack frame or null if the requesting language class does not match the root node guest language.
getRawNode(Class)method in DebugStackFrame Returns the current node for this stack frame, or null if the requesting language class does not match the root node guest language.
getSpecialization(Node, String)method in Introspection Returns introspection information for the first specialization that matches a given method name.
getSpecificationClass()method in BytecodeDescriptor Returns the specification class for this descriptor.
getStackFrames()method in SuspendedEvent Returns a list of guest language stack frame objects that indicate the current guest language location.
getStackTrace()method in DebugException Gets stack trace elements of guest languages.
getStackTrace(Throwable)method in TruffleStackTrace Returns the guest language frames that are stored in this throwable or null if no guest language frames can ever be stored in this throwable.
getStackTraceElementLimit()method in AbstractTruffleException Returns the number of guest language frames that should be collected for this exception.
getStartBytecodeIndex()method in ExceptionHandler Returns the start bytecode index guarded by this exception handler (inclusive).
getStartBytecodeIndex()method in SourceInformation Returns the start bytecode index for this source information object (inclusive).
getStartColumn()method in SourceSection Returns the 1-based column number of the first character in this section (inclusive).
getStartIndex()method in LocalVariable Returns the bytecode index at which this local starts being live.
getSuppliedValues()method in UnsupportedSpecializationException Returns the dynamic values that were supplied to the node.The array returned by getSuppliedNodes() has the same length as the array returned by getSuppliedValues().
getSuppliedValues()method in UnsupportedTypeException Returns the arguments of the foreign object access that were not supported by the TruffleObject.
getSuspendAnchor()method in Breakpoint Returns the suspended position within the guest language source location.
getValue(int)method in Frame Read access to a local variable of any type.
getVersion()method in InstrumentInfo Gets the version of this instrument.
getVersion()method in LanguageInfo Returns the version of the language.
getView(Object, Frame, Object)method in NodeLibrary Wraps the value to filter or add scoping specific information for values associated with the current language and location in the code.
getVolatile(Node)method in InlineSupport.ReferenceField This method returns the value of the target field given a target node using volatile semantics.
getYieldValue()method in GenerateWrapper.YieldException Get the value provided by the yield.
@Groupannotation interface in com.oracle.truffle.api Must be applied on classes containing option fields to specify a name prefix if the prefix cannot be inferred by language or instrument.
group(BytecodeNode, Thread, int)method in HistogramInstructionTracer.GroupClause Computes the grouping key for the given execution context.
IGroupClauseinterface in com.oracle.truffle.api.bytecode.debug A grouping function that maps a BytecodeNode, the current Thread, and the compilation tier to an arbitrary grouping key.
guards()element in Specialization Declares boolean expressions that define whether or not input values are applicable to this specialization instance.
H
HALT_INSTRUCTIONenum constant in Breakpoint.Kind Represents breakpoints submitted for a halt instruction in a guest language program.
EHandlerKindenum class in com.oracle.truffle.api.bytecode Represents the kind of the exception handler.
hasMembers(Object)method in InteropLibrary Returns true if the receiver may have members.
hasMemberWriteSideEffects(Object, String)method in InteropLibrary Returns true if writing a member may cause a side-effect, besides the write operation of the member.
hasMetaObject(Object)method in InteropLibrary Returns true if the receiver value has a metaobject associated.
hasNext()method in TruffleStringIterator Returns true if there are more codepoints remaining.
hasNextTier()method in CompilerDirectives Returns a boolean value indicating whether the method is executed in a compilation tier which can be replaced with a higher tier (e.g.
hasRootInstance(Object, Frame)method in NodeLibrary Returns true, if a current instance of the guest language representation of the root node (e.g.
hasScope(Object, Frame)method in NodeLibrary Returns true, if the node is in a scope containing local variables, else false.
hasScopeParent(Object)method in InteropLibrary Returns true if this scope has an enclosing parent scope, else false.
hasSourceElement(SourceElement)method in SuspendedEvent Returns true if the underlying guest language source location is denoted as the source element.
hasSourceInformation()method in BytecodeNode Returns true if source information was materialized for this bytecode node, otherwise false.
hasTag(Class)method in EventContext Returns true if the underlying instrumented AST is tagged with a particular tag.
hasTag(Class)method in InstrumentableNode Returns true if this node should be considered tagged by a given tag else false.
hasTag(Class)method in TagTree Returns whether the given tag is associated with this node.
hasWriteSideEffects()method in DebugValue Returns true if setting a new value can have side-effects, else false.
⚡︎HeapIsolationExceptionexception in com.oracle.truffle.api.interop Exception thrown when a TruffleObject cannot unbox a host object because the object resides in a foreign heap.
help()element in Option Returns a help message for the option.
CHiddenKeyclass in com.oracle.truffle.api.object A unique key to be used for private object fields; excluded from enumeration and compared by object identity.
CHistogramclass in com.oracle.truffle.api.bytecode.debug Represents a hierarchical histogram that can group instruction counts by arbitrary attributes.
CHistogramInstructionTracerclass in com.oracle.truffle.api.bytecode.debug Instruction tracer that records per-opcode execution counts and optionally aggregates them into hierarchical histograms by user defined group clauses.
CHostCompilerDirectivesclass in com.oracle.truffle.api Directives that influence the optimizations of the host compiler.
I
IBM037enum constant in TruffleString.Encoding IBM037.
IBM437enum constant in TruffleString.Encoding IBM437.
IBM720enum constant in TruffleString.Encoding IBM720.
IBM737enum constant in TruffleString.Encoding IBM737.
IBM775enum constant in TruffleString.Encoding IBM775.
IBM852enum constant in TruffleString.Encoding IBM852.
IBM855enum constant in TruffleString.Encoding IBM855.
IBM857enum constant in TruffleString.Encoding IBM857.
IBM860enum constant in TruffleString.Encoding IBM860.
IBM861enum constant in TruffleString.Encoding IBM861.
IBM862enum constant in TruffleString.Encoding IBM862.
IBM863enum constant in TruffleString.Encoding IBM863.
IBM864enum constant in TruffleString.Encoding IBM864.
IBM865enum constant in TruffleString.Encoding IBM865.
IBM866enum constant in TruffleString.Encoding IBM866.
IBM869enum constant in TruffleString.Encoding IBM869.
@Idannotation interface in com.oracle.truffle.api The annotation used to lookup InternalResource by an id.
id()element in TruffleInstrument.Registration A custom machine identifier for this instrument.
id()element in TruffleLanguage.Registration Unique id of your language.
@Idempotentannotation interface in com.oracle.truffle.api.dsl Methods annotated with Idempotent must be methods that may cause side effects but will always cause the same side effects for repeated invocations with the same parameters.
@Identifierannotation interface in com.oracle.truffle.api.instrumentation Annotation applied to Tag subclasses to specify the tag identifier.
ifExported()element in GenerateLibrary.Abstract Specifies a message to be abstract only if another message is implemented.
ifExportedAsWarning()element in GenerateLibrary.Abstract Specifies a message to be abstract only if another message is implemented.
@Ignoreannotation interface in com.oracle.truffle.api.instrumentation Annotates a method which should not be instrumented in the generated wrapper subclass.
@Ignoreannotation interface in com.oracle.truffle.api.library Explicitly ignores warning messages originating from the ExportLibrary annotation.
ignoreCount(int)method in Breakpoint.Builder Specifies the number of times a breakpoint is ignored until it hits (i.e.
⚡︎IllegalByteArrayLengthExceptionexception in com.oracle.truffle.api.strings This exception is thrown when any operation tries to create a UTF-16 or UTF-32 string with an invalid byte length (not a multiple of 2/4 bytes).
illegalLocalException()element in GenerateBytecode Specifies the exception to throw when attempting to load a cleared local (i.e., a local that has not been written to).
illegalLocalExceptionFactory()element in GenerateBytecode Specifies the name of the static factory method used to instantiate illegal local exceptions.
implementationName()element in TruffleLanguage.Registration Unique name of your language implementation.
implicit()element in NodeChild Allows implicit creation of this child node.
@ImplicitCastannotation interface in com.oracle.truffle.api.dsl Marks an implicit cast method.
implicitCreate()element in NodeChild Defines the initializer expression for implicit child node creation.
@ImportStaticannotation interface in com.oracle.truffle.api.dsl Imports all public and static methods and fields of the provided classes for the use in DSL expressions of the annotated class or its subclasses.
importSymbol(String)method in TruffleLanguage.Env Explicitly imports a symbol from the polyglot bindings.
in()method in TruffleInstrument.Env Input associated with Engine this instrument is being executed in.
@IncomingConverterannotation interface in com.oracle.truffle.api.instrumentation Annotates a method to be used as incoming value converter.
⚡︎IncompatibleLocationExceptionexception in com.oracle.truffle.api.objectdeprecated This exception is thrown on an attempt to assign an incompatible value to a location.
inCompilationRoot()method in CompilerDirectives Returns a boolean value indicating whether the method is executed in the root of a Truffle compilation.
inCompiledCode()method in CompilerDirectives Returns a boolean value indicating whether the method is executed in the compiled code.
inContextPreinitialization()method in InternalResource.Env Returns true if the engine causing the resource unpacking is being pre-initialized.
index()method in Instruction.Argument.BranchProfile
indexIn(int, int)method in SourceSectionFilter.Builder Add a filter for all source sections where the index is inside a startIndex (inclusive) plus a given length (exclusive).
indexIn(SourceSectionFilter.IndexRange...)method in SourceSectionFilter.Builder Add a filter for all source sections which indices are contained in one of the given index ranges.
indexNotIn(SourceSectionFilter.IndexRange...)method in SourceSectionFilter.Builder Add a filter for all source sections which indices are not contained in one of the given index ranges.
indexOf(byte[], int, …)method in ArrayUtils Returns the index of the first occurrence of any byte contained in values in array, bounded by fromIndex (inclusive) and maxIndex (exclusive).
indexOf(char[], int, …)method in ArrayUtils Returns the index of the first occurrence of any character contained in values in array, bounded by fromIndex (inclusive) and maxIndex (exclusive).
indexOf(String, int, …)method in ArrayUtils Returns the index of the first occurrence of any character contained in values in string, bounded by fromIndex (inclusive) and maxIndex (exclusive).
CIndexOfCodePointNodeabstract class in com.oracle.truffle.api.strings Node to find the index of the first occurrence of a given code point.
indexOfWithOrMask(byte[], int, …)method in ArrayUtils Returns the index of the first region of haystack that equals needle after being OR'ed with mask, bounded by fromIndex (inclusive) and length.
indexOfWithOrMask(char[], int, …)method in ArrayUtils Returns the index of the first region of haystack that equals needle after being OR'ed with mask, bounded by fromIndex (inclusive) and length.
indexOfWithOrMask(String, int, …)method in ArrayUtils Returns the index of the first region of haystack that equals needle after being OR'ed with mask, bounded by fromIndex (inclusive) and length.
CIndexRangeclass in com.oracle.truffle.api.instrumentation Represents a range between two indices within a source section filter.
CIndirectCallNodeabstract class in com.oracle.truffle.api.nodes Represents an indirect call to a CallTarget.
IndirectCallNode()constructor in IndirectCallNode Constructor for implementation subclasses.
info(Object)method in FrameDescriptor.Builder Adds a user-defined info object to the frame descriptor.
inherit()element in GenerateNodeFactory Inherits the semantics of the annotation to subclasses.
inherit()element in GenerateUncached Inherits the semantics of the annotation to subclasses.
inheritAllAccess(boolean)method in TruffleContext.Builder If set to true allows all access privileges that were also granted to the outer context.
inheritIO(boolean)method in TruffleProcessBuilder If true the subprocess standard input, output and error output are the same as those of the current Java process.
inInterpreter()method in CompilerDirectives Returns a boolean value indicating whether the method is executed in the interpreter.
inInterpreterFastPath()method in HostCompilerDirectives Indicates whether a branch is executed only in the interpreter.
initializeCallTarget()method in RootNode Initializes this root node's call target without executing the root node.
initializeContext(C)method in TruffleLanguage Perform any complex initialization.
initializeCreatorContext(boolean)method in TruffleContext.Builder Specifies whether the creating language context should be initialized in the new context.
initializeThread(C, Thread)method in TruffleLanguage Invoked before a context is accessed from a new thread.
initialLoopStatus()method in RepeatingNode Returns a placeholder loop status used internally before the first iteration.
inject(boolean)method in LoopConditionProfile Provides an alternative way to profile counted loops with less interpreter footprint.
inject(Node, boolean)method in InlinedLoopConditionProfile Provides an alternative way to profile counted loops with less interpreter footprint.
injectBranchProbability(double, boolean)method in CompilerDirectives Injects a probability for the given condition into the probability information of the immediately succeeding branch instruction for the condition.
CInlinableFieldabstract class in com.oracle.truffle.api.dsl Base class for inlined field references.
inline()element in Cached Enables inlining of the cached parameter if supported.
inlineByDefault()element in GenerateInline If true the inlined version is used by default when the node is used as a cached argument.
CInlinedBranchProfileclass in com.oracle.truffle.api.profiles BranchProfiles are profiles to speculate on branches that are unlikely to be visited.
CInlinedByteValueProfileclass in com.oracle.truffle.api.profiles Specialized value profile to capture certain properties of byte runtime values.
CInlinedConditionProfileclass in com.oracle.truffle.api.profiles ConditionProfiles are useful to profile the outcome of conditions.
CInlinedCountingConditionProfileclass in com.oracle.truffle.api.profiles CountingConditionProfiles are useful to profile the outcome of conditions.
CInlinedDoubleValueProfileclass in com.oracle.truffle.api.profiles Specialized value profile to capture certain properties of byte runtime values.
CInlinedExactClassProfileclass in com.oracle.truffle.api.profiles Specialized value profile to capture the exact class of reference runtime values.
CInlinedFloatValueProfileclass in com.oracle.truffle.api.profiles Specialized value profile to capture certain properties of float runtime values.
CInlinedIntValueProfileclass in com.oracle.truffle.api.profiles Specialized value profile to capture certain properties of int runtime values.
CInlinedLongValueProfileclass in com.oracle.truffle.api.profiles Specialized value profile to capture certain properties of long runtime values.
CInlinedLoopConditionProfileclass in com.oracle.truffle.api.profiles InlinedLoopConditionProfiles are designed to profile the outcome of loop conditions.
CInlinedProfileabstract class in com.oracle.truffle.api.profiles A profile is a Truffle utility class that uses the Truffle compiler directives to guard for and/or forward runtime information to the compiler.
inlineMethod()element in Cached Specifies an alternative method name for node object inlining.
inlinePrimitiveConstants()element in GenerateBytecode Whether constant operands of primitive type should be encoded directly in the bytecode.
CInlineSupportclass in com.oracle.truffle.api.dsl Contains classes to support node object inlining in Truffle.
CInlineTargetclass in com.oracle.truffle.api.dsl An inline targert for an inlinable node.
@InliningCutoffannotation interface in com.oracle.truffle.api Hints to Truffle host inlining that a particular method is partial evaluatable, but it would be a good place for a cutoff when performing host inlining.
@InliningRootannotation interface in com.oracle.truffle.api Marks a method as a candidate for Truffle host inlining.
inNativeImageBuild()method in InternalResource.Env Returns true if resource unpacking happens during the native image build.
insert(T)method in Node Inserts an new node into an AST that was already adopted by a parent.
insert(T[])method in Node Inserts new node children into an AST that was already adopted by a parent.
insertBefore()element in Specialization References a specialization of a super class by its method name where this specialization is inserted before.
install(Breakpoint)method in Debugger Adds a new breakpoint to this Debugger instance and makes it available in all its sessions.
install(Breakpoint)method in DebuggerSession Adds a new breakpoint to this session and makes it capable of suspending execution.
IInstructionTracerinterface in com.oracle.truffle.api.bytecode A low-overhead callback interface to observe instruction execution in Bytecode DSL interpreters.
IInstrumentableNodeinterface in com.oracle.truffle.api.instrumentation Interface implemented by AST nodes that may be instrumentable: an AST location where Truffle instruments are permitted to listen to before and after using execution event listeners.
@Instrumentationannotation interface in com.oracle.truffle.api.bytecode Instrumentations are operations that can be dynamically enabled at runtime.
CInstrumenterabstract class in com.oracle.truffle.api.instrumentation Provides capabilities to attach listeners for execution, load, output and allocation events.
CInstrumentInfoclass in com.oracle.truffle.api Represents public information about an instrument.
interceptIncomingValue(Object)method in BytecodeRootNode Optional hook invoked to convert a value received from tag instrumentation before it resumes guest-language execution.
interceptOutgoingValue(Object)method in BytecodeRootNode Optional hook invoked to convert every guest-language value before it is exposed to tag instrumentation.
internal()element in TruffleInstrument.Registration Specifies whether the instrument is accessible using the polyglot API.
internal()element in TruffleLanguage.Registration Returns true if this language is intended for internal use only.
internal(boolean)method in Source.LiteralBuilder Marks the source as internal.
internal(boolean)method in Source.SourceBuilder Marks the source as internal.
CInternalByteArrayclass in com.oracle.truffle.api.strings Wrapper object containing a TruffleString's internal byte array, along with a byte offset and length defining the region in use.
IInternalResourceinterface in com.oracle.truffle.api Represents an internal resource of a language that can be lazily unpacked to a cache user directory.
InternalResourceProvider()constructor in InternalResourceProvider Creates a new InternalResourceProvider instance.
internalResources()element in TruffleInstrument.Registration Declarative list of InternalResource classes that is associated with this instrument.
internalResources()element in TruffleLanguage.Registration Declarative list of InternalResource classes that is associated with this language.
⚡︎InteropExceptionabstract exception in com.oracle.truffle.api.interop Common super class for exceptions that can occur when sending interop messages.
CInteropLibraryabstract class in com.oracle.truffle.api.interop Represents the library that specifies the interoperability message protocol between Truffle languages, tools and embedders.
interpreterOnly(Callable)method in CompilerDirectives Directive for the compiler that the given callable should only be executed in the interpreter.
interpreterOnly(Runnable)method in CompilerDirectives Directive for the compiler that the given runnable should only be executed in the interpreter and ignored in the compiled code.
INTERRUPTenum constant in ExceptionType Indicates that the application thread was interrupted by an InterruptedException.
interrupt(Thread)method in TruffleSafepoint.Interrupter Sets the interrupted state on a foreign thread.
IInterrupterinterface in com.oracle.truffle.api An interrupter allows a foreign thread to interrupt the execution on a separate thread.
IInterruptibleinterface in com.oracle.truffle.api Function interface that represent interruptable Java methods.
IInterruptibleFunctioninterface in com.oracle.truffle.api Function interface that represent interruptable Java methods.
CIntFieldclass in com.oracle.truffle.api.dsl Represents a field for int primitives in inlined nodes.
CIntIndexOfAnyIntUTF32Nodeabstract class in com.oracle.truffle.api.strings Node to find the index of the first occurrence of any int from a given array.
⚡︎InvalidArrayIndexExceptionexception in com.oracle.truffle.api.interop An exception thrown if an array does not contain a element with an index.
⚡︎InvalidAssumptionExceptionexception in com.oracle.truffle.api.nodes An exception that should be thrown if an assumption is checked and the check fails.
isBufferWritable(Object)method in InteropLibrary Returns true if the receiver is a modifiable buffer.
isByte(int)method in Frame Check whether the given indexed slot is of type byte.
isBytecodeUpdate()method in BytecodeTransition Returns true if bytecode metadata or instructions changed for this transition, e.g.
isCached()method in Source Returns true if code caching is enabled for this source.
isCallTargetCloned()method in DirectCallNode Returns true if the target of the DirectCallNode was cloned by the runtime system or by the guest language implementation.
isCaptureFramesForTrace(boolean)method in RootNode Returns true if an AbstractTruffleException leaving this node should capture Frame objects in its stack trace in addition to the default information.
isCompilationConstant(Object)method in CompilerDirectives Returns a boolean indicating whether or not a given value is seen as constant in optimized code.
isCompilationRoot()method in FrameInstance Returns whether or not the current frame is a compilation root.
isConstant()method in Location Returns true if this is a constant value location.
isEngineRoot(RootNode)method in TruffleInstrument.Env Returns true if the given root node is considered an engine evaluation root for the current execution context.
isEntered()method in TruffleContext Checks whether the context is entered on the current thread and the context is the currently active context on this thread.
isExact(Object, Class)method in CompilerDirectives Checks the given object to the exact class represented by clazz.
isException(Object)method in InteropLibrary Returns true if the receiver value represents a throwable exception/error.
isExcluded()method in Introspection.SpecializationInfo Returns true if the specialization was excluded at the time when the introspection was performed.
isExecutable()method in TruffleFile Tests if a file is executable.
isExecutable(Object)method in InteropLibrary Returns true if the receiver represents an executable value, else false.
isExiting()method in TruffleContext Returns true if the context is being hard-exited else false.
isFileIOAllowed()method in TruffleLanguage.Env Returns true if access to files is allowed, else false.
isFinal()method in Locationdeprecated Returns true if this is a final location, i.e.
isFloat(int)method in Frame Check whether the given indexed slot is of type float.
isFunctionScope()method in DebugScope Test if this scope represents the function scope at the frame it was obtained from.
isHidden()method in Property Is this property hidden from iteration.
isHost()method in DebugStackFrame Returns true if this frame is a host frame.
isHost()method in DebugStackTraceElement Returns true if this element is a host element.
isHostException(Throwable)method in TruffleLanguage.Envdeprecated Tests whether an exception is a host exception thrown by a Java Interop method invocation.
isHostFunction(Object)method in TruffleLanguage.Envdeprecated Returns true if the argument is a Java host language function wrapped using Truffle interop.
isHostLookupAllowed()method in TruffleLanguage.Env Returns true if host access is generally allowed.
isHostObject(Object)method in InteropLibrary Returns true if the argument is wrapped Java host language object.
isHostObject(Object)method in TruffleLanguage.Envdeprecated Returns true if the argument is Java host language object wrapped using Truffle interop.
isHostSymbol(Object)method in TruffleLanguage.Envdeprecated Returns true if the argument is a host symbol, representing the constructor and static members of a Java class, as obtained by e.g.
isInnerContextOptionsAllowed()method in TruffleLanguage.Env Returns true if context options are allowed to be modified for inner contexts, or false if not.
isInstant()method in DebugValue Returns true if this value represents an instant.
isInstant(Object)method in InteropLibrary Returns true if the receiver represents an instant.
isInstantiable(Object)method in InteropLibrary Returns true if the receiver represents an instantiable value, else false.
isInstrumentable()method in InstrumentableNode Returns true if this node is instrumentable.
isInstrumentable()method in RootNode Does this contain AST content that it is possible to instrument.
isInstrumentation()method in Instruction Returns true if this instruction represents a bytecode or tag instrumentation instruction, else false.
isInstrumentation()method in InstructionDescriptor Returns true if this instruction represents a bytecode or tag instrumentation instruction, else false.
isInt(int)method in Frame Check whether the given indexed slot is of type int.
isInteractive()method in Source Check whether this source has been marked as interactive.
isInternal()method in DebugStackFrame Returns whether this stack frame is a language implementation artifact that should be hidden during normal guest language debugging, for example in stack traces.
isInternal()method in DebugStackTraceElement Returns whether this trace element is a language implementation artifact.
isInternal()method in DebugValue Returns true if this value represents an internal variable or property, false otherwise.
isInternal()method in RootNode Returns true if this root node should be considered internal and not be shown to a guest language programmer.
isInternal()method in Source Check whether this source has been marked as internal, meaning that it has been provided by the infrastructure, language implementation, or system library.
isInternal(Object)method in InteropLibrary Determines whether the given receiver represents an internal object.
isInternalError()method in DebugException Returns true if this exception indicates an internal error.
isMetaInstance(DebugValue)method in DebugValue Returns true if the given instance is an instance of this value, else false.
isMetaInstance(Object, Object)method in InteropLibrary Returns true if the given instance is of the provided receiver metaobject, else false.
isMetaObject()method in DebugValue Returns true if the value represents a metaobject.
isMetaObject(Object)method in InteropLibrary Returns true if the receiver value represents a metaobject.
isMimeTypeSupported(String)method in TruffleLanguage.Env Allows it to be determined if this Context can execute code written in a language with a given MIME type.
isModifiable()method in Breakpoint Test whether this breakpoint can be modified.
isMutable()method in AbstractTruffleString Returns true if this string is mutable, i.e.
isNative()method in AbstractTruffleString Returns true if this string is backed by a native pointer.
isNativeAccessAllowed()method in TruffleLanguage.Env Returns true if access to native code is generally allowed.
isNull()method in DebugValue Test if the value represents 'null'.
isNull(Object)method in InteropLibrary Returns true if the receiver represents a null like value, else false.
isNumber()method in DebugValue Returns true if and only if this value represents a number.
isNumber(Object)method in InteropLibrary Returns true if the receiver represents a number value, else false.
ISO_2022_JPenum constant in TruffleString.Encoding ISO-2022-JP.
ISO_2022_JP_2enum constant in TruffleString.Encoding ISO-2022-JP-2.
ISO_2022_JP_KDDIenum constant in TruffleString.Encoding ISO-2022-JP-KDDI.
ISO_8859_1enum constant in TruffleString.Encoding ISO-8859-1, also known as LATIN-1, which is equivalent to US-ASCII + the LATIN-1 Supplement Unicode block.
ISO_8859_10enum constant in TruffleString.Encoding ISO-8859-10.
ISO_8859_11enum constant in TruffleString.Encoding ISO-8859-11.
ISO_8859_13enum constant in TruffleString.Encoding ISO-8859-13.
ISO_8859_14enum constant in TruffleString.Encoding ISO-8859-14.
ISO_8859_15enum constant in TruffleString.Encoding ISO-8859-15.
ISO_8859_16enum constant in TruffleString.Encoding ISO-8859-16.
ISO_8859_2enum constant in TruffleString.Encoding ISO-8859-2.
ISO_8859_3enum constant in TruffleString.Encoding ISO-8859-3.
ISO_8859_4enum constant in TruffleString.Encoding ISO-8859-4.
ISO_8859_5enum constant in TruffleString.Encoding ISO-8859-5.
ISO_8859_6enum constant in TruffleString.Encoding ISO-8859-6.
ISO_8859_7enum constant in TruffleString.Encoding ISO-8859-7.
ISO_8859_8enum constant in TruffleString.Encoding ISO-8859-8.
ISO_8859_9enum constant in TruffleString.Encoding ISO-8859-9.
isObject(int)method in Frame Check whether the given indexed slot is of type object.
isPartialEvaluationConstant(Object)method in CompilerDirectives Returns a boolean indicating whether a given value is seen as constant during the initial partial evaluation phase.
isPointer(Object)method in InteropLibrary Returns true if the receiver value represents a native pointer.
isPolyglotEvalAllowed(LanguageInfo)method in TruffleLanguage.Env Returns true if the current language is allowed to evaluate guest application provided code of the given language, else false.
isPrimitive()method in Location Returns true if this location can only store primitive types and cannot contain any object references.
isProfilingEnabled()method in TruffleRuntime Whether or not the TruffleRuntime implementation can or wants to use gathered profiling information Truffle compilation.
isReadable()method in DebugValue Returns true if this value can be read else false.
isReadable()method in TruffleFile Tests if a file is readable.
isReadOnly()method in TruffleFile.FileStoreInfo Determines whether the file store is read-only.
isScope(Object)method in InteropLibrary Returns true if the value represents a scope object, else false.
isShared()method in Shape Returns true if this shape is marked as shared.
isShared(DynamicObject)method in DynamicObjectLibrary Checks whether this object is marked as shared.
CIsSharedNodeabstract class in com.oracle.truffle.api.object Checks whether this object is marked as shared.
isSocketIOAllowed()method in TruffleLanguage.Env Returns true if access to network sockets is allowed, else false.
isStatic(int)method in Frame Checks whether the given indexed slot is static.
isStep()method in SuspendedEvent Returns true if a step was the reason for the suspension.
isString()method in DebugValue Returns true if and only if this value represents a string.
isString(Object)method in InteropLibrary Returns true if the receiver represents a string value, else false.
isSubsetOf(TruffleString.CodeRange)method in TruffleString.CodeRange Returns true if this set of potential codepoints is equal to or contained by other.
isSupersetOf(TruffleString.CodeRange)method in TruffleString.CodeRange Returns true if this set of potential codepoints is equal to or contains other.
isSymbolicLink()method in TruffleFile Tests if a file is a symbolic link.
CLastIndexOfCodePointNodeabstract class in com.oracle.truffle.api.strings Node to find the codepoint index of the last occurrence of a given code point.
LATESTenum constant in BytecodeVersion The newest supported Bytecode DSL behaviour version.
LATIN_1enum constant in TruffleString.CodeRange All codepoints in this string are part of the ISO-8859-1 character set (0x00 - 0xff), which is equivalent to the union of the Basic Latin and the Latin-1 Supplement Unicode block.
layout(Class)method in Shape.Builderdeprecated Sets custom object layout class (default: DynamicObject base class).
layout(Class, MethodHandles.Lookup)method in Shape.Builder Sets a custom object layout class (default: DynamicObject.class) and a corresponding MethodHandles.Lookup created by the layout class, or a class in the same module, that has full privilege access in order to provide access to its fields.
leave(Node, Object)method in TruffleContext Leaves this context and sets the previous context as the new current context.
CLibraryFactoryabstract class in com.oracle.truffle.api.library Library factories allow to create instances of libraries used to call library messages.
lineIn(int, int)method in SourceSectionFilter.Builder Add a filter for all source sections where the line is inside a startLine (first index inclusive) plus a given length (last index exclusive).
lineIn(SourceSectionFilter.IndexRange...)method in SourceSectionFilter.Builder Add a filter for all source sections where lines are contained in one of the given index ranges.
lineIs(int)method in Breakpoint.Builder Specifies the breakpoint's line number.
lineIs(int)method in SourceSectionFilter.Builder Add a filter for all sources sections where the line is exactly the given line.
lineNotIn(SourceSectionFilter.IndexRange...)method in SourceSectionFilter.Builder Add a filter for all source sections where lines are not contained in one of the given index ranges.
ILoadSourceListenerinterface in com.oracle.truffle.api.instrumentation A listener attached by an Instrumenter to specific locations of a guest language program to listen to load source events.
ILoadSourceSectionListenerinterface in com.oracle.truffle.api.instrumentation A listener attached by an Instrumenter to specific locations of a guest language program to listen to sources section load events.
LOCAL_INDEXenum constant in Instruction.Argument.Kind The unique index of a local variable.
LOCAL_OFFSETenum constant in Instruction.Argument.Kind The logical frame offset of a local variable.
CLocalAccessorclass in com.oracle.truffle.api.bytecode Operation parameter that allows an operation to get, set, and clear the value of a local.
CLocalRangeAccessorclass in com.oracle.truffle.api.bytecode Operation parameter that allows an operation to get, set, or clear locals declared in a contiguous range.
localsfield in TruffleInstrument Provider for creating context local and context thread local references.
localsfield in TruffleLanguage Provider for creating context local and context thread local references.
CLocalVariableabstract class in com.oracle.truffle.api.bytecode Introspection class modeling a local variable and its liveness info in a bytecode interpreter.
LocalVariable(Object)constructor in LocalVariable Internal constructor for generated code.
CLocationsealed abstract class in com.oracle.truffle.api.object Property location.
lookupExecutionEventNode(EventBinding)method in EventContext Returns the execution event node that was inserted at this location given an event binding.
lookupExecutionEventNodes(Collection)method in EventContext Returns all execution event nodes in the insertion order at this location, whose event bindings are contained in the given collection.
lookupHostSymbol(String)method in TruffleLanguage.Env Looks up a Java class in the top-most scope the host environment.
CLoopConditionProfileclass in com.oracle.truffle.api.profiles LoopConditionProfiles are designed to profile the outcome of loop conditions.
CMarkSharedNodeabstract class in com.oracle.truffle.api.object Marks this object as shared.
markThreadedSwitch(int)method in HostCompilerDirectives Marks a switch statement within a loop as a candidate for threaded switch optimization.
matches(BytecodeConfig)method in BytecodeConfig Returns whether this configuration matches other.
MATERIALIZEenum constant in FrameInstance.FrameAccess This mode allows to read a materialized version of the frame and provides read and write access to its local variables.
materialize()method in BytecodeSupport.ConstantsBuffer Copies the internal constants[] array and returns it.
materialize()method in Frame Materializes this frame, which allows it to be stored in a field or cast to Object.
materialize(Object)method in CompilerDirectives Ensures that the given object is not virtual, i.e., not removed by Escape Analysis at the point of this call.
MATERIALIZEDenum constant in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind The argument is expanded into its subfields in addition to the original argument.
IMaterializedFrameinterface in com.oracle.truffle.api.frame Represents a materialized frame containing values of local variables of the guest language.
CMaterializedLocalAccessorclass in com.oracle.truffle.api.bytecode Operation parameter that allows an operation to get, set, and clear the value of a local from a materialized frame of the current root node or an outer root node.
materializeInstrumentableNodes(Set)method in InstrumentableNode Removes optimizations performed in this AST node to restore the syntactic AST structure.
CMaterializeNodeabstract class in com.oracle.truffle.api.strings Node to force materialization of any lazy internal data.
CMaterializeSubstringNodeabstract class in com.oracle.truffle.api.strings Extended version of MaterializeNode that also materializes substrings/string views created via e.g.
CMathUtilsclass in com.oracle.truffle.api.utilities This class contains mathematical methods that are not already provided by Math that are generally useful for language implementations.
maximumOperationCode()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig The maximum unsigned value of the opcode.
MEGAMORPHICenum constant in NodeCost This node represents a megamorphic version of an operation.
@Megamorphicannotation interface in com.oracle.truffle.api.dsl Specializations annotated with this annotation are considered megamorphic.
MERGE_EXPLODEenum constant in ExplodeLoop.LoopExplosionKind like FULL_EXPLODE, but copies of the loop body that have the exact same state (all local variables have the same value) are merged.
INativeAllocatorinterface in com.oracle.truffle.api.strings An allocation function for native buffers.
NATURALenum constant in TruffleLanguage.ExitMode Natural exit that occurs during normal context close.
CNearestSectionFilterclass in com.oracle.truffle.api.instrumentation Add a filter for source sections that are nearest to the given source position, according to the guest language control flow.
needsAllEncodings()element in TruffleLanguage.Registrationdeprecated Returns true if the language uses TruffleStrings with encodings not present in the following list.
NEVER_VALIDfield in Assumption An assumption that is never valid.
@NeverDefaultannotation interface in com.oracle.truffle.api.dsl Useful to annotate methods, fields or parameters bound by any DSL expression to indicate that it never returns a null or default primitive value.
neverDefault()element in Cached Returns true if the cache initializer never returns the default value of its parameter type at runtime.
neverPartOfCompilation()method in CompilerAsserts Assertion that this code position should never be reached during compilation.
neverPartOfCompilation(String)method in CompilerAsserts Assertion that this code position should never be reached during compilation.
newBuilder()method in FrameDescriptor Builds a new frame descriptor with index-based frame slots.
newBuilder()method in HistogramInstructionTracer Returns a builder for HistogramInstructionTracer that allows configuring a filter and one or more grouping clauses.
newBuilder()method in Shape Creates a new initial shape builder.
newBuilder(Shape)method in Shape Creates a new derived shape builder that allows changing a root shape's flags and dynamic type and adding constant properties.
CNodeCloneableabstract class in com.oracle.truffle.api.nodes Declarative base class for node fields that are to be cloned together with the containing node.
NodeCloneable()constructor in NodeCloneable Constructor for subclasses.
ENodeCostenum class in com.oracle.truffle.api.nodesdeprecated Represents a rough estimate for the cost of a Node.
INodeFactoryinterface in com.oracle.truffle.api.dsl Enables the dynamic creation of generated nodes.
@NodeFieldannotation interface in com.oracle.truffle.api.dsl A NodeField element defines a field for the generated Node.
@NodeFieldsannotation interface in com.oracle.truffle.api.dsl A NodeFields element defines a field for the generated Node.
@NodeInfoannotation interface in com.oracle.truffle.api.nodes Annotation for providing additional information on nodes.
INodeInterfaceinterface in com.oracle.truffle.api.nodes Common base interface for all Truffle nodes.
CNodeLibraryabstract class in com.oracle.truffle.api.interop Node Library provides access to guest language information associated with a particular Node location.
nodeReplaced(Node, Node, CharSequence)method in ReplaceObserver Returns true if the event is consumed and no parent nodes should be notified by for replaces.
nodesfield in BytecodeRootNodes The array of parsed nodes.
CNodeStatisticsabstract class in com.oracle.truffle.api.dsl Class to collect statistics information per node.
CNodeUtilclass in com.oracle.truffle.api.nodes Utility class that manages the special access methods for node instances.
INodeVisitorinterface in com.oracle.truffle.api.nodes Visitor for trees of nodes.
NONEenum constant in BytecodeIndexMode Does not reserve a frame slot or perform implicit bytecode index lookup.
NONEenum constant in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind No expansion.
NONEenum constant in NodeCost This node has literally no costs and should be ignored for heuristics.
@NonIdempotentannotation interface in com.oracle.truffle.api.dsl Methods annotated with NonIdempotent must be methods that may cause side effects but may not always cause the same side effects for repeated invocations with the same parameters.
nonNull()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument Indicates that this argument is always non-null.
nonNull()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field Indicates that this field is always non-null.
normalize()method in TruffleFile Returns a TruffleFile with removed redundant name elements in it's path.
normalizeEncoding(long)method in BytecodeConfigEncoder Normalizes configuration bits for this interpreter.
onCancelled(Runnable)method in TruffleContext.Builder Specifies a Runnable that will be executed when the new context is cancelled and the cancel exception is about to reach the outer context, or when some operation on the new context is attempted while the context is already cancelled.
onClosed(Runnable)method in TruffleContext.Builder Specifies a Runnable that will be executed when some operation on the new context attempted while the context is already closed.
onExited(Consumer)method in TruffleContext.Builder Specifies a Consumer that will be executed when the new context is hard-exited and the exit exception is about to reach the outer context, or when some operation on the new context is attempted while the context is already hard-exited.
onFinalize(TruffleInstrument.Env)method in TruffleInstrument Invoked once on an instance just before all instruments and languages are going to be disposed, possibly because the underlying engine is going to be closed.
@Optionannotation interface in com.oracle.truffle.api Describes the attributes of an option whose value is in a static field annotated by this annotation.
option(String, String)method in Source.LiteralBuilder Sets a source option key and value for the built source.
option(String, String)method in Source.SourceBuilder Sets a source option key and value for the built source.
option(String, String)method in TruffleContext.Builder Overrides an option of the inner context.
optional()element in InternalResource.Id Marks the annotated resource as optional.
optionalResources()element in TruffleInstrument.Registration A declarative list of optional InternalResource identifiers associated with this instrument.
optionalResources()element in TruffleLanguage.Registration A declarative list of optional InternalResource identifiers associated with this language.
options(Map)method in Source.LiteralBuilder Shortcut for setting multiple options using a map.
options(Map)method in Source.SourceBuilder Shortcut for setting multiple options using a map.
options(Map)method in TruffleContext.Builder Sets multiple options using a map.
OR_RETURN_CONVERTEDenum constant in ShortCircuitOperation.Operator OR operator that produces the converted boolean value.
OR_RETURN_VALUEenum constant in ShortCircuitOperation.Operator OR operator that produces the operand value.
EOSenum class in com.oracle.truffle.api Represents a supported operating system.
out()method in TruffleInstrument.Env Standard output writer for Engine this instrument is being executed in.
out(OutputStream)method in TruffleContext.Builder Sets the standard output stream to be used for the context.
@OutgoingConverterannotation interface in com.oracle.truffle.api.instrumentation Annotates a method to be used as outgoing value converter.
P
parameters()element in Cached Specifies the bindings used for the $parameters variable in cached or uncached initializers.
parse(Source, String...)method in TruffleInstrument.Env Evaluates source of (potentially different) language using the current context.The names of arguments are parameters for the resulting {#link CallTarget} that allow the source to reference the actual parameters passed to CallTarget.call(java.lang.Object...).
parse(T)method in BytecodeParser The parse method.
partialEvaluationConstant(Object)method in CompilerAsserts Assertion that the corresponding value is reduced to a constant during the initial partial evaluation phase.
POLYMORPHICenum constant in NodeCost This node represents a polymorphic version of an operation.
position()method in ByteBufferDataInput Returns the position in the underlying byte buffer.
prepareContinue()method in SuspendedEvent Prepare to execute in Continue mode when guest language program execution resumes.
prepareForAOT()method in RootNode Allows languages to perform actions before a root node is attempted to be compiled without prior call to execute(VirtualFrame).
prepareForAOT(RootNode)method in AOTSupport Recursively prepares an AST for AOT compilation.
preserveFrameStateHere()method in CompilerDirectives Inserts a state-split marker at this program point so deoptimization restores frame state for the current bytecode location.
CPreviousNodeabstract class in com.oracle.truffle.api.strings Returns the previous codepoint in the string.
CPrimitiveValueProfileclass in com.oracle.truffle.api.profiles Represents a ValueProfile that speculates on the primitive equality or object identity of values.
print(PrintStream)method in HistogramInstructionTracer.Histogram Prints this histogram as a single indented table.
printHistogram(PrintStream)method in SpecializationStatistics Prints the specialization histogram to the provided stream.
printHistogram(PrintWriter)method in SpecializationStatistics Prints the specialization histogram to the provided writer.
CPrintInstructionTracerclass in com.oracle.truffle.api.bytecode.debug An InstructionTracer implementation that prints a textual trace of executed bytecode instructions.
priority()element in ExportLibrary Specifies the priority for service provider lookup based default exports.
CProbeNodeclass in com.oracle.truffle.api.instrumentation Represents an event sink for instrumentation events that is embedded in the AST using wrappers if needed.
CProfileabstract class in com.oracle.truffle.api.profiles A profile is a Truffle utility class that uses the Truffle compiler directives to guard for and/or forward runtime information to the compiler.
CPropertyGetterclass in com.oracle.truffle.api.object A lightweight property getter that allows getting the value of a DynamicObjectproperty without any lookup or cache dispatch.
@ProvidedTagsannotation interface in com.oracle.truffle.api.instrumentation Specifies a set of tags that are provided by a language implementation.
IProviderinterface in com.oracle.truffle.api.dsl Implemented by generated code.
IProviderinterface in com.oracle.truffle.api.dsl Internal marker interface for DSL generated code to access reflection information.
@Proxyableannotation interface in com.oracle.truffle.api.bytecode Designates a Node class as eligible for proxying.
pushEncapsulatingNode()element in GenerateLibrary Enables push and pop of the encapsulating node when a library transitions from cached to uncached.
put(DynamicObject, Object, Object)method in DynamicObjectLibrary Sets the value of an existing property or adds a new property if no such property exists.
CPutAllNodeabstract class in com.oracle.truffle.api.object Adds or sets multiple properties in bulk.
PutAllNode()constructor in DynamicObject.PutAllNode Creates a new PutAllNode instance.
putByte(byte[], int, byte)method in ByteArraySupport Writes the given byte at the given byte offset from the start of the buffer.
putByte(byte[], long, byte)method in ByteArraySupport Writes the given byte at the given byte offset from the start of the buffer.
CPutConstantNodeabstract class in com.oracle.truffle.api.object Sets the value of an existing property or adds a new property if no such property exists.
putDouble(byte[], int, double)method in ByteArraySupport Writes the given double at the given byte offset from the start of the buffer.
putDouble(byte[], long, double)method in ByteArraySupport Writes the given double at the given byte offset from the start of the buffer.
readBuffer(Object, long, …)method in InteropLibrary Reads bytes from the receiver object into the specified byte array.
readBufferByte(Object, long)method in InteropLibrary Reads the byte from the receiver object at the given byte offset from the start of the buffer.
readBufferDouble(Object, ByteOrder, long)method in InteropLibrary Reads the double from the receiver object in the given byte order at the given byte offset from the start of the buffer.
readBufferFloat(Object, ByteOrder, long)method in InteropLibrary Reads the float from the receiver object in the given byte order at the given byte offset from the start of the buffer.
readBufferInt(Object, ByteOrder, long)method in InteropLibrary Reads the int from the receiver object in the given byte order at the given byte offset from the start of the buffer.
readBufferLong(Object, ByteOrder, long)method in InteropLibrary Reads the long from the receiver object in the given byte order at the given byte offset from the start of the buffer.
readBufferShort(Object, ByteOrder, long)method in InteropLibrary Reads the short from the receiver object in the given byte order at the given byte offset from the start of the buffer.
readHashValueOrDefault(Object, Object, Object)method in InteropLibrary Reads the value for the specified key or returns the defaultValue when the mapping for the specified key does not exist or is not readable.
regionEqualsWithOrMask(byte[], int, …)method in ArrayUtils Returns true iff for all indices i from 0 (inclusive) to length (exclusive), (a[offsetA + i] | mask[i]) == b[offsetB + i] holds.
regionEqualsWithOrMask(char[], int, …)method in ArrayUtils Returns true iff for all indices i from 0 (inclusive) to length (exclusive), (a[offsetA + i] | mask[i]) == b[offsetB + i] holds.
regionEqualsWithOrMask(String, int, …)method in ArrayUtils Returns true iff for all indices i from 0 (inclusive) to length (exclusive), (a.charAt(offsetA + i) | mask.charAt(i)) == b.charAt(offsetB + i) holds.
registerService(Object)method in TruffleLanguage.Env Registers additional services provided by the language.
@Registrationannotation interface in com.oracle.truffle.api The annotation to use to register your language to the Polyglot API.
@Registrationannotation interface in com.oracle.truffle.api.instrumentation Annotation that registers an instrument implementations for automatic discovery.
replacement()method in TranscodingErrorHandler.ReplacementString the string to use as replacement for the erroneous region in the source string.
replacementMethod()element in GenerateLibrary.Abstract Specifies a custom replacement method to handle delegation for a message declared with replacementOf().
replacementOf()element in GenerateLibrary.Abstract A tool to deprecate and replace messages during library evolution.
@ReportPolymorphismannotation interface in com.oracle.truffle.api.dsl Enables reporting of polymorphic specializations from this node or exported message to the runtime.
@RequiredFieldannotation interface in com.oracle.truffle.api.dsl Used to specify fields for node object inlining in inline methods for the inline target.
resetInterrupted()method in TruffleSafepoint.Interrupter Resets the interrupted state when executing on a thread after the thread was interrupted.
resetShape(DynamicObject, Shape)method in DynamicObjectLibrary Empties and resets the object to the given root shape, which must not contain any instance properties (but may contain properties with a constant value).
CResetShapeNodeabstract class in com.oracle.truffle.api.object Empties and resets the object to the given root shape.
resolve(Class)method in LibraryFactory Looks up the resolved library instance for a library class.
resultOperandIndex()element in Return Index of the dynamic operand that represents the logical "result" of the return before the custom return executes.
resultOperandIndex()element in Yield Index of the dynamic operand that represents the logical "result" of the yield before the custom yield executes.
resume(Future)method in TruffleContext Resume previously paused execution on all threads for this context.
resume(Thread)method in DebuggerSession Resumes the execution on a given thread if it has not been suspended yet.
resumeAll()method in DebuggerSession Resumes all suspended executions that have not yet been notified.
@Returnannotation interface in com.oracle.truffle.api.bytecode Declares a custom return operation.
RETURN_NEGATIVEenum constant in TruffleString.ErrorHandling This mode will cause a negative value to be returned in all error cases.
returnValue()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument Indicates that this argument will be updated with the return value of the handler.
REUSEenum constant in TruffleLanguage.ContextPolicy Use a single TruffleLanguage instance per context instance, but allow the reuse of a language instance when a context was disposed.
rewriteOn()element in Specialization Declares an event guards that trigger re-specialization in case an exception is thrown in the specialization body.
ROOTenum constant in SourceElement Denotes program locations that represent a function of a guest language.
CRootBodyTagclass in com.oracle.truffle.api.instrumentation Marks program locations as bodies of a function, method or closure.
IRootCallTargetinterface in com.oracle.truffle.api Represents the target of a call to a RootNode, i.e., to another tree of nodes.
rootSourceSectionEquals(SourceSection...)method in SourceSectionFilter.Builder Add a filter for all root source sections that equal one of the given source sections.
CRootTagclass in com.oracle.truffle.api.instrumentation Marks program locations as root of a function, method or closure.
RUNTIME_ERRORenum constant in ExceptionType Indicates a guest language error.
S
S1enum constant in TruffleString.CompactionLevel One byte per array element.
S2enum constant in TruffleString.CompactionLevel Two bytes per array element.
S4enum constant in TruffleString.CompactionLevel Four bytes per array element.
safepoint()element in HostCompilerDirectives.BytecodeInterpreterHandler Indicates whether host safepoint should be inserted in the stub correspond to this handler.
secondarySwitch()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig Indicates that the annotated method implements a secondary partition of a bytecode interpreter switch.
send(Object, Message, Object...)method in ReflectionLibrary Sends a given message to the target receiver with the provided arguments.
CSerializationUtilsclass in com.oracle.truffle.api.bytecode.serialization Utility class with helpers for serialization code.
serializeBuilderBytecode(DataOutput, BytecodeSerializer)method in BytecodeRootNodes Serializes the nodes as a sequence of builder calls, including all optional metadata (e.g., source information), so the nodes can be deserialized with any configuration or reparsed later when more metadata is requested.
ISerializerContextinterface in com.oracle.truffle.api.bytecode.serialization Interface for a generated class that can serialize a BytecodeRootNode to a byte buffer.
services()element in TruffleInstrument.Registration Declarative list of classes this instrument is known to provide.
services()element in TruffleLanguage.Registration Declarative list of classes this language is known to provide.
setBoolean(Object, boolean)method in StaticProperty Sets the boolean value represented by this StaticProperty and stored in the specified static object.
setBooleanVolatile(Object, boolean)method in StaticProperty Sets the boolean value represented by this StaticProperty and stored in the specified static object.
setByteVolatile(Object, byte)method in StaticProperty Sets the byte value represented by this StaticProperty and stored in the specified static object.
setChar(Object, char)method in StaticProperty Sets the char value represented by this StaticProperty and stored in the specified static object.
setCharVolatile(Object, char)method in StaticProperty Sets the char value represented by this StaticProperty and stored in the specified static object.
setCondition(String)method in Breakpoint Assigns to this breakpoint a boolean expression whose evaluation will determine whether the breakpoint suspends execution (i.e.
setDoubleVolatile(Object, double)method in StaticProperty Sets the double value represented by this StaticProperty and stored in the specified static object.
setFloatVolatile(Object, float)method in StaticProperty Sets the float value represented by this StaticProperty and stored in the specified static object.
setIgnoreCount(int)method in Breakpoint Changes the number of times the breakpoint must be executed before it hits (i.e.
setLongVolatile(Object, long)method in StaticProperty Sets the long value represented by this StaticProperty and stored in the specified static object.
setObjectVolatile(Object, Object)method in StaticProperty Sets the Object value represented by this StaticProperty and stored in the specified static object.
setOSRMetadata(Object)method in BytecodeOSRNode Sets the OSR metadata for this instance.
setShapeFlags(DynamicObject, int)method in DynamicObjectLibrary Sets language-specific object shape flags, changing the object's shape if need be.
CSetShapeFlagsNodeabstract class in com.oracle.truffle.api.object Sets or updates language-specific object shape flags.
setShort(Object, short)method in StaticProperty Sets the short value represented by this StaticProperty and stored in the specified static object.
setShortVolatile(Object, short)method in StaticProperty Sets the short value represented by this StaticProperty and stored in the specified static object.
setUncachedThreshold(int)method in BytecodeNode Sets the number of invocations/resumptions or backward branches for which this interpreter executes uncached before transitioning to cached on the next such event.
CShapeclass in com.oracle.truffle.api.object A Shape is an immutable descriptor of the current object "shape" of a DynamicObject, i.e., object layout, metadata (type, flags), and a mapping of properties to storage locations.
shapeFlags(int)method in Shape.Builder Sets initial shape flags (default: 0).
shapeFlags(int)method in Shape.DerivedBuilder Sets initial shape flags (default: 0).
SHAREDenum constant in TruffleLanguage.ContextPolicy Use one TruffleLanguage instance for many language context instances.
@Sharedannotation interface in com.oracle.truffle.api.dsl Allows sharing between multiple Cached parameters between multiple specializations or exported library messages.
shared(boolean)method in Shape.Builder If true, makes the object shared (default: false).
sharedData(Object)method in Shape.Builder Sets shared data to be associated with the root shape and any derived shapes (e.g.
Shift_JISenum constant in TruffleString.Encoding Shift-JIS.
@ShortCircuitOperationannotation interface in com.oracle.truffle.api.bytecode Declares a short-circuiting operation.
CShortFieldclass in com.oracle.truffle.api.dsl Represents a field for short primitives in inlined nodes.
shortName()element in NodeInfo Short name representing the node that can be used for debugging.
shouldNotReachHere()method in CompilerDirectives Indicates a code path that is not supposed to be reached during compilation or interpretation.
shouldNotReachHere(String)method in CompilerDirectives Indicates a code path that is not supposed to be reached during compilation or interpretation.
shouldNotReachHere(String, Throwable)method in CompilerDirectives Indicates a code path that is not supposed to be reached during compilation or interpretation.
shouldNotReachHere(Throwable)method in CompilerDirectives Indicates a code path that is not supposed to be reached during compilation or interpretation.
singleContextAssumption(Assumption)method in Shape.Builder Sets an assumption that allows specializations on constant object instances with this shape, as long as the assumption is valid.
SIZEfield in TruffleFile The file's size in bytes.
size()method in FinalBitSet Returns the number of bits of space actually in use by this FinalBitSet to represent bit values.
CSourceabstract class in com.oracle.truffle.api.source Representation of a source code unit and its contents that can be evaluated in a language.
SOURCE_LOCATIONenum constant in Breakpoint.Kind Represents breakpoints submitted for a particular source code location.
CSourceBuilderclass in com.oracle.truffle.api.source Allows one to specify additional attribute before creating new Source instance.
sourceContentSupplier()element in GenerateBytecode Specifies the name of a supplier method used to convert a Source without content into one with content (i.e., one which has characters or bytes).
ESourceElementenum class in com.oracle.truffle.api.debug Representation of a guest language source syntax element, that is used for debugging purposes.
CSourceFilterclass in com.oracle.truffle.api.instrumentation A source filter represents an expression for a subset of guest language sources that are used in an Truffle interpreter.
ISourcePredicateinterface in com.oracle.truffle.api.instrumentation Represents a predicate for source objects.
CSourceSectionabstract class in com.oracle.truffle.api.source Description of contiguous section of text within a Source of program code.; supports multiple modes of access to the text and its location.
sourceSectionEquals(SourceSection...)method in SourceSectionFilter.Builder Add a filter for all source sections that equal one of the given source sections.
CSourceSectionFilterclass in com.oracle.truffle.api.instrumentation A source section filter represents an expression for a subset of tagged source sections that are used in an Truffle interpreter.
@Specializationannotation interface in com.oracle.truffle.api.dsl Defines a method of a node subclass to represent one specialization of an operation.
ISpecializationDataNodeinterface in com.oracle.truffle.api.dsl Interface implemented by specialization data classes.
CSpecializationInfoclass in com.oracle.truffle.api.dsl Represents dynamic introspection information of a specialization of a DSL operation.
CSpecializationStatisticsclass in com.oracle.truffle.api.dsl Represents a specialization statistics utiltiy that can be entered to collect additional statistics about Truffle DSL nodes.
specifyAtEnd()element in ConstantOperand By default, when an operation has dynamic operands, the constant operands appear before them in signatures and must be supplied to the operation's begin method of the BytecodeBuilder.
stability()element in Option Defines the stability of this option.
stackSize(long)method in TruffleThreadBuilder Specifies stack size for the threads created by this builder.
CStackValueabstract class in com.oracle.truffle.api.bytecode Abstract definition of a stack value in the interpreter.
StackValue(Object)constructor in StackValue Internal constructor for generated code.
CStandardTagsclass in com.oracle.truffle.api.instrumentation Set of standard tags usable by language agnostic tools.
start()method in TruffleProcessBuilder Starts a new subprocess using the attributes of this builder.
startOffset()element in Variadic Specifies the number of values reserved in the variadic object array.
startSession(SuspendedCallback, SourceElement...)method in Debugger Starts a new session provided with a callback that gets notified whenever the execution is suspended and with a list of source syntax elements on which it is possible to step.
CStaticPropertyabstract class in com.oracle.truffle.api.staticobject StaticProperty objects represent the mapping between property identifiers and storage locations within static objects.
StaticProperty()constructor in StaticProperty Constructor for subclasses.
CStaticShapeabstract class in com.oracle.truffle.api.staticobject A StaticShape is an immutable descriptor of the layout of a static object and is a good entry point to learn about the Static Object Model.
CStepConfigclass in com.oracle.truffle.api.debug Represents a debugger step configuration.
⚡︎StopIterationExceptionexception in com.oracle.truffle.api.interop An exception thrown if an iterator is finished.
storeBytecodeIndex()element in EpilogExceptional Whether to store the BCI before executing this operation.
storeBytecodeIndex()element in EpilogReturn Whether to store the BCI before executing this operation.
storeBytecodeIndex()element in Instrumentation Whether to store the BCI before executing this operation.
storeBytecodeIndex()element in Operation Whether to store the BCI in the frame before executing this operation.
storeBytecodeIndex()element in OperationProxy.Proxyable Whether to store the BCI before executing this operation.
storeBytecodeIndex()element in Prolog Whether to store the BCI before executing this operation.
storeBytecodeIndexInFrame()element in GenerateBytecode Whether the generated interpreter should automatically store the bytecode index in the frame in all interpreter tiers.
CStringSetclass in com.oracle.truffle.api.strings A set of strings in a given encoding.
submitThreadLocal(Thread[], ThreadLocalAction)method in TruffleLanguage.Env Submits a thread local action to be performed at the next guest language safepoint on a provided set of threads, once for each thread.
subUpdater(int, int)method in InlineSupport.StateField Creates a sub updater for a subset of bits in a state field.
suffix()element in GenerateBytecodeTestVariants.Variant The class name suffix for this variant.
@SuppressPackageWarningsannotation interface in com.oracle.truffle.api.dsl Use to suppress Truffle DSL warnings in whole packages using a package-info.java class.
suspend(Thread)method in DebuggerSession Suspends the current or the next execution of a given thread.
suspendAll()method in DebuggerSession Suspends the current or the next execution on all threads.
ESuspendAnchorenum class in com.oracle.truffle.api.debug Describes where, within a guest language source section, the suspend position is.
suspendAnchor(SuspendAnchor)method in Breakpoint.Builder Specify the breakpoint suspension anchor within the guest language source location.
ISuspendedCallbackinterface in com.oracle.truffle.api.debug Callback invoked whenever the debugger suspends for a particular session.
CSuspendedEventclass in com.oracle.truffle.api.debug Access for Debugger clients to the state of a guest language execution thread that has been suspended, for example by a Breakpoint or stepping action.
suspendHere(Node)method in DebuggerSession Suspend immediately at the current location of the current execution thread.
suspendNextExecution()method in DebuggerSession Suspends the next execution on the first thread that is encountered.
CSuspensionFilterclass in com.oracle.truffle.api.debug A filter to limit the suspension locations.
tagTreeNodeLibrary()element in GenerateBytecode Allows to customize the NodeLibrary implementation that is used for tag instrumentation.
templateVariable()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field Marks this field as template state for threaded bytecode handlers.
test(Source)method in SourceSectionFilter.SourcePredicate Returns true if the given source should be tested positive and false if the sources should be filtered.
CThreadLocalActionabstract class in com.oracle.truffle.api Represents an action that is executed at a safepoint location of the guest language execution.
IThreadsActivationListenerinterface in com.oracle.truffle.api.instrumentation Listener that allows to be notified when threads become active and deactivated.
IThreadsListenerinterface in com.oracle.truffle.api.instrumentation Listener to be notified about changes of threads in guest language application.
throwException(Object)method in InteropLibrary Throws the receiver object as an exception of the source language, as if it was thrown by the source language itself.
toString()method in SourceSection Returns an implementation-defined string representation of this source section to be used for debugging purposes only.
toUri()method in TruffleFile Returns the absolute URI representation of this TruffleFile.
CToValidStringNodeabstract class in com.oracle.truffle.api.strings Node to replace all invalid bytes in a given string, such that the resulting string is valid.
TraceRewritesfield in TruffleOptions Enables/disables the rewriting of traces in the Truffle runtime to stdout.
TraceRewritesFilterClassfield in TruffleOptions Filters rewrites that do not contain the given string in the qualified name of the source or target class hierarchy.
transferToInterpreter()method in CompilerDirectives Directive for the compiler to discontinue compilation at this code position and instead insert a transfer to the interpreter.
transferToInterpreterAndInvalidate()method in CompilerDirectives Directive for the compiler to discontinue compilation at this code position and instead insert a transfer to the interpreter, invalidating the currently executing machine code.
transferToInterpreterOnException()element in CompilerDirectives.TruffleBoundary Determines whether execution should be transferred to the interpreter if an exception is thrown across this boundary, in which case the caller's compiled code is invalidated and will not transfer to the interpreter on exceptions for this method again.
transitionLimit()element in ExportLibrary By default export libraries don't allow changes in the behavior of accepts for a receiver instance.
trueCount()method in Instruction.Argument.BranchProfile
CTruffleclass in com.oracle.truffle.api Class for obtaining the Truffle runtime singleton object of this virtual machine.
@TruffleBoundaryannotation interface in com.oracle.truffle.api Marks a method that it is considered as a boundary for Truffle partial evaluation.
CTruffleContextclass in com.oracle.truffle.api A handle on a context of a set of Truffle languages.
CTruffleFileclass in com.oracle.truffle.api An abstract representation of a file used by Truffle languages.
CTruffleInstrumentabstract class in com.oracle.truffle.api.instrumentation The service provider interface (SPI) for Truffle instruments: clients of Truffle instrumentation that may observe and inject behavior into interpreters written using the Truffle framework.
TruffleInstrument()constructor in TruffleInstrument Constructor for subclasses.
CTruffleLanguageabstract class in com.oracle.truffle.api A Truffle language implementation contains all the services a language should provide to make it composable with other languages.
TruffleLanguage()constructor in TruffleLanguage Constructor to be called by subclasses.
TruffleLanguageProvider()constructor in TruffleLanguageProvider Constructor to be called by subclasses.
CTruffleLoggerclass in com.oracle.truffle.api Support for logging in Truffle languages and instruments.
ITruffleObjectinterface in com.oracle.truffle.api.interop Interface for any entity of a Truffle guest language implementations that can be shared across other language implementations.
CTruffleSafepointabstract class in com.oracle.truffle.api Truffle safepoints allow interrupting the guest language execution to execute thread-local actions submitted by a language or tool.
TruffleStringFactory()constructor in TruffleStringFactory Creates a new TruffleStringFactory instance.
CTruffleStringIteratorclass in com.oracle.truffle.api.strings An iterator object that allows iterating over a TruffleString's codepoints, without having to re-calculate codepoint indices on every access.
CTruffleWeakReferenceclass in com.oracle.truffle.api.utilities Creates a new weak reference that is safe to be used in compiled code paths.
TruffleWeakReference(T)constructor in TruffleWeakReference Creates a new Truffle weak reference that refers to the given object.
TruffleWeakReference(T, ReferenceQueue)constructor in TruffleWeakReference Creates a new Truffle weak reference that refers to the given object and is registered with the given queue.
truncate(double)method in ExactMath Removes the decimal part (aka truncation or rounds towards zero) of the given double.
truncate(float)method in ExactMath Removes the decimal part (aka truncation or rounds towards zero) of the given float.
tryAttach()method in EventBinding Try to attach this binding, if not disposed or attached already.
CTryBlockTagclass in com.oracle.truffle.api.instrumentation Marks program locations to be considered as try blocks, that are followed by catch.
tryMerge(Shape)method in Shape Try to merge two related shapes to a more general shape that has the same properties and can store at least the values of both shapes.
IUnadoptableNodeinterface in com.oracle.truffle.api.nodes Marks a node unadoptable, this means that the parent pointer will never be written by the Truffle framework.
UNCACHEDenum constant in BytecodeTier The uncached bytecode tier does not collect profiling feedback.
UNDEFINEDenum constant in TriState The state is undefined.
⚡︎UnexpectedResultExceptionexception in com.oracle.truffle.api.nodes An exception that should be thrown if the return value cannot be represented as a value of the return type.
UnexpectedResultException(Object)constructor in UnexpectedResultException Creates the exception with the alternative result that cannot be represented as a value of the return type.
UNIX_CTIMEfield in TruffleFile The file's last status change time.
UNIX_DEVfield in TruffleFile The id of a device containing the file.
UNIX_GIDfield in TruffleFile The group id of file owner.
UNIX_GROUPfield in TruffleFile The group owner of the file.
UNIX_INODEfield in TruffleFile The file's inode number.
UNIX_MODEfield in TruffleFile The file's mode containing the protection and file type bits.
UNIX_NLINKfield in TruffleFile The number of hard links.
UNIX_OWNERfield in TruffleFile The owner of the file.
UNIX_PERMISSIONSfield in TruffleFile The file's Posix permissions.
UNIX_RDEVfield in TruffleFile The id of a device represented by the file.
UNIX_UIDfield in TruffleFile The user id of file owner.
⚡︎UnknownIdentifierExceptionexception in com.oracle.truffle.api.interop An exception thrown if an object does not contain a member with such an identifier.
⚡︎UnknownKeyExceptionexception in com.oracle.truffle.api.interop An exception thrown if an object does not contain a hash entry with such a key.
unpackResourceFiles(Path, Path, Path)method in InternalResource.Env Extracts files from the module, which owns the InternalResource implementation class, listed in the source file list and places them into the target folder.
unpackResourceFiles(Path, Path, …)method in InternalResource.Env Extracts files from the module, which owns the InternalResource implementation class, listed in the source file list and places them into the target folder.
⚡︎UnsupportedSpecializationExceptionexception in com.oracle.truffle.api.dsl Thrown by the generated code of Truffle-DSL if no compatible Specialization could be found for the provided values.
⚡︎UnsupportedTypeExceptionexception in com.oracle.truffle.api.interop An exception thrown if a TruffleObject does not support the type of one or more arguments.
update(BytecodeConfig)method in BytecodeRootNodes Updates the configuration for the given bytecode nodes.
update(L, BytecodeConfig)method in BytecodeDescriptor Updates the bytecode configuration for all bytecode root nodes that were created by this descriptor for the given language instance.
UTF8_DoCoMoenum constant in TruffleString.Encoding UTF8-DoCoMo.
UTF8_KDDIenum constant in TruffleString.Encoding UTF8-KDDI.
UTF8_MACenum constant in TruffleString.Encoding UTF8-MAC.
UTF8_SoftBankenum constant in TruffleString.Encoding UTF8-SoftBank.
UTF_16field in TruffleString.Encoding UTF-16 in the current system's endianness, without byte-order mark, with transparent string compaction.
UTF_16BEenum constant in TruffleString.Encoding UTF-16BE.
UTF_16LEenum constant in TruffleString.Encoding UTF-16LE.
UTF_32field in TruffleString.Encoding UTF-32 in the current system's endianness, without byte-order mark, with transparent string compaction.
UTF_32BEenum constant in TruffleString.Encoding UTF-32BE.
UTF_32LEenum constant in TruffleString.Encoding UTF-32LE.
UTF_7enum constant in TruffleString.Encoding UTF-7.
UTF_8enum constant in TruffleString.Encoding UTF-8.
V
V1enum constant in BytecodeVersion Original Bytecode DSL behaviour on initial release.
V2enum constant in BytecodeVersion Distinguishes illegal locals from valid null values in the BytecodeNode local APIs.
VALIDenum constant in TruffleString.CodeRange This string is encoded correctly (IsValidNode returns true), and if this code range is precise, at least one codepoint is outside the largest other applicable code range (e.g.
valid()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field Values of validWhen() for which the incoming field value is valid.
validate(Node)method in InlineSupport.InlinableField Validates a receiver of an inlined field.
validWhen()element in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field Names the template-variable field on the same virtual-expanded argument that controls whether this field's incoming value is valid.
VIRTUALenum constant in HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind The argument is expanded into its subfields without the original argument.
virtual(boolean)method in TruffleThreadBuilder Specifies whether to create a virtual thread (Thread#ofVirtual()) or a regular platform thread (the default) for the threads created by this builder.
IVirtualFrameinterface in com.oracle.truffle.api.frame Represents a frame containing values of local variables of the guest language.
wasFalse(Node)method in InlinedCountingConditionProfile Returns true if the profile(Node, boolean) method ever received a false value, otherwise false.
wasFalse(Node)method in InlinedLoopConditionProfile Returns true if the profile(Node, boolean) method ever received a false value, otherwise false.
wasTrue(Node)method in InlinedConditionProfile Returns true if the profile(Node, boolean) method ever received a true value, otherwise false.
wasTrue(Node)method in InlinedCountingConditionProfile Returns true if the profile(Node, boolean) method ever received a true value, otherwise false.
wasTrue(Node)method in InlinedLoopConditionProfile Returns true if the profile(Node, boolean) method ever received a true value, otherwise false.
weak()element in Cached If set to true then weak references will be used to refer to this cached value in the generated node.
website()element in TruffleInstrument.Registration A link to a website with more information about the instrument.
website()element in TruffleLanguage.Registration A link to a website with more information about the language.
WINDOWSenum constant in InternalResource.OS The Windows operating system.
Windows_1250enum constant in TruffleString.Encoding Windows-1250.
Windows_1251enum constant in TruffleString.Encoding Windows-1251.
Windows_1252enum constant in TruffleString.Encoding Windows-1252.
Windows_1253enum constant in TruffleString.Encoding Windows-1253.
Windows_1254enum constant in TruffleString.Encoding Windows-1254.
Windows_1255enum constant in TruffleString.Encoding Windows-1255.
Windows_1256enum constant in TruffleString.Encoding Windows-1256.
Windows_1257enum constant in TruffleString.Encoding Windows-1257.
Windows_1258enum constant in TruffleString.Encoding Windows-1258.
Windows_31Jenum constant in TruffleString.Encoding Windows-31J.
Windows_874enum constant in TruffleString.Encoding Windows-874.
with()element in Executed The with() property allows a node to pass the result of one child's executable as an input to another child's executable.
WITH_SOURCEfield in BytecodeConfig Materialize source information.
WITH_SOURCE_CONTENTfield in BytecodeConfig Materialize source information and load content.
WithMaskFactory()constructor in TruffleStringFactory.WithMaskFactory Creates a new WithMaskFactory instance.
IWrapperNodeinterface in com.oracle.truffle.api.instrumentation Nodes that the instrumentation framework inserts into guest language ASTs (between instrumentable guest language nodes and their parents) for the purpose of interposing on execution events and reporting them via the instrumentation framework.
writeBufferByte(Object, long, byte)method in InteropLibrary Writes the given byte from the receiver object at the given byte offset from the start of the buffer.
writeBufferDouble(Object, ByteOrder, …)method in InteropLibrary Writes the given double from the receiver object in the given byte order at the given byte offset from the start of the buffer.
writeBufferFloat(Object, ByteOrder, …)method in InteropLibrary Writes the given float from the receiver object in the given byte order at the given byte offset from the start of the buffer.
writeBufferInt(Object, ByteOrder, …)method in InteropLibrary Writes the given int from the receiver object in the given byte order at the given byte offset from the start of the buffer.
writeBufferLong(Object, ByteOrder, …)method in InteropLibrary Writes the given long from the receiver object in the given byte order at the given byte offset from the start of the buffer.
writeBufferShort(Object, ByteOrder, …)method in InteropLibrary Writes the given short from the receiver object in the given byte order at the given byte offset from the start of the buffer.