Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AARCH64 - Enum constant in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
The ARMv8 64-bit architecture.
- aboveOrEqual(int) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- aboveOrEqual(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- aboveThan(int) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- aboveThan(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- AbstractTruffleException - Exception Class 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 for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException.
- AbstractTruffleException(AbstractTruffleException) - Constructor for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException initialized from the given prototype.
- AbstractTruffleException(Node) - Constructor for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException with given location.
- AbstractTruffleException(String) - Constructor for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException with given message.
- AbstractTruffleException(String, Node) - Constructor for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException with given message and location.
- AbstractTruffleException(String, Throwable, int, Node) - Constructor for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException.
- AbstractTruffleString - Class in com.oracle.truffle.api.strings
-
Abstract base class for Truffle strings.
- accept(NodeVisitor) - Method in class com.oracle.truffle.api.nodes.Node
-
Invokes the
NodeVisitor.visit(Node)
method for this node and recursively also for all child nodes. - acceptExecute(int, Class<?>) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
-
Called when a node specialization was executed.
- acceptExecute(int, Class<?>...) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
-
Called when a node specialization was executed.
- acceptExecute(int, Class<?>, Class<?>) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
-
Called when a node specialization was executed.
- accepts(DynamicObject) - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Returns
true
if thisPropertyGetter
can be used with the given receiver object to get the property's value. - accepts(Object) - Method in class com.oracle.truffle.api.library.Library
-
Returns
true
if this library instance supports sending messages with the given receiver. - Access() - Constructor for class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- Access(Object) - Constructor for class com.oracle.truffle.api.ThreadLocalAction.Access
-
Constructor for framework use only.
- Access(AbstractPolyglotImpl) - Constructor for class com.oracle.truffle.api.ThreadLocalAction.Access
-
Constructor for framework use only.
- Access to execution state - Search tag in class com.oracle.truffle.api.debug.SuspendedEvent
- Section
- acosh(double) - Static method in class com.oracle.truffle.api.utilities.MathUtils
-
Computes the inverse (area) hyperbolic cosine (acosh) of a
double
value. - add(int) - Method in interface org.graalvm.word.Pointer
-
Returns a Pointer whose value is
(this + val)
. - add(int) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this + val)
. - add(int) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this + val)
. - add(JSONHelper.JSONStringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
-
Deprecated.
- add(E) - Method in interface org.graalvm.collections.EconomicSet
-
Adds
element
to this set if it is not already present. - add(Boolean) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
-
Deprecated.
- add(Class<T>, T) - Static method in class org.graalvm.nativeimage.ImageSingletons
-
Add a singleton to the registry.
- add(Number) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
-
Deprecated.
- add(String) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
-
Deprecated.
- add(String, JSONHelper.JSONStringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
-
Deprecated.
- add(String, Boolean) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
-
Deprecated.
- add(String, Number) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
-
Deprecated.
- add(String, String) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
-
Deprecated.
- add(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this + val)
. - add(UnsignedWord) - Method in interface org.graalvm.word.Pointer
-
Returns a Pointer whose value is
(this + val)
. - add(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this + val)
. - add(T) - Method in class org.graalvm.collections.LockFreePool
-
Adds an element to this pool.
- addActiveListener(Consumer<Boolean>) - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Add a listener that is notified when
active
value of this reporter changes. - addAll(Iterable<E>) - Method in interface org.graalvm.collections.EconomicSet
-
Adds all of the elements in
values
to this set if they're not already present. - addAll(Iterator<E>) - Method in interface org.graalvm.collections.EconomicSet
-
Adds all of the elements enumerated by
iterator
to this set if they're not already present. - addAll(EconomicSet<E>) - Method in interface org.graalvm.collections.EconomicSet
-
Adds all of the elements in
other
to this set if they're not already present. - addBreakpointAddedListener(Consumer<Breakpoint>) - Method in class com.oracle.truffle.api.debug.Debugger
-
Add a listener that is notified when a new breakpoint is added into
list of breakpoints
. - addBreakpointRemovedListener(Consumer<Breakpoint>) - Method in class com.oracle.truffle.api.debug.Debugger
-
Add a listener that is notified when a breakpoint is removed from
list of breakpoints
. - addConstantProperty(Object, Object, int) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Adds a property with a constant value to the shape.
- addConstantProperty(Object, Object, int) - Method in class com.oracle.truffle.api.object.Shape.DerivedBuilder
-
Adds a property with a constant value to the shape.
- addEnumKeyword() - Element in annotation interface org.graalvm.nativeimage.c.constant.CEnum
-
Add the C
enum
keyword to the name specified inCEnum.value()
. - addProperty(Property) - Method in class com.oracle.truffle.api.object.Shape
-
Add a new property in the map, yielding a new or cached Shape object.
- addResource(Module, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
-
Make Java resource
resourcePath
frommodule
available at run time. - addResource(Module, String, byte[]) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
-
Inject a Java resource at
resourcePath
inmodule
with the specifiedresourceContent
. - addResourceBundle(Module, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
-
Make Java ResourceBundle that is specified by a
bundleName
from modulemodule
available at run time. - addResourceBundle(Module, String, Locale[]) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
-
Make Java ResourceBundle that is specified by a
baseBundleName
andlocales
from modulemodule
available at run time. - addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOfArrayElement(int) - Method in interface org.graalvm.nativeimage.PinnedObject
-
Returns a pointer to the array element with the specified index.
- addressOfObject() - Method in interface org.graalvm.nativeimage.PinnedObject
-
Returns the raw address of the pinned object.
- addSlot(FrameSlotKind, Object, Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor.Builder
-
Adds an indexed frame slot to the
FrameDescriptor
. - addSlots(int, FrameSlotKind) - Method in class com.oracle.truffle.api.frame.FrameDescriptor.Builder
-
Adds the given number of consecutive indexed slots to the
FrameDescriptor
, and initializes them with the given kind. - addStructKeyword() - Element in annotation interface org.graalvm.nativeimage.c.struct.CStruct
-
Add the C "struct" keyword to the name specified in
CStruct.value()
. - addToHostClassPath(TruffleFile) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Adds an entry to the Java host class loader.
- adopt() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Specifies whether the cached parameter values of type
NodeInterface
should be adopted as its child by the current node. - adoptChildren() - Method in class com.oracle.truffle.api.nodes.Node
- advance() - Method in interface org.graalvm.collections.UnmodifiableMapCursor
-
Advances to the next entry.
- AFTER - Enum constant in enum class com.oracle.truffle.api.debug.SuspendAnchor
-
Denotes suspension just after execution of a guest language source location.
- afterAnalysis(Feature.AfterAnalysisAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for initializations after analysis and before universe creation.
- afterCompilation(Feature.AfterCompilationAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for initializations after compilation, i.e., before the native image is written.
- afterHeapLayout(Feature.AfterHeapLayoutAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for initializations after the native image heap and code layout.
- afterImageWrite(Feature.AfterImageWriteAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for altering the image (or shared object) that the linker command produced.
- afterLeave(Runnable) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies after leave notification for the threads created by this builder.
- afterRegistration(Feature.AfterRegistrationAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for initializations after all features have been registered and all options have been parsed; but before any initializations for the static analysis have happened.
- Alias - Annotation Interface in com.oracle.svm.core.annotate
-
Mechanism for referring to fields and methods otherwise inaccessible due to Java language access control rules.
- Alignment - Search tag in class com.oracle.truffle.api.memory.ByteArraySupport
- Section
- ALL - Static variable in class org.graalvm.polyglot.HostAccess
-
Predefined host access policy that allows full unrestricted access to public methods or fields of public host classes.
- ALL - Static variable in class org.graalvm.polyglot.io.IOAccess
-
Provides guest language full access to host IO.
- ALL - Static variable in class org.graalvm.polyglot.PolyglotAccess
-
Provides guest languages full access to other languages using polyglot evaluation and binding builtins.
- allocate(int) - Method in interface com.oracle.truffle.api.strings.NativeAllocator
-
Allocates a new native buffer of
byteSize
bytes. - AllocationEvent - Class in com.oracle.truffle.api.instrumentation
-
An event representing an allocation of a guest language value.
- AllocationEventFilter - Class in com.oracle.truffle.api.instrumentation
-
An instrumentation filter of allocations of guest language values.
- AllocationEventFilter.Builder - Class in com.oracle.truffle.api.instrumentation
-
A builder of
AllocationEventFilter
. - AllocationListener - Interface in com.oracle.truffle.api.instrumentation
-
Listener to be notified about guest language value allocations.
- AllocationReporter - Class in com.oracle.truffle.api.instrumentation
-
Reporter of guest language value allocations.
- allocator() - Method in class org.graalvm.collections.LockFreePrefixTree
- Allocator() - Constructor for class org.graalvm.collections.LockFreePrefixTree.Allocator
- allowAccess(Executable) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allows access to a given constructor or method.
- allowAccess(Field) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allows access to a given field.
- allowAccessAnnotatedBy(Class<? extends Annotation>) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allows access to public constructors, methods or fields of public classes that were annotated by the given annotation class.
- allowAccessInheritance(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allows the guest application to inherit access to allowed methods, i.e.
- allowAllAccess(boolean) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets the default value for all privileges.
- allowAllClassImplementations(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allow guest languages to implement (extend) any Java class.
- allowAllImplementations(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allow guest languages to implement any Java interface.
- allowArrayAccess(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allows the guest application to access arrays as values with
array elements
. - allowBigIntegerNumberAccess(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allows the guest application to access
BigInteger
as anumber
. - allowBindingsAccess(String) - Method in class org.graalvm.polyglot.PolyglotAccess.Builder
-
Allows access to polyglot bindings for a language.
- allowBufferAccess(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allows the guest application to access
ByteBuffer
s as values withbuffer elements
. - allowCreateProcess(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies creating processes in this context.
- allowCreateProcess(boolean) - Method in class org.graalvm.polyglot.Context.Builder
-
If
true
, allows guest language to execute external processes. - allowCreateThread(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies creating threads for this context.
- allowCreateThread(boolean) - Method in class org.graalvm.polyglot.Context.Builder
-
If
true
, allows guest languages to create new threads. - allowEnvironmentAccess(EnvironmentAccess) - Method in class org.graalvm.polyglot.Context.Builder
-
Allow environment access using the provided policy.
- allowEval(String, String) - Method in class org.graalvm.polyglot.PolyglotAccess.Builder
-
Allows evaluation of code by one language of another.
- allowEvalBetween(String...) - Method in class org.graalvm.polyglot.PolyglotAccess.Builder
-
Allows bidirectional evaluation of code between the given languages.
- allowExperimentalOptions(boolean) - Method in class org.graalvm.polyglot.Context.Builder
-
Allow experimental options to be used for language options.
- allowExperimentalOptions(boolean) - Method in class org.graalvm.polyglot.Engine.Builder
-
Allow experimental options to be used for instruments and engine options.
- allowHostAccess(boolean) - Method in class org.graalvm.polyglot.Context.Builder
-
Deprecated.
- allowHostAccess(HostAccess) - Method in class org.graalvm.polyglot.Context.Builder
-
Configures which public constructors, methods or fields of public classes are accessible by guest applications.
- allowHostClassLoading(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies loading new host classes in this context.
- allowHostClassLoading(boolean) - Method in class org.graalvm.polyglot.Context.Builder
-
If host class loading is enabled, then the guest language is allowed to load new host classes via jar or class files.
- allowHostClassLookup(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies loading new host classes in this context.
- allowHostClassLookup(Predicate<String>) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets a filter that specifies the Java host classes that can be looked up by the guest application.
- allowHostFileAccess(boolean) - Method in class org.graalvm.polyglot.io.IOAccess.Builder
-
If
true
, it allows the guest language unrestricted access to files on the host system. - allowHostSocketAccess(boolean) - Method in class org.graalvm.polyglot.io.IOAccess.Builder
-
If
true
, it allows the guest language unrestricted access to host system sockets. - allowImplementations(Class<?>) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allow implementations of this type by the guest language.
- allowImplementationsAnnotatedBy(Class<? extends Annotation>) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allow implementations of types annotated with the given annotation.
- allowImplicitCastIntToDouble(boolean) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Allows values to be implicitly cast from int to double in this shape and any derived shapes.
- allowImplicitCastIntToLong(boolean) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Allows values to be implicitly cast from int to long in this shape and any derived shapes.
- allowInheritEnvironmentAccess(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies access to the parent context's environment in this context.
- allowInlining() - Element in annotation interface com.oracle.truffle.api.CompilerDirectives.TruffleBoundary
-
Considers this Truffle boundary invoke as an inlining candidate.
- allowInnerContextOptions(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies options for inner contexts created by this context.
- allowInnerContextOptions(boolean) - Method in class org.graalvm.polyglot.Context.Builder
-
Allows this context to spawn inner contexts that may change option values set for the outer context.
- allowInternalResourceAccess(FileSystem) - Static method in interface org.graalvm.polyglot.io.FileSystem
-
Decorates the given
fileSystem
by an implementation that forwards access to the internal resources to the default file system. - allowIO(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies using IO in this context.
- allowIO(boolean) - Method in class org.graalvm.polyglot.Context.Builder
-
Deprecated.
- allowIO(IOAccess) - Method in class org.graalvm.polyglot.Context.Builder
-
Configures guest language access to host IO.
- allowIterableAccess(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
- allowIteratorAccess(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
- allowLanguageHomeAccess(FileSystem) - Static method in interface org.graalvm.polyglot.io.FileSystem
-
Deprecated.
- allowListAccess(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allows the guest application to access lists as values with
array elements
anditerators
. - allowMapAccess(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
- allowMutableTargetMappings(HostAccess.MutableTargetMapping...) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allows host object mappings of mutable target types, such as
List
,Map
,Iterator
andIterable
based on theHostAccess.MutableTargetMapping
. - AllowNarrowingCast - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Allows a method annotated with
CField
to have a value type that is narrower (smaller number of bits) than the C type. - allowNativeAccess(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies using native access in this context.
- allowNativeAccess(boolean) - Method in class org.graalvm.polyglot.Context.Builder
-
Allows guest languages to access the native interface.
- allowPolyglotAccess(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies access to polyglot languages in this context.
- allowPolyglotAccess(PolyglotAccess) - Method in class org.graalvm.polyglot.Context.Builder
-
Allow polyglot access using the provided policy.
- allowPublicAccess(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Allows unrestricted access to all public constructors, methods or fields of public classes.
- allowUncached() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Allows the
Cached.value()
to be used forCached.uncached()
. - allowUncached() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
-
Allow this child node to be used in uncached mode.
- allowValueSharing(boolean) - Method in class org.graalvm.polyglot.Context.Builder
-
Enables or disables sharing of any
value
between contexts. - AllowWideningCast - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Allows a method annotated with
CField
to have a value type that is wider (larger number of bits) than the C type. - allPropertiesMatch(Predicate<Property>) - Method in class com.oracle.truffle.api.object.Shape
-
Tests if all properties in the shape match the provided predicate.
- ALWAYS_VALID - Static variable in interface com.oracle.truffle.api.Assumption
-
An assumption that is always valid and fails with an
UnsupportedOperationException
if invalidated. - alwaysInlineCached() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateCached
- AMD64 - Enum constant in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
The x86 64-bit architecture.
- anchorStart(boolean) - Method in class com.oracle.truffle.api.instrumentation.NearestSectionFilter.Builder
-
Specify the nearest anchor.
- and(int) - Method in interface org.graalvm.word.Pointer
-
Returns a Pointer whose value is
(this & val)
. - and(int) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this & val)
. - and(int) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this & val)
. - and(SourceSectionFilter) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Adds all the filters defined in the given
filter
. - and(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this & val)
. - and(UnsignedWord) - Method in interface org.graalvm.word.Pointer
-
Returns a Pointer whose value is
(this & val)
. - and(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this & val)
. - ANDROID_AARCH64() - Constructor for class org.graalvm.nativeimage.Platform.ANDROID_AARCH64
-
Instantiates a marker instance of this platform.
- AnnotateOriginal - Annotation Interface in com.oracle.svm.core.annotate
-
This annotation allows to add additional annotations to existing methods but keep the implementation as it is.
- AnnotationAccess - Class in org.graalvm.nativeimage
-
This class provides methods to query annotation information on
AnnotatedElement
s while trying to prevent, at image build time, side-effecting changes that impact the analysis results. - any() - Static method in class org.graalvm.word.LocationIdentity
-
Indicates that the given location is the union of all possible mutable locations.
- ANY - Static variable in class com.oracle.truffle.api.instrumentation.AllocationEventFilter
-
A filter that matches all allocations in all languages.
- ANY - Static variable in class com.oracle.truffle.api.instrumentation.SourceFilter
-
A filter that matches any source.
- ANY - Static variable in class com.oracle.truffle.api.instrumentation.SourceSectionFilter
-
A filter that matches everything.
- ANY_LOCATION - Static variable in class org.graalvm.word.LocationIdentity
-
Indicates that the given location is the union of all possible mutable locations.
- AOT - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Forces ahead-of-time initialization.
- AOTSupport - Class in com.oracle.truffle.api.dsl
-
Helper class to prepare AOT enabled nodes for AOT in
RootNode.prepareForAOT()
. - appendArgument(String) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
-
Appends an isolate argument.
- appendByteUncached(byte) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendByteNode
. - appendCharUTF16Uncached(char) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendCharUTF16Node
. - appendCodePointUncached(int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendCodePointNode
. - appendCodePointUncached(int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendCodePointNode
. - appendCodePointUncached(int, int, boolean) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendCodePointNode
. - appendIntNumberUncached(int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendIntNumberNode
. - appendJavaStringUTF16Uncached(String) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendJavaStringUTF16Node
. - appendJavaStringUTF16Uncached(String, int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendJavaStringUTF16Node
. - appendLongNumberUncached(long) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendLongNumberNode
. - appendStringUncached(TruffleString) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendStringNode
. - appendSubstringByteIndexUncached(TruffleString, int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendSubstringByteIndexNode
. - appendTo(StringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
-
Deprecated.
- appendTo(StringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
-
Deprecated.
- appendTo(StringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder
-
Deprecated.
- appendValue(StringBuilder, Object) - Static method in class com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder
-
Deprecated.
- apply(AbstractTruffleString, int, int, TruffleString.Encoding, TruffleString.Encoding) - Method in interface com.oracle.truffle.api.strings.TranscodingErrorHandler
-
Transcoding error handler implementation.
- apply(T) - Method in interface com.oracle.truffle.api.TruffleSafepoint.CompiledInterruptible
-
Runs the interruptable method for a given object.
- apply(T) - Method in interface com.oracle.truffle.api.TruffleSafepoint.CompiledInterruptibleFunction
-
Runs the interruptible method for a given object.
- apply(T) - Method in interface com.oracle.truffle.api.TruffleSafepoint.Interruptible
-
Runs the interruptable method for a given object.
- apply(T) - Method in interface com.oracle.truffle.api.TruffleSafepoint.InterruptibleFunction
-
Runs the interruptible method for a given object.
- areOptionsCompatible(OptionValues, OptionValues) - Method in class com.oracle.truffle.api.TruffleLanguage
- arguments(String, String[]) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets the guest language application arguments for a language context.
- arguments(String, String[]) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets the guest language application arguments for a language
context
. - ArityException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if a executable or instantiable object was provided with the wrong number of arguments.
- array() - Static method in class com.oracle.truffle.api.utilities.JSONHelper
-
Deprecated.
- ARRAY_TO_JAVA_LIST - Enum constant in enum class org.graalvm.polyglot.HostAccess.MutableTargetMapping
-
Enables default mapping of guest object arrays to host object
List
. - ArrayBaseOffset - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The int or long field is set to the offset of the first array element of the array class
RecomputeFieldValue.declClass()
, as it would be computed byUnsafe.arrayBaseOffset(Class)
. - ArrayIndexScale - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The int or long field is set to the element size array class
RecomputeFieldValue.declClass()
, as it would be computed byUnsafe.arrayIndexScale(Class)
. - ArrayIndexShift - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The int or long field is set to the log2 of
RecomputeFieldValue.Kind.ArrayIndexScale
. - ArrayUtils - Class 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. - as(Class<T>) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Deprecated.Use
DebugValue.toDisplayString()
instead. - as(Class<T>) - Method in class org.graalvm.polyglot.Value
-
Maps a polyglot value to a value with a given Java target type.
- as(TypeLiteral<T>) - Method in class org.graalvm.polyglot.Value
-
Maps a polyglot value to a given Java target type literal.
- asBigInteger() - Method in class com.oracle.truffle.api.debug.DebugValue
- asBigInteger() - Method in class org.graalvm.polyglot.Value
- asBigInteger(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java BigInteger if the number fits without loss of precision.
- asBoolean() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns a
boolean
representation of this value if it isboolean
. - asBoolean() - Method in class org.graalvm.polyglot.Value
-
Returns a
boolean
representation of this value if it isboolean
. - asBoolean(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the Java boolean value if the receiver represents a
boolean
like value. - asBoxedGuestValue(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Wraps primitive interop values in a TruffleObject exposing their methods as members.
- asByte() - Method in class com.oracle.truffle.api.debug.DebugValue
- asByte() - Method in class org.graalvm.polyglot.Value
- asByte(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java byte primitive if the number fits without loss of precision.
- asByteBuffer(PointerBase, int) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Creates a
ByteBuffer
that refers to the native memory at the specified address. - ASCII - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
All codepoints in this string are part of the Basic Latin Unicode block, also known as ASCII (0x00 - 0x7f).
- asDate() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns this value as date if it is a
date
. - asDate() - Method in interface org.graalvm.polyglot.proxy.ProxyDate
-
Returns the date information.
- asDate() - Method in interface org.graalvm.polyglot.proxy.ProxyInstant
-
Returns the date information.
- asDate() - Method in class org.graalvm.polyglot.Value
-
Returns this value as date if this object represents a
date
. - asDate(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver as date if this object represents a
date
. - asDouble() - Method in class com.oracle.truffle.api.debug.DebugValue
- asDouble() - Method in class org.graalvm.polyglot.Value
- asDouble(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java double primitive if the number fits without loss of precision.
- asDuration() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns this value as duration if this object represents a
duration
. - asDuration() - Method in interface org.graalvm.polyglot.proxy.ProxyDuration
-
Returns the duration information.
- asDuration() - Method in class org.graalvm.polyglot.Value
-
Returns this value as duration if this object represents a
duration
. - asDuration(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver as duration if this object represents a
duration
. - asFloat() - Method in class com.oracle.truffle.api.debug.DebugValue
- asFloat() - Method in class org.graalvm.polyglot.Value
- asFloat(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java float primitive if the number fits without loss of precision.
- asGuestValue(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Converts a existing Java host object to a guest language value.
- asHostException() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns the original Java host exception that caused this exception.
- asHostException(Throwable) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Unwraps a host exception thrown by a Java method invocation.
- asHostObject() - Method in class org.graalvm.polyglot.Value
-
Returns the original Java host language object.
- asHostObject(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the java host representation of a Truffle guest object if it represents a Java host language object.
- asHostSymbol(Class<?>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Converts a Java class to a host symbol as if by
lookupHostSymbol(symbolClass.getName())
but without an actual lookup. - asinh(double) - Static method in class com.oracle.truffle.api.utilities.MathUtils
-
Computes the inverse (area) hyperbolic sine (asinh) of a
double
value. - asInLanguage(LanguageInfo) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns a debug value that presents itself as seen by the provided language.
- asInstant() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns this value as instant if it is an
instant
. - asInstant() - Method in interface org.graalvm.polyglot.proxy.ProxyInstant
-
Returns the instant information.
- asInstant() - Method in class org.graalvm.polyglot.Value
-
Returns this value as instant if this object represents an
instant
. - asInstant(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver as instant if this object represents an
instant
. - asInt() - Method in class com.oracle.truffle.api.debug.DebugValue
- asInt() - Method in class org.graalvm.polyglot.Value
- asInt(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java int primitive if the number fits without loss of precision.
- asLong() - Method in class com.oracle.truffle.api.debug.DebugValue
- asLong() - Method in class org.graalvm.polyglot.Value
- asLong(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java long primitive if the number fits without loss of precision.
- asManagedMutableTruffleStringUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.AsManagedNode
. - asManagedTruffleStringUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.AsManagedNode
. - asManagedTruffleStringUncached(TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.AsManagedNode
. - asMutableTruffleStringUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.AsMutableTruffleStringNode
. - asNativePointer() - Method in class org.graalvm.polyglot.Value
-
Returns the value of the pointer as
long
value. - asNativeUncached(NativeAllocator, TruffleString.Encoding, boolean, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.AsNativeNode
. - asPointer() - Method in interface org.graalvm.polyglot.proxy.ProxyNativeObject
-
Returns the native pointer value that this object represents.
- asPointer(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the pointer value as long value if the receiver represents a pointer like value.
- asProxyObject() - Method in class org.graalvm.polyglot.Value
-
Returns the unboxed instance of the
Proxy
. - assertAdopted() - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Utility for libraries to require adoption before cached versions of nodes can be executed.
- assertAdopted(Node) - Static method in class com.oracle.truffle.api.library.LibraryExport
-
Internal method for generated code only.
- assertAdopted(Node) - Static method in class com.oracle.truffle.api.library.LibraryFactory
-
Internal method for generated code only.
- assertAdopted(Node) - Static method in class com.oracle.truffle.api.nodes.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) - Static method in class com.oracle.truffle.api.dsl.DSLSupport
-
Helper method for DSL generated code to assert idempotence.
- assertions() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary
-
Specifies an assertion wrapper class that can be used to verify pre and post conditions of a library.
- assertRecursion(Node, int) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Fails with an assertion if the exact
node type
is used as a parent. - asShort() - Method in class com.oracle.truffle.api.debug.DebugValue
- asShort() - Method in class org.graalvm.polyglot.Value
- asShort(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java short primitive if the number fits without loss of precision.
- asString() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the
String
value if this value represents a string. - asString() - Method in class org.graalvm.polyglot.Value
- asString(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the Java string value if the receiver represents a
string
like value. - AssumedValue<T> - Class in com.oracle.truffle.api.utilities
-
A value that the compiler can assume is constant, but can be changed by invalidation.
- AssumedValue(String, T) - Constructor for class com.oracle.truffle.api.utilities.AssumedValue
- AssumedValue(T) - Constructor for class com.oracle.truffle.api.utilities.AssumedValue
- Assumption - Interface 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 annotation interface com.oracle.truffle.api.dsl.Specialization
-
Declares assumption guards that optimistically assume that the state of an
Assumption
remains valid. - asTime() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns this value as time if it is a
time
. - asTime() - Method in interface org.graalvm.polyglot.proxy.ProxyInstant
-
Returns the time information.
- asTime() - Method in interface org.graalvm.polyglot.proxy.ProxyTime
-
Returns the time information.
- asTime() - Method in class org.graalvm.polyglot.Value
-
Returns this value as time if this object represents a
time
. - asTime(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver as time if this object represents a
time
. - asTimeZone() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns this value as timestamp if it represents a
timezone
. - asTimeZone() - Method in interface org.graalvm.polyglot.proxy.ProxyInstant
-
Returns the timezone information.
- asTimeZone() - Method in interface org.graalvm.polyglot.proxy.ProxyTimeZone
-
Returns the timezone information.
- asTimeZone() - Method in class org.graalvm.polyglot.Value
-
Returns this value as timestamp if this object represents a
timezone
. - asTimeZone(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver as timestamp if this object represents a
timezone
. - asTruffleString(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the
TruffleString
value if the receiver represents astring
like value. - asTruffleStringUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromByteArrayNode
. - asValue(Object) - Method in class org.graalvm.polyglot.Context
-
Converts a host value to a polyglot
value
representation. - asValue(Object) - Static method in class org.graalvm.polyglot.Value
-
Converts a Java host value to a polyglot value.
- at(long) - Method in class org.graalvm.collections.SeqLockPrefixTree.Node
-
Get existing (or create if missing) child with the given key.
- at(LockFreePrefixTree.Allocator, long) - Method in class org.graalvm.collections.LockFreePrefixTree.Node
-
Get existing (or create if missing) child with the given key.
- atanh(double) - Static method in class com.oracle.truffle.api.utilities.MathUtils
-
Computes the inverse (area) hyperbolic tangent (atanh) of a
double
value. - atomic(Runnable) - Method in class com.oracle.truffle.api.nodes.Node
- atomic(Callable<T>) - Method in class com.oracle.truffle.api.nodes.Node
- AtomicFieldUpdaterOffset - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
Special support for field offsets used by java.util.concurrent.atomic.AtomicXxxFieldUpdater.
- attach() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
-
Attach this binding to receive the associated notifications by the
subscriber
. - attach(Engine) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
-
Creates a new execution listener using the current builder configuration and attaches it to an engine.
- ATTACH_THREAD - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method attaches the current thread to an isolate.
- attachAllocationListener(AllocationEventFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach a
listener
to be notified about allocations of guest language values. - attachContextsListener(T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach a
listener
to be notified about changes in contexts in guest language application. - attachCurrentThread(Isolate) - Static method in class org.graalvm.nativeimage.Isolates
-
Attaches the current thread to the passed isolate.
- attachErrConsumer(T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach an output stream as a consumer of the
error output
. - attachExecuteSourceListener(SourceFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
- attachExecutionEventFactory(NearestSectionFilter, SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts execution event notification for the nearest
SourceSection
as specified by theNearestSectionFilter
. - attachExecutionEventFactory(SourceSectionFilter, SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts execution event notification for a given
event filter
andfactory
. - attachExecutionEventFactory(SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts execution event notification for a given
event filter
andfactory
. - attachExecutionEventListener(SourceSectionFilter, SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Deprecated.inputFilters do not work for execution event listeners Use
Instrumenter.attachExecutionEventFactory(SourceSectionFilter, SourceSectionFilter, ExecutionEventNodeFactory)
or useInstrumenter.attachExecutionEventListener(SourceSectionFilter, ExecutionEventListener)
instead. - attachExecutionEventListener(SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts execution event notification for a given
event filter
andlistener
. - attachLoadSourceListener(SourceFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
- attachLoadSourceListener(SourceSectionFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
- attachLoadSourceSectionListener(NearestSectionFilter, SourceSectionFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts notifications for the nearest
SourceSection
as specified by theNearestSectionFilter
and returns a binding that can be used to terminate notifications. - attachLoadSourceSectionListener(SourceSectionFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts notifications for each
SourceSection
in every newly loadedSource
and returns a binding that can be used to terminate notifications. - attachOutConsumer(T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach an output stream as a consumer of the
standard output
. - attachThreadsActivationListener(ThreadsActivationListener) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach a
listener
to be notified about when a thread gets entered or left in guest language applications. - attachThreadsListener(T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach a
listener
to be notified about changes in threads in guest language application. - Attributes - Search tag in class com.oracle.truffle.api.source.Source
- Section
- Attributes - Search tag in class org.graalvm.polyglot.Source
- Section
- AutomaticFeature - Annotation Interface in com.oracle.svm.core.annotate
-
Deprecated, for removal: This API element is subject to removal in a future version.
- auxiliaryImagePath(String) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
-
Sets the file path to an auxiliary image which should be loaded in addition to the main image, or
null
if no such image should be loaded. - auxiliaryImageReservedSpaceSize(UnsignedWord) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
-
Sets the size in bytes of an address space to reserve for loading an auxiliary image in addition to the main image, or 0 if no space should be reserved.
B
- bailout(String) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Bails out of a compilation (e.g., for guest language features that should never be compiled).
- Basic Usage - Search tag in annotation interface com.oracle.truffle.api.library.GenerateLibrary
- Section
- BEFORE - Enum constant in enum class com.oracle.truffle.api.debug.SuspendAnchor
-
Denotes suspension just before execution of a guest language source location.
- beforeAnalysis(Feature.BeforeAnalysisAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for initializations before the static analysis.
- beforeCompilation(Feature.BeforeCompilationAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for initializations before compilation.
- beforeEnter(Runnable) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies before enter notification for the threads created by this builder.
- beforeHeapLayout(Feature.BeforeHeapLayoutAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for initializations before the native image heap and code layout.
- beforeImageWrite(Feature.BeforeImageWriteAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for altering the linker command after the native image has been built and before it is written.
- beforeUniverseBuilding(Feature.BeforeUniverseBuildingAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for code that needs to run before universe building, but after hosted meta-access has been created.
- belowOrEqual(int) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- belowOrEqual(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- belowThan(int) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- belowThan(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- BEST_EFFORT - Enum constant in enum class com.oracle.truffle.api.strings.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) - Static method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange
-
Constructs a new index range between one a first index inclusive and a second index exclusive.
- Big5 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Big5.
- Big5_HKSCS - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Big5-HKSCS.
- Big5_UAO - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Big5-UAO.
- bigEndian() - Static method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Enables accessing multibyte Java primitives from byte arrays in big-endian order.
- Bind - Annotation Interface in com.oracle.truffle.api.dsl
-
Binds and executes an expression at most once for every execution of the node.
- Bindings - Search tag in class org.graalvm.polyglot.Context
- Section
- bits() - Element in annotation interface com.oracle.truffle.api.dsl.InlineSupport.RequiredField
-
Specifies the number of bits needed for
state fields
. - bitwiseOrValue(long) - Method in class org.graalvm.collections.LockFreePrefixTree.Node
-
Atomically does the bitwise-or on the current value.
- blackhole(boolean) - Static method in class com.oracle.truffle.api.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) - Static method in class com.oracle.truffle.api.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) - Static method in class com.oracle.truffle.api.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) - Static method in class com.oracle.truffle.api.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) - Static method in class com.oracle.truffle.api.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) - Static method in class com.oracle.truffle.api.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) - Static method in class com.oracle.truffle.api.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) - Static method in class com.oracle.truffle.api.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) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
- BlockNode<T> - Class in com.oracle.truffle.api.nodes
-
Represents a standard node for guest language blocks.
- BlockNode(T[]) - Constructor for class com.oracle.truffle.api.nodes.BlockNode
-
Internal constructor for implementations.
- BlockNode.ElementExecutor<T> - Interface in com.oracle.truffle.api.nodes
-
Represents a contract how block element nodes can be executed.
- BMP - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
All codepoints in this string are part of the Unicode Basic Multilingual Plane (BMP) ( 0x0000 - 0xffff).
- Boolean - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- BooleanLocation - Interface in com.oracle.truffle.api.object
-
Deprecated.
- BranchProfile - Class in com.oracle.truffle.api.profiles
-
BranchProfiles are profiles to speculate on branches that are unlikely to be visited.
- break - Search tag in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
- Section
- BREAK_LOOP_STATUS - Static variable in interface com.oracle.truffle.api.nodes.RepeatingNode
-
A value indicating that the loop should not be repeated.
- Breakpoint - Class 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.
- Breakpoint.Builder - Class in com.oracle.truffle.api.debug
-
Builder implementation for a new
breakpoint
. - Breakpoint.ExceptionBuilder - Class in com.oracle.truffle.api.debug
-
Builder implementation for a new
breakpoint
ofEXCEPTION
kind. - Breakpoint.Kind - Enum Class in com.oracle.truffle.api.debug
-
Specifies a breakpoint kind.
- Breakpoint.ResolveListener - Interface in com.oracle.truffle.api.debug
-
This listener is called when a breakpoint is resolved at the target location.
- Breakpoint lifetime - Search tag in class com.oracle.truffle.api.debug.Breakpoint
- Section
- breakpointResolved(Breakpoint, SourceSection) - Method in interface com.oracle.truffle.api.debug.Breakpoint.ResolveListener
-
Notify about a breakpoint resolved at the specified location.
- BROKEN - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
If this code range is
precise
, the string is not encoded correctly (TruffleString.IsValidNode
returnsfalse
), and contains at least one invalid codepoint. - build() - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
- build() - Method in class com.oracle.truffle.api.debug.Breakpoint.ExceptionBuilder
- build() - Method in class com.oracle.truffle.api.debug.StepConfig.Builder
-
Create a
step configuration
from this builder. - build() - Method in class com.oracle.truffle.api.debug.SuspensionFilter.Builder
-
Create a new suspension filter configured by the builder methods.
- build() - Method in class com.oracle.truffle.api.frame.FrameDescriptor.Builder
-
Uses the data provided to this builder to create a new
FrameDescriptor
. - build() - Method in class com.oracle.truffle.api.instrumentation.AllocationEventFilter.Builder
-
Create an instance of
AllocationEventFilter
based on the current setup of this builder. - build() - Method in class com.oracle.truffle.api.instrumentation.NearestSectionFilter.Builder
-
Finalizes and constructs the
NearestSectionFilter
instance. - build() - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
-
Finalizes and constructs the
SourceFilter
instance. - build() - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Finalizes and constructs the
SourceSectionFilter
instance. - build() - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Builds a new shape using the configuration of this builder.
- build() - Method in class com.oracle.truffle.api.object.Shape.DerivedBuilder
-
Builds a derived shape from the base shape supplied to the constructor using the configuration of this builder.
- build() - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Uses configuration of this builder to create new
Source
object. - build() - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Uses configuration of this builder to create new
Source
object. - build() - Method in class com.oracle.truffle.api.staticobject.StaticShape.Builder
-
Builds a new static shape using the configuration of this builder.
- build() - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Builds the new context instance.
- build() - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Creates a new thread based on the parameters specified by this builder.
- build() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
-
Produces the final
Isolates.CreateIsolateParameters
with the values set previously by the builder methods. - build() - Method in class org.graalvm.options.OptionDescriptor.Builder
-
Builds and returns a new option descriptor.
- build() - Method in class org.graalvm.polyglot.Context.Builder
-
Creates a new context instance from the configuration provided in the builder.
- build() - Method in class org.graalvm.polyglot.Engine.Builder
-
Creates a new engine instance from the configuration provided in the builder.
- build() - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Creates an instance of the custom host access configuration.
- build() - Method in class org.graalvm.polyglot.io.IOAccess.Builder
-
Creates an instance of the custom IO access configuration.
- build() - Method in class org.graalvm.polyglot.PolyglotAccess.Builder
-
Creates an instance of the custom polyglot access configuration.
- build() - Method in class org.graalvm.polyglot.ResourceLimits.Builder
-
Builds the limit configuration object.
- build() - Method in class org.graalvm.polyglot.Source.Builder
-
Uses configuration of this builder to create new
Source
object. - build(StaticShape<T>) - Method in class com.oracle.truffle.api.staticobject.StaticShape.Builder
-
Builds a new static shape that extends the provided parent
StaticShape
. - build(Class<?>, Class<T>) - Method in class com.oracle.truffle.api.staticobject.StaticShape.Builder
-
Builds a new static shape using the configuration of this builder.
- Builder() - Constructor for class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
-
Creates a new builder with default values.
- buildLiteral() - Method in class org.graalvm.polyglot.Source.Builder
-
Uses configuration of this builder to create a new
Source
object. - buildShape(Object, Object, int, Assumption) - Method in class com.oracle.truffle.api.object.Layout
-
Deprecated.Create a root shape.
- builtin() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
Specifies that the annotated entry point method is an alias for a built-in function as provided by the C API.
- byLength(int, int) - Static method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange
-
Constructs a new index range with a given first index inclusive and a given length.
- Byte - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- ByteArraySupport - Class in com.oracle.truffle.api.memory
-
Utility methods to write to and read from arrays of bytes.
- byteAt(int) - Method in interface org.graalvm.polyglot.io.ByteSequence
-
Returns the
byte
value at the specified index. - BytecodeOSRNode - Interface in com.oracle.truffle.api.nodes
-
Interface for Truffle bytecode nodes which can be on-stack replaced (OSR).
- byteIndexOfAnyByteUncached(int, int, byte[], TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfAnyByteNode
. - byteIndexOfCodePointUncached(int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfCodePointNode
. - byteIndexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfStringNode
. - byteIndexOfStringUncached(TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfStringNode
. - byteIndexToCodePointIndexUncached(int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ByteIndexToCodePointIndexNode
. - byteLength() - Method in record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Returns the value of the
byteLength
record component. - byteLength() - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Returns this string builder's byte length.
- byteLength(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Get this string's length in bytes.
- byteLengthOfCodePointUncached(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointIndexToByteIndexNode
. - byteLengthOfCodePointUncached(int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointIndexToByteIndexNode
. - byteMimeTypes() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
List of MIME types supported by this language which sources should be interpreted as
byte
based sources. - bytes() - Method in interface org.graalvm.polyglot.io.ByteSequence
-
Returns a stream of
int
zero-extending thebyte
values from this sequence. - BYTES - Enum constant in enum class com.oracle.truffle.api.strings.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.
- ByteSequence - Interface in org.graalvm.polyglot.io
-
A ByteSequence is a readable sequence of
byte
values. - ByteValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
byte
runtime values.
C
- cached(boolean) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Enables or disables code caching for this source.
- cached(boolean) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Enables or disables code caching for this source.
- cached(boolean) - Method in class org.graalvm.polyglot.Source.Builder
-
Enables or disables code caching for this source.
- Cached - Annotation Interface in com.oracle.truffle.api.dsl
-
A parameter annotated with
Cached
in aSpecialization
refers to a cached value of a specialization instance. - Cached.Exclusive - Annotation Interface in com.oracle.truffle.api.dsl
-
Disallows any sharing with other cached parameters.
- Cached.Shared - Annotation Interface in com.oracle.truffle.api.dsl
-
Allows sharing between multiple Cached parameters between multiple specializations or exported library messages.
- CachedLibrary - Annotation Interface in com.oracle.truffle.api.library
-
The cached library annotation allows to use
Truffle Libraries
conveniently inspecializations
orexported messages
. - calculateContextHeapSize(TruffleContext, long, AtomicBoolean) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns heap memory size retained by a polyglot context.
- call(CallTarget, Object...) - Method in class com.oracle.truffle.api.nodes.IndirectCallNode
-
Performs an indirect call to the given
CallTarget
target with the provided arguments. - call(Node, Object...) - Method in interface com.oracle.truffle.api.CallTarget
-
Calls the encapsulated root node with an explicit call location and arguments, and returns the result.
- call(Object...) - Method in interface com.oracle.truffle.api.CallTarget
-
Calls the encapsulated root node with the given arguments and returns the result.
- call(Object...) - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Calls the inner
CallTarget
returned byDirectCallNode.getCurrentCallTarget()
. - calloc(int) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
-
Allocates
size
bytes of unmanaged memory. - calloc(UnsignedWord) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
-
Allocates
size
bytes of unmanaged memory. - callTarget - Variable in class com.oracle.truffle.api.nodes.DirectCallNode
- CallTarget - Interface in com.oracle.truffle.api
-
Represents the target of a call.
- canExecute() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if this value can be executed (represents a guest language function), elsefalse
. - canExecute() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if the value can beexecuted
. - canInstantiate() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if the value can be instantiated. - canInvokeMember(String) - Method in class org.graalvm.polyglot.Value
-
Returns
true
if the given member exists and can be invoked. - canonicalizePath(boolean) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Whether the
Source.getPath()
(from theTruffleFile
) should be canonicalized. - canonicalizePath(boolean) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Whether the
Source.getPath()
(from theTruffleFile
) should be canonicalized. - canSet(Object) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.Equivalent to
Location.canStore(Object)
. - canStore(Object) - Method in class com.oracle.truffle.api.object.Location
-
Returns
true
if the location is compatible with the type of the value. - Cardinalities - Search tag in class com.oracle.truffle.api.nodes.RootNode
- Section
- cardinality() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the number of bits set to
true
in thisBitSet
. - cast(Object) - Method in class com.oracle.truffle.api.library.DynamicDispatchLibrary
-
Cast the object receiver type to the dispatched type.
- castExact(Object, Class<T>) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Casts the given object to the exact class represented by
clazz
. - CATCHES - Static variable in class com.oracle.truffle.api.instrumentation.StandardTags.TryBlockTag
-
Name of the
catches
function. - category() - Element in annotation interface com.oracle.truffle.api.Option
-
Specifies the category of the option.
- category(OptionCategory) - Method in class org.graalvm.options.OptionDescriptor.Builder
-
Defines the user category for this option.
- CBitfield - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a bitfield access of a
C struct
. - CCharPointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a 8-bit C primitive value.
- CCharPointerPointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a pointer to a 8-bit C primitive value.
- CCharPointerPointerHolder() - Constructor for class org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerPointerHolder
- CConst - Annotation Interface in org.graalvm.nativeimage.c.type
-
Qualifies a C type as const in an entry-point method signature.
- CConstant - Annotation Interface in org.graalvm.nativeimage.c.constant
-
Denotes a method as a C constant value.
- CConstant.ValueAccess - Class in org.graalvm.nativeimage.c.constant
-
Allows access to the value of a
CConstant
during image generation. - CContext - Annotation Interface in org.graalvm.nativeimage.c
-
Defines the context for most other annotations of the C interface: the C header files that need to be imported, the C macros that need to be defined to properly configure these headers, and additional flags that should be passed to the C compiler when analyzing the definitions.
- CContext.Directives - Interface in org.graalvm.nativeimage.c
-
Describes a C context.
- CDoublePointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a C primitive 'double' value.
- CEntryPoint - Annotation Interface in org.graalvm.nativeimage.c.function
-
Annotates a method that is a VM entry point.
- CEntryPoint.AlwaysIncluded - Class in org.graalvm.nativeimage.c.function
-
A
BooleanSupplier
that always returnstrue
. - CEntryPoint.Builtin - Enum Class in org.graalvm.nativeimage.c.function
-
The built-in methods which can be aliased.
- CEntryPoint.ExceptionHandler - Interface in org.graalvm.nativeimage.c.function
-
Marker interface for all
exception handler
classes. - CEntryPoint.FatalExceptionHandler - Class in org.graalvm.nativeimage.c.function
-
Special placeholder value for
CEntryPoint.exceptionHandler()
to print the caught exception and treat it as afatal error
. - CEntryPoint.IsolateContext - Annotation Interface in org.graalvm.nativeimage.c.function
-
Designates an
Isolate
parameter to use as the execution context. - CEntryPoint.IsolateThreadContext - Annotation Interface in org.graalvm.nativeimage.c.function
-
Designates an
IsolateThread
parameter to use as the execution context. - CEntryPoint.NotIncludedAutomatically - Class in org.graalvm.nativeimage.c.function
-
A
BooleanSupplier
that always returnsfalse
. - CEntryPoint.Publish - Enum Class in org.graalvm.nativeimage.c.function
- CEntryPointLiteral<T> - Class in org.graalvm.nativeimage.c.function
-
A function pointer to an
entry point method
that can be, for example, handed out to C code so that C code can call back into Java code. - CEnum - Annotation Interface in org.graalvm.nativeimage.c.constant
-
Annotation to import a C enumeration to Java.
- CEnumConstant - Annotation Interface in org.graalvm.nativeimage.c.constant
-
Provides additional properties for a field (i.e., an enumeration value) of Java enumeration annotated with
CEnum
. - CEnumLookup - Annotation Interface in org.graalvm.nativeimage.c.constant
-
Annotation for a method that returns the Java enumeration object for a given C integer value.
- CEnumValue - Annotation Interface in org.graalvm.nativeimage.c.constant
-
Annotation for a method that returns the C integer value for a Java enumeration object.
- CESU_8 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CESU-8.
- CField - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field access of a
C struct
. - CFieldAddress - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field address computation of a
C struct
. - CFieldOffset - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field offset access of a
C struct
. - CFloatPointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a C primitive 'float' value.
- CFunction - Annotation Interface in org.graalvm.nativeimage.c.function
-
Denotes a
native
method that calls directly from Java to C, without following the JNI protocol. - CFunction.Transition - Enum Class in org.graalvm.nativeimage.c.function
-
Describes the thread state transition performed when the C function is invoked.
- CFunctionPointer - Interface in org.graalvm.nativeimage.c.function
-
Base interface for all function pointers.
- Character and binary based Sources - Search tag in class com.oracle.truffle.api.source.Source
- Section
- Character and byte based Sources - Search tag in class org.graalvm.polyglot.Source
- Section
- characterMimeTypes() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
List of MIME types supported by this language which sources should be interpreted as
character
based sources. - charIndexOfAnyCharUTF16Uncached(int, int, char[]) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CharIndexOfAnyCharUTF16Node
. - CHeader - Annotation Interface in org.graalvm.nativeimage.c
-
Defines the C header file for entry points enclosed by the annotated class or method.
- CHeader.Header - Interface in org.graalvm.nativeimage.c
-
Container for Header file properties.
- check() - Method in interface com.oracle.truffle.api.Assumption
-
Checks that this assumption is still valid.
- check(DynamicObject) - Method in class com.oracle.truffle.api.object.Shape
-
Checks whether the given object's shape is identical to this shape.
- checkAccess(Path, Set<? extends AccessMode>, LinkOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Checks existence and accessibility of a file.
- CIntPointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a 32-bit C primitive value.
- CIntPointerPointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a pointer to a 32-bit C primitive value.
- Class exports - Search tag in annotation interface com.oracle.truffle.api.library.ExportLibrary
- Section
- classLoader() - Element in annotation interface com.oracle.svm.core.annotate.TargetClass
-
Specifies a custom classloader that will be used to look up the substitutee class name.
- className() - Element in annotation interface com.oracle.svm.core.annotate.TargetClass
-
Specifies the substitutee class using a class-name string.
- classNameProvider() - Element in annotation interface com.oracle.svm.core.annotate.TargetClass
-
Specifies the substitutee class.
- cleanup() - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for cleanup.
- clear() - Method in interface org.graalvm.collections.EconomicMap
-
Removes all of the mappings from this map.
- clear() - Method in class org.graalvm.collections.EconomicMapWrap
- clear() - Method in interface org.graalvm.collections.EconomicSet
-
Removes all of the elements from this set.
- clear(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Clears the given indexed slot in the frame.
- clearEnvironment(boolean) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
If
true
the environment variables are not inherited by the subprocess. - clearObjectStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Clears the object value at the given slot in the frame.
- clearPrimitiveStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Clears the primitive value at the given slot in the frame.
- clearStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Clears the value at the given slot in the frame.
- CLibrary - Annotation Interface in org.graalvm.nativeimage.c.function
-
Denotes an external library that needs to be linked in.
- clone() - Method in class com.oracle.truffle.api.library.Message
- clone() - Method in class com.oracle.truffle.api.nodes.NodeCloneable
- clone() - Method in class com.oracle.truffle.api.object.DynamicObject
-
The
DynamicObject.clone()
method is not supported byDynamicObject
at this point in time, so it always throwsCloneNotSupportedException
, even if theCloneable
interface is implemented in a subclass. - cloneCallTarget() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Clones the
CallTarget
instance returned byDirectCallNode.getCallTarget()
in an uninitialized state for thisDirectCallNode
. - cloneNode(T) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- cloneUninitialized() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Creates an uninitialized copy of an already initialized/executed root node if it is
supported
. - CLongPointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a 64-bit C primitive value.
- close() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Closes the current debugging session and disposes all installed breakpoints.
- close() - Method in class com.oracle.truffle.api.TruffleContext
-
Closes this context and disposes its resources.
- close() - Method in interface org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerHolder
-
Discards the C pointer.
- close() - Method in class org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerPointerHolder
-
Discards the C pointer.
- close() - Method in interface org.graalvm.nativeimage.PinnedObject
-
Releases the pin for the object.
- close() - Method in class org.graalvm.polyglot.Context
-
Closes this context and frees up potentially allocated native resources.
- close() - Method in class org.graalvm.polyglot.Engine
-
Closes this engine and frees up allocated native resources.
- close() - Method in class org.graalvm.polyglot.management.ExecutionListener
-
Closes and detaches this execution listener from the engine.
- close(boolean) - Method in class org.graalvm.polyglot.Context
-
Closes the context and frees up potentially allocated native resources.
- close(boolean) - Method in class org.graalvm.polyglot.Engine
-
Closes this engine and frees up allocated native resources.
- closeCancelled(Node, String) - Method in class com.oracle.truffle.api.TruffleContext
-
Force closes the context as cancelled and stops all the execution on all active threads using a special
ThreadDeath
cancel exception. - closeExited(Node, int) - Method in class com.oracle.truffle.api.TruffleContext
-
Initiates force close of the context as exited -
hard exit
. - closeResourceExhausted(Node, String) - Method in class com.oracle.truffle.api.TruffleContext
-
Force closes the context due to resource exhaustion.
- CMacroInfo - Annotation Interface in org.graalvm.nativeimage.c.function
-
Informational only.
- codePointAtByteIndexUncached(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointAtByteIndexNode
. - codePointAtByteIndexUncached(int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointAtByteIndexNode
. - codePointAtIndexUncached(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointAtIndexNode
. - codePointAtIndexUncached(int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointAtIndexNode
. - CodePointer - Interface in org.graalvm.nativeimage.c.function
-
Pointer to executable code.
- codePointIndexToByteIndexUncached(int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointIndexToByteIndexNode
. - codePointLengthUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointLengthNode
. - codeRangeEqualsUncached(TruffleString.CodeRange) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodeRangeEqualsNode
. - collectExceptions(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
-
Collect additional execution event data about errors.
- collectFieldNames(Class<? extends Node>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Finds and retrieves all field names of a node class.
- collectInputValues(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
-
Collect additional execution event data for input values.
- collectNodeChildren(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Finds and retrieves all
Node.Child
andNode.Children
annotated field names and values. - collectNodeProperties(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Finds and retrieves all properties of a node.
- collectNodes(Node, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- collectReturnValue(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
-
Collect additional execution event data about return values.
- columnEndsIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all sources sections where the column ends in one of the given index ranges.
- columnIn(int, int) - Method in class com.oracle.truffle.api.instrumentation.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 class com.oracle.truffle.api.instrumentation.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 class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies the breakpoint's column number.
- columnNotIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where columns are not contained in one of the given index ranges.
- columnStartsIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where the column starts in one of the given index ranges.
- com.oracle.svm.core.annotate - package com.oracle.svm.core.annotate
-
This package contains annotations that configure the substitution mechanism of GraalVM Native Image.
- com.oracle.truffle.api - package com.oracle.truffle.api
-
Do you want to implement your own
Truffle based language
? In such case starthere
. - com.oracle.truffle.api.debug - package com.oracle.truffle.api.debug
-
The debug package contains a debugger API that can be used to install breakpoints, step through and control the execution of Truffle guest language applications.
- com.oracle.truffle.api.dsl - package com.oracle.truffle.api.dsl
-
Domain specific language that allows to specify specializing AST nodes in a declarative way.
- com.oracle.truffle.api.exception - package com.oracle.truffle.api.exception
-
This package contains a Truffle exception base class.
- com.oracle.truffle.api.frame - package com.oracle.truffle.api.frame
-
Package containing stack frame representation classes.
- com.oracle.truffle.api.instrumentation - package com.oracle.truffle.api.instrumentation
-
The instrumentation API provides a way to introspect and inject behavior into interpreters written using the Truffle framework.
- com.oracle.truffle.api.instrumentation.provider - package com.oracle.truffle.api.instrumentation.provider
-
This package contains a provider to instantiate a Truffle instrument.
- com.oracle.truffle.api.interop - package com.oracle.truffle.api.interop
-
This package contains classes that specify the contract for inter-operability between Truffle guest languages and tools.
- com.oracle.truffle.api.io - package com.oracle.truffle.api.io
-
This package contains I/O related classes used by
TruffleLanguage
implementations. - com.oracle.truffle.api.library - package com.oracle.truffle.api.library
-
Truffle Libraries allow language implementations to use polymorphic dispatch for receiver types with support for implementation specific caching/profiling and customization of the dispatch.
- com.oracle.truffle.api.library.provider - package com.oracle.truffle.api.library.provider
-
This package contains service provider interfaces used by Truffle libraries.
- com.oracle.truffle.api.memory - package com.oracle.truffle.api.memory
-
This package contains memory related classes used by
TruffleLanguage
implementations. - com.oracle.truffle.api.nodes - package com.oracle.truffle.api.nodes
-
Abstract syntax tree
nodes
are the basic building block for yourTruffleLanguage
. - com.oracle.truffle.api.object - package com.oracle.truffle.api.object
-
Dynamic object storage model.
- com.oracle.truffle.api.profiles - package 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. - com.oracle.truffle.api.provider - package com.oracle.truffle.api.provider
-
This package contains a provider to instantiate a Truffle language.
- com.oracle.truffle.api.source - package com.oracle.truffle.api.source
-
Represents a
source file
. - com.oracle.truffle.api.staticobject - package com.oracle.truffle.api.staticobject
-
Static Object Model APIs to represent the layout of objects that, once defined, do not change the number and the type of their properties.
- com.oracle.truffle.api.strings - package com.oracle.truffle.api.strings
-
Truffle String related APIs.
- com.oracle.truffle.api.utilities - package com.oracle.truffle.api.utilities
-
Various utility classes that aim to make the development of TruffleLanguage guest languages easier.
- command(String...) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the executable and arguments.
- command(List<String>) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the executable and arguments.
- ComparableWord - Interface in org.graalvm.word
-
A machine-word-sized value that can be compared for equality.
- compareAndExchangeBoolean(Object, boolean, boolean) - Method in class com.oracle.truffle.api.staticobject.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, byte, byte) - Method in class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.staticobject.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, int, int) - Method in class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.staticobject.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, long, long) - Method in class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the
Object
value represented by this StaticProperty and stored in the specified static object tonewValue
if the current value, referred to as the witness value ,==
the expected value. - compareAndExchangeShort(byte[], long, short, short) - Method in class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.dsl.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.staticobject.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(int, int, int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - compareAndSwapInt(Object, int, int) - Method in class com.oracle.truffle.api.staticobject.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. - compareAndSwapInt(WordBase, int, int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - compareAndSwapLong(int, long, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - compareAndSwapLong(Object, long, long) - Method in class com.oracle.truffle.api.staticobject.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. - compareAndSwapLong(WordBase, long, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - compareAndSwapObject(int, Object, Object, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - compareAndSwapObject(Object, Object, Object) - Method in class com.oracle.truffle.api.staticobject.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. - compareAndSwapObject(WordBase, Object, Object, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - compareAndSwapShort(Object, short, short) - Method in class com.oracle.truffle.api.staticobject.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. - compareAndSwapWord(int, T, T, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - compareAndSwapWord(WordBase, T, T, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - compareBytesUncached(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CompareBytesNode
. - compareCharsUTF16Uncached(AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CompareCharsUTF16Node
. - compareIntsUTF32Uncached(AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CompareIntsUTF32Node
. - compareTo(int...) - Method in class org.graalvm.home.Version
-
Compares this version to another GraalVM version.
- compareTo(Version) - Method in class org.graalvm.home.Version
- Compatibility - Search tag in class org.graalvm.polyglot.management.ExecutionListener
- Section
- compilationConstant(Object) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Assertion that the corresponding value is reduced to a constant during compilation.
- CompilerAsserts - Class in com.oracle.truffle.api
-
Assertions about the code produced by the Truffle compiler.
- CompilerDirectives - Class in com.oracle.truffle.api
-
Directives that influence the optimizations of the Truffle compiler.
- CompilerDirectives.CompilationFinal - Annotation 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.
- CompilerDirectives.TruffleBoundary - Annotation Interface in com.oracle.truffle.api
-
Marks a method that it is considered as a boundary for Truffle partial evaluation.
- CompilerDirectives.ValueType - Annotation Interface in com.oracle.truffle.api
-
Marks classes as value types.
- componentId() - Element in annotation interface com.oracle.truffle.api.InternalResource.Id
-
A Truffle language or instrument identifier for which the resource is registered.
- computeSize() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Computes a size estimate of this root node.
- concat(T[], T[]) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- concatUncached(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.ConcatNode
. - concatUncached(AbstractTruffleString, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ConcatNode
. - ConditionProfile - Class in com.oracle.truffle.api.profiles
-
ConditionProfiles are useful to profile the outcome of conditions.
- config(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
config level
. - config(String, Object) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets a config parameter that the child context of this language can access using
TruffleLanguage.Env.getConfig()
. - config(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
config level
. - Configuration - Search tag in class org.graalvm.polyglot.Context
- Section
- Configuration vs. Initialization - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- CONSTRAINED - Enum constant in enum class org.graalvm.polyglot.SandboxPolicy
-
Policy intended for trusted, but potentially buggy applications.
- CONSTRAINED - Static variable in class org.graalvm.polyglot.HostAccess
-
Predefined host access policy used by Context with a
SandboxPolicy.CONSTRAINED
sandbox policy when the host access policy is not explicitly specified by the embedder. - Construction - Search tag in class com.oracle.truffle.api.nodes.RootNode
- Section
- CONSTRUCTOR_NAME - Static variable in annotation interface com.oracle.svm.core.annotate.TargetElement
- contains(E) - Method in interface org.graalvm.collections.UnmodifiableEconomicSet
-
Returns
true
if this set contains a mapping for theelement
. - contains(Class<?>) - Static method in class org.graalvm.nativeimage.ImageSingletons
-
Checks if a singleton is in the registry.
- containsKey(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Returns
true
if this object contains a property with the given key. - containsKey(K) - Method in class org.graalvm.collections.EconomicMapWrap
- containsKey(K) - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
-
Returns
true
if this map contains a mapping forkey
. - content(CharSequence) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Specifies character based content of
to-be-built
Source
. - content(CharSequence) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Specifies character based content of
to-be-built
Source
. - content(CharSequence) - Method in class org.graalvm.polyglot.Source.Builder
-
Specifies character based content of
to-be-built
Source
. - content(String) - Method in class org.graalvm.polyglot.Source.Builder
-
Specifies content of
to-be-built
Source
. - content(ByteSequence) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Specifies byte based content of
to-be-built
Source
. - content(ByteSequence) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Specifies byte based content of
to-be-built
Source
. - content(ByteSequence) - Method in class org.graalvm.polyglot.Source.Builder
-
Specifies byte based content of
to-be-built
Source
. - CONTENT_NONE - Static variable in class com.oracle.truffle.api.source.Source
-
Constant to be used as an argument to
Source.SourceBuilder.content(CharSequence)
to set no content to the Source built. - context(TruffleContext) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies
TruffleContext
for the threads created by the builder. - Context - Class in org.graalvm.polyglot
-
A polyglot context for Graal guest languages that allows to
evaluate
code. - Context.Builder - Class in org.graalvm.polyglot
-
Builder class to construct
Context
instances. - contextClosed(DebugContext) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about close of a polyglot context.
- contextCreated(DebugContext) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about creation of a new polyglot context.
- Context Exit - Search tag in class org.graalvm.polyglot.Context
- Section
- ContextLocal<T> - 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 for class com.oracle.truffle.api.ContextLocal
-
Custom subclasses of context local are not allowed.
- contextPolicy() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Defines the supported policy for reusing
languages
per context. - Context Policy and Sharing - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- ContextReference() - Constructor for class com.oracle.truffle.api.TruffleLanguage.ContextReference
-
Constructors for subclasses.
- ContextsListener - Interface in com.oracle.truffle.api.instrumentation
-
Listener to be notified about changes of contexts in guest language application.
- ContextThreadLocal<T> - 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 for class com.oracle.truffle.api.ContextThreadLocal
-
Custom subclasses of context local are not allowed.
- CONTINUE_LOOP_STATUS - Static variable in interface com.oracle.truffle.api.nodes.RepeatingNode
-
A value indicating that the loop should be repeated.
- ControlFlowException - Exception Class in com.oracle.truffle.api.nodes
-
An exception thrown to model control flow in a Truffle interpreter.
- ControlFlowException() - Constructor for exception class com.oracle.truffle.api.nodes.ControlFlowException
-
Creates an exception thrown to model control flow.
- convert(Object, String, String) - Method in class org.graalvm.options.OptionType
-
Converts a string value, validates it, and converts it to an object of this type.
- convert(String) - Method in class org.graalvm.options.OptionType
-
Converts a string value, validates it, and converts it to an object of this type.
- convertRawValue(Class<? extends TruffleLanguage<?>>, Object) - Method in class com.oracle.truffle.api.debug.DebugScope
-
Converts the value to a DebugValue, or returns
null
if the requesting language class does not match the root node guest language. - convertValue(String) - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
-
Converts a string value, validates it, and converts it to an object of this type.
- copy() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Deeper copy of the descriptor.
- copy() - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Creates a shallow copy of this node.
- copy() - Method in class com.oracle.truffle.api.nodes.Node
-
Creates a shallow copy of this node.
- copy() - Method in class com.oracle.truffle.api.nodes.RootNode
- copy(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Copies, including the type, from one slot to another.
- copy(TruffleFile, CopyOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Copies the file.
- copy(Path, Path, CopyOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Copies source file to target file.
- copyIntoOSRFrame(VirtualFrame, VirtualFrame, int) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Deprecated.since 22.2
- copyIntoOSRFrame(VirtualFrame, VirtualFrame, int, Object) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Copies the contents of the
parentFrame
into theosrFrame
used to execute OSR. - copyIntoOSRFrame(VirtualFrame, VirtualFrame, long, Object) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Overload of
BytecodeOSRNode.copyIntoOSRFrame(VirtualFrame, VirtualFrame, int, Object)
with along
target. - copyObjectStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Copies an object value from one slot to another.
- copyPrimitiveStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Copies a primitive value from one slot to another.
- copyResources(Path, String...) - Static method in class org.graalvm.polyglot.Engine
-
Unpacks the language or instrument internal resources specified by the
components
into thetargetFolder
directory. - copyStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Copies from one slot to another.
- copyToByteArrayNodeUncached(int, byte[], int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Deprecated.since 22.3, use
AbstractTruffleString.copyToByteArrayUncached(int, byte[], int, int, Encoding)
instead. - copyToByteArrayUncached(int, byte[], int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CopyToByteArrayNode
. - copyToByteArrayUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CopyToByteArrayNode
. - copyToNativeMemoryNodeUncached(int, Object, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Deprecated.since 22.3, use
AbstractTruffleString.copyToNativeMemoryUncached(int, Object, int, int, Encoding)
instead. - copyToNativeMemoryUncached(int, Object, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CopyToNativeMemoryNode
. - cost() - Element in annotation interface com.oracle.truffle.api.nodes.NodeInfo
-
Deprecated.in 24.1 without replacement
- count(int) - Method in class com.oracle.truffle.api.debug.StepConfig.Builder
-
Provide the step count.
- CountingConditionProfile - Class in com.oracle.truffle.api.profiles
-
CountingConditionProfiles are useful to profile the outcome of conditions.
- countNodes(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- countNodes(Node, NodeUtil.NodeCountFilter) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- countsTowardsStackTraceLimit() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns
true
if this root node should count towardsAbstractTruffleException.getStackTraceElementLimit()
. - CP50220 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP50220.
- CP50221 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP50221.
- CP51932 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP51932.
- CP850 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP850.
- CP852 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP852.
- CP855 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP855.
- CP949 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP949.
- CP950 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP950.
- CP951 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP951.
- CPointerTo - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes Java interface that imports a C pointer type.
- create() - Static method in interface com.oracle.truffle.api.Assumption
-
Creates a new assumption with a name.
- create() - Static method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Creates a new specialization statistics instance.
- create() - Method in class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Creates a new instance of a
TruffleInstrument
. - create() - Static method in exception class com.oracle.truffle.api.interop.StopIterationException
-
Creates an
StopIterationException
to indicate that iteration was stopped. - create() - Static method in exception class com.oracle.truffle.api.interop.UnsupportedMessageException
-
Creates an
UnsupportedMessageException
to indicate that aninterop
message is not supported. - create() - Static method in class com.oracle.truffle.api.nodes.IndirectCallNode
-
Creates cached indirect call node using bytecode index
-1
. - create() - Static method in class com.oracle.truffle.api.profiles.BranchProfile
-
Call to create a new instance of a branch profile.
- create() - Static method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Returns a value profile that profiles the exact value of a
byte
. - create() - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
- create() - Static method in class com.oracle.truffle.api.profiles.CountingConditionProfile
- create() - Static method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Returns a value profile that profiles the exact value of a
double
usingDouble.doubleToRawLongBits(double)
. - create() - Static method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Returns a value profile that profiles the exact value of a
float
usingFloat.floatToRawIntBits(float)
. - create() - Static method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Returns a value profile that profiles the exact value of an
int
. - create() - Static method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Returns a value profile that profiles the exact value of an
long
. - create() - Static method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Returns a
LoopConditionProfile
that speculates on loop conditions to be nevertrue
. - create() - Static method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
-
Returns a
PrimitiveValueProfile
that speculates on the primitive equality or object identity of a value. - create() - Static method in class com.oracle.truffle.api.profiles.ValueProfile
-
Returns a value profile that profiles the exact class of a value.
- create() - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Creates a new instance of a
TruffleLanguage
. - create() - Method in interface com.oracle.truffle.api.staticobject.DefaultStaticObjectFactory
-
Creates a static object of type
Object
that have a visible constructor that accepts no arguments. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.AsManagedNode
-
Create a new
MutableTruffleString.AsManagedNode
. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.AsMutableTruffleStringNode
-
Create a new
MutableTruffleString.AsMutableTruffleStringNode
. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.ConcatNode
-
Create a new
MutableTruffleString.ConcatNode
. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.ForceEncodingNode
-
Create a new
MutableTruffleString.ForceEncodingNode
. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.FromByteArrayNode
-
Create a new
MutableTruffleString.FromByteArrayNode
. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.FromNativePointerNode
-
Create a new
MutableTruffleString.FromNativePointerNode
. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringByteIndexNode
-
Create a new
MutableTruffleString.SubstringByteIndexNode
. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringNode
-
Create a new
MutableTruffleString.SubstringNode
. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SwitchEncodingNode
-
Create a new
MutableTruffleString.SwitchEncodingNode
. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.WriteByteNode
-
Create a new
MutableTruffleString.WriteByteNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsManagedNode
-
Create a new
TruffleString.AsManagedNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsNativeNode
-
Create a new
TruffleString.AsNativeNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsTruffleStringNode
-
Create a new
TruffleString.AsTruffleStringNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfAnyByteNode
-
Create a new
TruffleString.ByteIndexOfAnyByteNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode
-
Create a new
TruffleString.ByteIndexOfCodePointNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode
-
Create a new
TruffleString.ByteIndexOfCodePointSetNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode
-
Create a new
TruffleString.ByteIndexOfStringNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexToCodePointIndexNode
-
Create a new
TruffleString.ByteIndexToCodePointIndexNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode
-
Create a new
TruffleString.ByteLengthOfCodePointNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CharIndexOfAnyCharUTF16Node
-
Create a new
TruffleString.CharIndexOfAnyCharUTF16Node
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode
-
Create a new
TruffleString.CodePointAtByteIndexNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode
-
Create a new
TruffleString.CodePointAtIndexNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointIndexToByteIndexNode
-
Create a new
TruffleString.CodePointIndexToByteIndexNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointLengthNode
-
Create a new
TruffleString.CodePointLengthNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodeRangeEqualsNode
-
Create a new
TruffleString.CodeRangeEqualsNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareBytesNode
-
Create a new
TruffleString.CompareBytesNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node
-
Create a new
TruffleString.CompareCharsUTF16Node
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareIntsUTF32Node
-
Create a new
TruffleString.CompareIntsUTF32Node
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ConcatNode
-
Create a new
TruffleString.ConcatNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode
-
Create a new
TruffleString.CopyToByteArrayNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CopyToNativeMemoryNode
-
Create a new
TruffleString.CopyToNativeMemoryNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode
-
Create a new
TruffleString.CreateBackwardCodePointIteratorNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode
-
Create a new
TruffleString.CreateCodePointIteratorNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.EqualNode
-
Create a new
TruffleString.EqualNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ForceEncodingNode
-
Create a new
TruffleString.ForceEncodingNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode
-
Create a new
TruffleString.FromByteArrayNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node
-
Create a new
TruffleString.FromCharArrayUTF16Node
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromCodePointNode
-
Create a new
TruffleString.FromCodePointNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node
-
Create a new
TruffleString.FromIntArrayUTF32Node
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode
-
Create a new
TruffleString.FromJavaStringNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromLongNode
-
Create a new
TruffleString.FromLongNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromNativePointerNode
-
Create a new
TruffleString.FromNativePointerNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetByteCodeRangeNode
-
Create a new
TruffleString.GetByteCodeRangeNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeImpreciseNode
-
Create a new
TruffleString.GetCodeRangeImpreciseNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeNode
-
Create a new
TruffleString.GetCodeRangeNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetInternalByteArrayNode
-
Create a new
TruffleString.GetInternalByteArrayNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetInternalNativePointerNode
-
Create a new
TruffleString.GetInternalNativePointerNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetStringCompactionLevelNode
-
Create a new
TruffleString.GetStringCompactionLevelNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.HashCodeNode
-
Create a new
TruffleString.HashCodeNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.IndexOfCodePointNode
-
Create a new
TruffleString.IndexOfCodePointNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.IndexOfStringNode
-
Create a new
TruffleString.IndexOfStringNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.IntIndexOfAnyIntUTF32Node
-
Create a new
TruffleString.IntIndexOfAnyIntUTF32Node
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.IsValidNode
-
Create a new
TruffleString.IsValidNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfCodePointNode
-
Create a new
TruffleString.LastByteIndexOfCodePointNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode
-
Create a new
TruffleString.LastByteIndexOfStringNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfCodePointNode
-
Create a new
TruffleString.LastIndexOfCodePointNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfStringNode
-
Create a new
TruffleString.LastIndexOfStringNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.MaterializeNode
-
Create a new
TruffleString.MaterializeNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseDoubleNode
-
Create a new
TruffleString.ParseDoubleNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseIntNode
-
Create a new
TruffleString.ParseIntNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseLongNode
-
Create a new
TruffleString.ParseLongNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ReadByteNode
-
Create a new
TruffleString.ReadByteNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node
-
Create a new
TruffleString.ReadCharUTF16Node
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode
-
Create a new
TruffleString.RegionEqualByteIndexNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualNode
-
Create a new
TruffleString.RegionEqualNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.RepeatNode
-
Create a new
TruffleString.RepeatNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode
-
Create a new
TruffleString.SubstringByteIndexNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.SubstringNode
-
Create a new
TruffleString.SubstringNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode
-
Create a new
TruffleString.SwitchEncodingNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode
-
Create a new
TruffleString.ToJavaStringNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ToValidStringNode
-
Create a new
TruffleString.SwitchEncodingNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateNode
-
Create a new
TruffleString.WithMask.CreateNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF16Node
-
Create a new
TruffleString.WithMask.CreateNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF32Node
-
Create a new
TruffleString.WithMask.CreateNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode
-
Create a new
TruffleStringBuilder.AppendByteNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node
-
Create a new
TruffleStringBuilder.AppendCharUTF16Node
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode
-
Create a new
TruffleStringBuilder.AppendCodePointNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode
-
Create a new
TruffleStringBuilder.AppendIntNumberNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node
-
Create a new
TruffleStringBuilder.AppendJavaStringUTF16Node
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode
-
Create a new
TruffleStringBuilder.AppendLongNumberNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode
-
Create a new
TruffleStringBuilder.AppendStringNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode
-
Create a new
TruffleStringBuilder.AppendSubstringByteIndexNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode
-
Create a new
TruffleStringBuilder.ToStringNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringIterator.NextNode
-
Create a new
TruffleStringIterator.NextNode
. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringIterator.PreviousNode
-
Create a new
TruffleStringIterator.PreviousNode
. - create() - Static method in interface org.graalvm.collections.EconomicMap
-
Creates a new map that guarantees insertion order on the key set with the default
Equivalence.DEFAULT
comparison strategy for keys. - create() - Static method in interface org.graalvm.collections.EconomicSet
-
Creates a new set guaranteeing insertion order when iterating over its elements with the default
Equivalence.DEFAULT
comparison strategy. - create() - Static method in interface org.graalvm.nativeimage.ObjectHandles
-
Creates a new set of handles.
- create() - Static method in class org.graalvm.polyglot.Engine
-
Creates a new engine instance with default configuration.
- create(byte[]) - Static method in interface org.graalvm.polyglot.io.ByteSequence
-
Creates a
ByteSequence
from an existingbyte[]
. - create(int) - Static method in interface org.graalvm.collections.EconomicMap
-
Creates a new map that guarantees insertion order on the key set with the default
Equivalence.DEFAULT
comparison strategy for keys and initializes with a specified capacity. - create(int) - Static method in interface org.graalvm.collections.EconomicSet
-
Creates a new set guaranteeing insertion order when iterating over its elements with the default
Equivalence.DEFAULT
comparison strategy and inserts all elements of the specified collection. - create(int...) - Static method in class org.graalvm.home.Version
-
Constructs a new GraalVM version from a list of version numbers.
- create(int, int, int) - Static method in exception class com.oracle.truffle.api.interop.ArityException
-
Creates an
ArityException
to indicate that the wrong number of arguments were provided. - create(int, int, int, Throwable) - Static method in exception class com.oracle.truffle.api.interop.ArityException
-
Creates an
ArityException
to indicate that the wrong number of arguments were provided. - create(long) - Static method in exception class com.oracle.truffle.api.interop.InvalidArrayIndexException
-
Creates an
InvalidArrayIndexException
to indicate that an array index is invalid. - create(long, long) - Static method in exception class com.oracle.truffle.api.interop.InvalidBufferOffsetException
-
Creates an
InvalidBufferOffsetException
to indicate that a buffer access is invalid. - create(long, long, Throwable) - Static method in exception class com.oracle.truffle.api.interop.InvalidBufferOffsetException
-
Creates an
InvalidBufferOffsetException
to indicate that a buffer access is invalid. - create(long, Throwable) - Static method in exception class com.oracle.truffle.api.interop.InvalidArrayIndexException
-
Creates an
InvalidArrayIndexException
to indicate that an array index is invalid. - create(C) - Method in interface com.oracle.truffle.api.TruffleLanguage.ContextLocalFactory
-
Returns a new value for a context local of a language.
- create(CallTarget) - Static method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Creates cached direct call node using bytecode index
-1
. - create(EventContext) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventNodeFactory
-
Returns a new instance of
ExecutionEventNode
for this particular source location. - create(Node, RootCallTarget, Frame) - Static method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Create a new stack trace element.
- create(Node, RootCallTarget, Frame, int) - Static method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Create a new stack trace element.
- create(Node, String[]) - Static method in class com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
-
Called when a new node statistics object is created.
- create(TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new string builder with the given encoding.
- create(TruffleString.Encoding, int) - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new string builder with the given encoding, and pre-allocate the given number of bytes.
- create(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalFactory
-
Returns a new value for a context local of an instrument.
- create(TruffleContext, Thread) - Method in interface com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextThreadLocalFactory
-
Returns a new value for a context thread local for a context and thread.
- create(C, Thread) - Method in interface com.oracle.truffle.api.TruffleLanguage.ContextThreadLocalFactory
-
Returns a new value for a context thread local for a language context and thread.
- create(Class<?>, InlineSupport.InlinableField...) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.InlineTarget
-
Creates an inline target for an inlined node.
- create(Class<?>, Class<?>[]) - Static method in class com.oracle.truffle.api.nodes.ExecutionSignature
-
Creates a new execution signature of a
RootNode
. - create(Class<?>, String, Class<?>...) - Static method in class org.graalvm.nativeimage.c.function.CEntryPointLiteral
-
Creates a new function pointer to an entry point.
- create(Class<T>) - Static method in class com.oracle.truffle.api.TruffleLanguage.ContextReference
-
Creates a new instance of a context reference for an registered language.
- create(Class<T>) - Static method in class com.oracle.truffle.api.TruffleLanguage.LanguageReference
-
Creates a new instance of a langauge reference for an registered language.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.BooleanField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.ByteField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.CharField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.DoubleField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.FloatField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.IntField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.LongField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.ShortField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.StateField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String, Class<T>) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.ReferenceField
-
This method creates a new field given a lookup class, field name and value class.
- create(Object) - Static method in exception class com.oracle.truffle.api.interop.UnknownKeyException
-
Creates an
UnknownKeyException
to indicate that a key is missing in the hash object. - create(Object) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a new manually dispatched cached library for a given receiver.
- create(Object) - Method in interface org.graalvm.nativeimage.ObjectHandles
-
Creates a handle to the specified object.
- create(Object) - Static method in interface org.graalvm.nativeimage.PinnedObject
-
Create an open PinnedObject.
- create(Object...) - Static method in interface com.oracle.truffle.api.dsl.Introspection.Provider
-
Factory method to create
Node
introspection data. - create(Object[]) - Static method in exception class com.oracle.truffle.api.interop.UnsupportedTypeException
-
Creates an
UnsupportedTypeException
to indicate that an argument type is not supported. - create(Object[], String) - Static method in exception class com.oracle.truffle.api.interop.UnsupportedTypeException
-
Creates an
UnsupportedTypeException
to indicate that an argument type is not supported. - create(Object[], String, Throwable) - Static method in exception class com.oracle.truffle.api.interop.UnsupportedTypeException
-
Creates an
UnsupportedTypeException
to indicate that an argument type is not supported. - create(Object, Location, int) - Static method in class com.oracle.truffle.api.object.Property
-
Deprecated.
- create(Object, Throwable) - Static method in exception class com.oracle.truffle.api.interop.UnknownKeyException
-
Creates an
UnknownKeyException
to indicate that a key is missing in the hash object. - create(String) - Static method in interface com.oracle.truffle.api.Assumption
-
Creates a new assumption with a name.
- create(String) - Static method in exception class com.oracle.truffle.api.interop.UnknownIdentifierException
-
Creates an
UnknownIdentifierException
to indicate that an identifier is missing. - create(String...) - Static method in class org.graalvm.polyglot.Context
-
Creates a context with default configuration.
- create(String...) - Static method in class org.graalvm.polyglot.Engine
-
Creates a new engine instance with default configuration with a set of permitted languages.
- create(String, CharSequence) - Static method in class org.graalvm.polyglot.Source
-
Shortcut for creating a source object from a language and char sequence.
- create(String, Throwable) - Static method in exception class com.oracle.truffle.api.interop.UnknownIdentifierException
-
Creates an
UnknownIdentifierException
to indicate that an identifier is missing. - create(Throwable) - Static method in exception class com.oracle.truffle.api.interop.StopIterationException
-
Creates an
StopIterationException
to indicate that iteration was stopped. - create(Throwable) - Static method in exception class com.oracle.truffle.api.interop.UnsupportedMessageException
-
Creates an
UnsupportedMessageException
to indicate that aninterop
message is not supported. - create(List<String>, String, Map<String, String>, boolean, ProcessHandler.Redirect, ProcessHandler.Redirect, ProcessHandler.Redirect) - Static method in class org.graalvm.polyglot.io.ProcessHandler.ProcessCommand
-
Creates a ProcessCommand.
- create(List<OptionDescriptor>) - Static method in interface org.graalvm.options.OptionDescriptors
-
Creates an
OptionDescriptors
instance from a list. - create(L, R) - Static method in class org.graalvm.collections.Pair
-
Constructs a pair with its left value being
left
, and its right value beingright
, or returns an empty pair if both inputs are null. - create(Equivalence) - Static method in interface org.graalvm.collections.EconomicMap
-
Creates a new map that guarantees insertion order on the key set with the given comparison strategy for keys.
- create(Equivalence) - Static method in interface org.graalvm.collections.EconomicSet
-
Creates a new set guaranteeing insertion order when iterating over its elements.
- create(Equivalence, int) - Static method in interface org.graalvm.collections.EconomicMap
-
Creates a new map that guarantees insertion order on the key set and initializes with a specified capacity.
- create(Equivalence, int) - Static method in interface org.graalvm.collections.EconomicSet
-
Creates a new set guaranteeing insertion order when iterating over its elements and initializes with the given capacity.
- create(Equivalence, UnmodifiableEconomicMap<K, V>) - Static method in interface org.graalvm.collections.EconomicMap
-
Creates a new map that guarantees insertion order on the key set and copies all elements from the specified existing map.
- create(Equivalence, UnmodifiableEconomicSet<E>) - Static method in interface org.graalvm.collections.EconomicSet
-
Creates a new set guaranteeing insertion order when iterating over its elements and inserts all elements of the specified collection.
- create(UnmodifiableEconomicMap<K, V>) - Static method in interface org.graalvm.collections.EconomicMap
-
Creates a new map that guarantees insertion order on the key set with the default
Equivalence.DEFAULT
comparison strategy for keys and copies all elements from the specified existing map. - create(UnmodifiableEconomicSet<E>) - Static method in interface org.graalvm.collections.EconomicSet
-
Creates a new set guaranteeing insertion order when iterating over its elements with the default
Equivalence.DEFAULT
comparison strategy and inserts all elements of the specified collection. - create(T[], BlockNode.ElementExecutor<T>) - Static method in class com.oracle.truffle.api.nodes.BlockNode
-
Creates a new block node.
- CREATE_ISOLATE - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method creates an isolate.
- createAOT(LibraryExport<T>) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates an AOT version for a library export.
- createAssertions(T) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates an assertion version of this library.
- createAssumption() - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new assumption object that can be checked and invalidated.
- createAssumption(String) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new assumption object with a given name that can be checked and invalidated.
- createBackwardCodePointIteratorUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CreateBackwardCodePointIteratorNode
. - createBinaryProfile() - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Deprecated.use
ConditionProfile.create()
instead. - createCached(Object) - Method in class com.oracle.truffle.api.library.LibraryExport
-
Implemented generated by
ExportLibrary
. - CreateCast - Annotation Interface in com.oracle.truffle.api.dsl
-
Specifies a factory method that creates a
Node
which is used to cast this child. - createClassProfile() - Static method in class com.oracle.truffle.api.profiles.ValueProfile
-
Returns a value profile that profiles the exact class of a value.
- createCodePointIteratorUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CreateCodePointIteratorNode
. - createConstantNode(Object) - Static method in class com.oracle.truffle.api.nodes.RootNode
-
Helper method to create a root node that always returns the same value.
- createContext(TruffleLanguage.Env) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Creates internal representation of the executing context suitable for given environment.
- createContextLocal(TruffleInstrument.ContextLocalFactory<T>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalProvider
-
Creates a new context local reference for this instrument.
- createContextLocal(TruffleInstrument.ContextLocalFactory<T>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Deprecated.
- createContextLocal(TruffleLanguage.ContextLocalFactory<C, T>) - Method in class com.oracle.truffle.api.TruffleLanguage.ContextLocalProvider
-
Creates a new context local reference for this Truffle language.
- createContextLocal(TruffleLanguage.ContextLocalFactory<C, T>) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Deprecated.
- createContextThreadLocal(TruffleInstrument.ContextThreadLocalFactory<T>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalProvider
-
Creates a new context thread local reference for this Truffle language.
- createContextThreadLocal(TruffleInstrument.ContextThreadLocalFactory<T>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Deprecated.
- createContextThreadLocal(TruffleLanguage.ContextThreadLocalFactory<C, T>) - Method in class com.oracle.truffle.api.TruffleLanguage.ContextLocalProvider
-
Creates a new context thread local reference for this Truffle language.
- createContextThreadLocal(TruffleLanguage.ContextThreadLocalFactory<C, T>) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Deprecated.
- createCountingProfile() - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Deprecated.use
CountingConditionProfile
instead - createCountingProfile() - Static method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Deprecated.use
LoopConditionProfile.create()
instead. - createDelegate(LibraryFactory<T>, T) - Static method in class com.oracle.truffle.api.library.LibraryExport
-
Internal method for generated code only.
- createDelegate(T) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a delegate version of a library.
- createDirectCallNode(CallTarget) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new runtime specific version of
DirectCallNode
. - createDirectories(FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
-
Creates a directory and all nonexistent parent directories.
- createDirectory(FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
-
Creates a new directory.
- createDirectory(Path, FileAttribute<?>...) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Creates a directory.
- createDispatched(int) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a new cached and automatically dispatched library given a limit.
- createDispatchImpl(int) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a cached automatically dispatched version of this library.
- createEqualityProfile() - Static method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
-
Returns a
PrimitiveValueProfile
that speculates on the primitive equality or object identity of a value. - createError(RuntimeException) - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Deprecated.No substitute. Runtime exceptions can now be thrown directly and will be observable by the guest language application.
- createExecuteSourceBinding(SourceFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
- createFile(FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
-
Creates a new empty file.
- createFileTypeDetectors() - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Creates file type detectors used by the
TruffleLanguage
. - createHostAdapter(Object[]) - Method in class com.oracle.truffle.api.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.
- createHostAdapterClass(Class<?>[]) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.since 22.1; replaced by
TruffleLanguage.Env.createHostAdapter(Object[])
. - createHostAdapterClassWithStaticOverrides(Class<?>[], Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.since 22.1; replaced by
TruffleLanguage.Env.createHostAdapterWithClassOverrides(Object[], Object)
. - createHostAdapterWithClassOverrides(Object[], Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Like
TruffleLanguage.Env.createHostAdapter(Object[])
but creates a Java host adapter class with class-level overrides, i.e., the guest object provided asclassOverrides
is statically bound to the class rather than instances of the class. - createIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Returns a value profile that profiles the exact value of a
byte
. - createIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Returns a value profile that profiles the exact value of an
int
. - createIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Returns a value profile that profiles the exact value of an
long
. - createIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.ValueProfile
-
Returns a value profile that profiles the object identity of a value.
- createIndirectCallNode() - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new runtime specific version of
IndirectCallNode
. - createInternalResource() - Method in class com.oracle.truffle.api.provider.InternalResourceProvider
-
Creates an
InternalResource
instance. - createInternalResource(String) - Method in class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Creates an instrument
InternalResource
identified by theresourceId
. - createInternalResource(String) - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Creates a language
InternalResource
identified by theresourceId
. - createIsolate(Isolates.CreateIsolateParameters) - Static method in class org.graalvm.nativeimage.Isolates
-
Creates a new isolate with the passed parameters.
- createLeft(L) - Static method in class org.graalvm.collections.Pair
-
Constructs a pair with its left value being
left
, or returns an empty pair ifleft
is null. - createLink(TruffleFile) - Method in class com.oracle.truffle.api.TruffleFile
-
Creates a new link to an existing target (optional operation).
- createLink(Path, Path) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Creates a new link for an existing file.
- createLoadSourceBinding(SourceFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
- createLoadSourceSectionBinding(NearestSectionFilter, SourceSectionFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Create a binding to get notification for the nearest source section to the given position as specified by the
NearestSectionFilter
. - createLoadSourceSectionBinding(SourceSectionFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Create a binding to get notifications for each newly loaded
SourceSection
in every newly loadedSource
. - createLoopNode(RepeatingNode) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new loop node with an implementation provided by a Truffle runtime implementation.
- createMaterializedFrame(Object[]) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new materialized frame object that can be used to store values.
- createMaterializedFrame(Object[], FrameDescriptor) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new materialized frame object with the given frame descriptor that can be used to store values.
- createMessageBitSet(LibraryFactory<?>, String...) - Static method in class com.oracle.truffle.api.library.LibraryExport
-
Internal method for generated code only.
- createMessageBitSet(Message...) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a final bitset of the given messages.
- createNode(Object...) - Method in interface com.oracle.truffle.api.dsl.NodeFactory
-
Instantiates the node using the arguments array.
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.BooleanField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ByteField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.CharField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.DoubleField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.FloatField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.IntField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.LongField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ReferenceField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ShortField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.StateField
-
Deprecated.in 23.1 - no longer needed
- createPrimitiveValue(Object, LanguageInfo) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Creates a
DebugValue
object that wraps a primitive value. - createProperty(Object, Location, int) - Method in interface com.oracle.truffle.api.object.LayoutFactory
-
Deprecated.
- createProxy(ReflectionLibrary) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a proxy version of this library.
- createRawIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Returns a value profile that profiles the exact value of a
double
usingDouble.doubleToRawLongBits(double)
. - createRawIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Returns a value profile that profiles the exact value of a
float
usingFloat.floatToRawIntBits(float)
. - createRedirectToStream(OutputStream) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Creates a redirect to write into the given
OutputStream
. - createRedirectToStream(OutputStream) - Static method in class org.graalvm.polyglot.io.ProcessHandler.Redirect
-
Creates a ProcessCommand.
- createRight(R) - Static method in class org.graalvm.collections.Pair
-
Constructs a pair with its right value being
right
, or returns an empty pair ifright
is null. - createSection(int) - Method in class com.oracle.truffle.api.source.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 class com.oracle.truffle.api.source.Source
-
Creates a representation of a contiguous region of text in the source.
- createSection(int, int, int) - Method in class com.oracle.truffle.api.source.Source
-
Creates a representation of a contiguous region of text in the source.
- createSection(int, int, int, int) - Method in class com.oracle.truffle.api.source.Source
-
Create representation of a contiguous region in the source that does not have the character content available.
- createShape(Object) - Method in interface com.oracle.truffle.api.object.LayoutFactory
-
Deprecated.
- createSymbolicLink(TruffleFile, FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
-
Creates a symbolic link to a target (optional operation).
- createSymbolicLink(Path, Path, FileAttribute<?>...) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Creates a new symbolic link.
- createSystemThread(Runnable) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Creates a new thread designed to process instrument tasks in the background.
- createSystemThread(Runnable) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a new thread designed to process language internal tasks in the background.
- createSystemThread(Runnable, ThreadGroup) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Creates a new thread designed to process instrument tasks in the background.
- createSystemThread(Runnable, ThreadGroup) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a new thread designed to process language internal tasks in the background.
- createTempDirectory(TruffleFile, String, FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a new directory in the specified or default temporary directory, using the given prefix to generate its name.
- createTempFile(TruffleFile, String, String, FileAttribute<?>...) - Method in class com.oracle.truffle.api.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 class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.
- createThread(Runnable, TruffleContext) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.
- createThread(Runnable, TruffleContext, ThreadGroup) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.
- createThread(Runnable, TruffleContext, ThreadGroup, long) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.
- createUnavailableSection() - Method in class com.oracle.truffle.api.source.Source
-
Returns an unavailable source section indicating that the source location is not available.
- createUncached(AbstractTruffleString, byte[], TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask
-
Shorthand for calling the uncached version of
TruffleString.WithMask.CreateNode
. - createUncached(Object) - Method in class com.oracle.truffle.api.library.LibraryExport
-
Implemented generated by
ExportLibrary
. - createUncachedDispatch() - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a uncached automatically dispatched version of this library.
- createUnion(OptionDescriptors...) - Static method in interface org.graalvm.options.OptionDescriptors
-
Creates a union options descriptor out of multiple given descriptors.
- createUnwind(Object) - Method in class com.oracle.truffle.api.instrumentation.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 class com.oracle.truffle.api.instrumentation.EventContext
-
Create an unwind throwable, that when thrown, abruptly breaks execution of a node and unwinds it off the execution stack.
- createUTF16() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-16 string builder.
- createUTF16(int) - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-16 string builder and pre-allocate the given number of chars.
- createUTF16Uncached(AbstractTruffleString, char[]) - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask
-
Shorthand for calling the uncached version of
TruffleString.WithMask.CreateUTF16Node
. - createUTF32() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-32 string builder.
- createUTF32(int) - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-32 string builder and pre-allocate the given number of codepoints.
- createUTF32Uncached(AbstractTruffleString, int[]) - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask
-
Shorthand for calling the uncached version of
TruffleString.WithMask.CreateUTF32Node
. - createUTF8() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-8 string builder.
- createUTF8(int) - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-8 string builder and pre-allocate the given number of bytes.
- createVirtualFrame(Object[], FrameDescriptor) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new virtual frame object that can be used to store values and is potentially optimizable by the runtime.
- createWrapper(ProbeNode) - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Returns a new, never adopted, unshared
wrapper
node implementation for thisinstrumentable
node. - CREATION_TIME - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's creation time.
- Creation and Closing - Search tag in class org.graalvm.polyglot.management.ExecutionListener
- Section
- CShortPointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a 16-bit C primitive value.
- CStruct - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes Java interface that imports a C struct.
- CTypeConversion - Class in org.graalvm.nativeimage.c.type
-
Utility methods to convert between Java types and C types.
- CTypeConversion.CCharPointerHolder - Interface in org.graalvm.nativeimage.c.type
-
An auto-closable that holds a Java
CharSequence
as a null-terminated C char[] array. - CTypeConversion.CCharPointerPointerHolder - Class in org.graalvm.nativeimage.c.type
-
An auto-closable that holds a Java
CharSequence
[] array as a null-terminated array of null-terminated C char[]s. - CTypedef - Annotation Interface in org.graalvm.nativeimage.c.type
-
Defines a name for C type to be used in an entry-point method signature.
- CTypedefOfInfo - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Informational only.
- CUnsigned - Annotation Interface in org.graalvm.nativeimage.c.type
-
Qualifies a C integer type as unsigned in an entry-point method signature.
- CurrentIsolate - Class in org.graalvm.nativeimage
-
Utility methods that provide access to the current isolate.
- currentWorkingDirectory(Path) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets the current working directory used by the guest application to resolve relative paths.
- Custom - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
Use a
FieldValueTransformer
, which is specified as the target class. - CyclicAssumption - Class in com.oracle.truffle.api.utilities
-
Holds an
Assumption
, and knows how to recreate it with the same properties on invalidation. - CyclicAssumption(String) - Constructor for class com.oracle.truffle.api.utilities.CyclicAssumption
D
- DARWIN - Enum constant in enum class com.oracle.truffle.api.InternalResource.OS
-
The macOS operating system.
- DebugContext - Class in com.oracle.truffle.api.debug
-
Representation of a polyglot context in a guest language execution.
- DebugContextsListener - Interface in com.oracle.truffle.api.debug
-
Listener to be notified about changes of contexts in guest language application.
- DebugException - Exception Class in com.oracle.truffle.api.debug
-
Information about an exception thrown from a guest language.
- DebugException.CatchLocation - Class in com.oracle.truffle.api.debug
-
Represents an exception catch location.
- Debugger - Class in com.oracle.truffle.api.debug
-
Class that simplifies implementing a debugger on top of Truffle.
- DebuggerSession - Class in com.oracle.truffle.api.debug
-
Represents a single debugging session of a Debugger.
- DebuggerTags - Class in com.oracle.truffle.api.debug
-
Set of debugger-specific tags.
- DebuggerTags.AlwaysHalt - Class in com.oracle.truffle.api.debug
-
Marks program locations where debugger should always halt like if on a breakpoint.
- Debugging requests - Search tag in class com.oracle.truffle.api.debug.DebuggerSession
- Section
- DebugScope - Class in com.oracle.truffle.api.debug
-
Representation of guest language scope at the current suspension point, or a top scope.
- DebugStackFrame - Class in com.oracle.truffle.api.debug
-
Represents a frame in the guest language stack.
- DebugStackTraceElement - Class in com.oracle.truffle.api.debug
-
Represents a trace element in the guest language stack trace.
- DebugThreadsListener - Interface in com.oracle.truffle.api.debug
-
Listener to be notified about changes of threads in guest language application.
- DebugValue - Class in com.oracle.truffle.api.debug
-
Represents a value accessed using the debugger API.
- declClass() - Element in annotation interface com.oracle.svm.core.annotate.RecomputeFieldValue
-
The class parameter for the recomputation.
- declClassName() - Element in annotation interface com.oracle.svm.core.annotate.RecomputeFieldValue
-
The class parameter for the recomputation.
- deepCopy() - Method in class com.oracle.truffle.api.nodes.Node
-
Creates a deep copy of this node.
- DEFAULT - Static variable in interface com.oracle.truffle.api.strings.TranscodingErrorHandler
-
The default transcoding error handler.
- DEFAULT - Static variable in class org.graalvm.collections.Equivalence
-
Default equivalence calling
Object.equals(Object)
to check equality andObject.hashCode()
for obtaining hash values. - DEFAULT_KEEP_SURROGATES_IN_UTF8 - Static variable in interface com.oracle.truffle.api.strings.TranscodingErrorHandler
-
Same as
TranscodingErrorHandler.DEFAULT
, but also keepsUTF-16 surrogate values
in UTF-8. - defaultExportLookupEnabled() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary
-
Allows the library to lookup additional default exports using a service provider interface.
- DefaultExportProvider - Interface in com.oracle.truffle.api.library.provider
-
Service provider interface implemented by external default exports of a library.
- defaultMimeType() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Returns the default MIME type of this language.
- DefaultStaticObjectFactory - Interface in com.oracle.truffle.api.staticobject
-
A trivial static object factory that allocates static objects of type
Object
. - DefaultStaticProperty - Class in com.oracle.truffle.api.staticobject
-
A trivial default implementation of
StaticProperty
. - DefaultStaticProperty(String) - Constructor for class com.oracle.truffle.api.staticobject.DefaultStaticProperty
-
Constructs a new DefaultStaticProperty.
- defaultType(Class<T>) - Static method in class org.graalvm.options.OptionType
-
Returns the default option type for a class.
- defaultType(T) - Static method in class org.graalvm.options.OptionType
-
Returns the default option type for a given value.
- defaultValue() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
-
Returns the default value of type
RuntimeOptions.Descriptor.valueType()
for this option. - defaultValue(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor.Builder
-
Sets the default value for the frame slots in this frame descriptor.
- defineProperty(Object, Object, int) - Method in class com.oracle.truffle.api.object.Shape
- defineProperty(Object, Object, int, int) - Method in class com.oracle.truffle.api.object.Shape
-
Add or change property in the map, yielding a new or cached Shape object.
- delegateTo() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
Automatically forwards all messages of the library which are not exported to the value of a delegate field.
- delete() - Method in class com.oracle.truffle.api.TruffleFile
-
Deletes the file.
- delete(Path) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Deletes a file.
- Delete - Annotation Interface in com.oracle.svm.core.annotate
-
Mechanism to ensures that an element is not used.
- denyAccess(Class<?>) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Prevents access to members of given class and its subclasses.
- denyAccess(Class<?>, boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Prevents access to members of given class.
- denyBindingsAccess(String) - Method in class org.graalvm.polyglot.PolyglotAccess.Builder
-
Denies access to polyglot bindings for a language.
- denyEval(String, String) - Method in class org.graalvm.polyglot.PolyglotAccess.Builder
-
Denies evaluation of code by one language of another.
- denyEvalBetween(String...) - Method in class org.graalvm.polyglot.PolyglotAccess.Builder
-
Denies bidirectional evaluation of code between the given languages.
- DenyReplace - Annotation Interface in com.oracle.truffle.api.nodes
-
If a
Node
subtype is annotated with this annotation thenreplacement
is denied. - dependentLanguages() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Specifies a list of languages that this language depends on.
- dependsOn() - Method in interface org.graalvm.nativeimage.c.CHeader.Header
-
List that contains the
Class<? extends CHeader.Header>
instances that declare dependencies of this header file. - dependsOn() - Element in annotation interface org.graalvm.nativeimage.c.function.CLibrary
-
Specifies the name of the libraries this library depends on.
- deprecated() - Element in annotation interface com.oracle.truffle.api.Option
-
Returns
true
if this option is deprecated. - deprecated() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
-
Returns
true
if this option was marked deprecated. - deprecated(boolean) - Method in class org.graalvm.options.OptionDescriptor.Builder
-
Defines if this option is deprecated.
- deprecatedMessage() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
-
Returns the deprecation reason and the recommended fix.
- Deprecating Messages - Search tag in annotation interface com.oracle.truffle.api.library.GenerateLibrary
- Section
- deprecationMessage() - Element in annotation interface com.oracle.truffle.api.Option
-
Returns the deprecation reason and the recommended fix.
- deprecationMessage(String) - Method in class org.graalvm.options.OptionDescriptor.Builder
-
Specifies a human-readable deprecation reason and the recommended fix.
- description() - Element in annotation interface com.oracle.truffle.api.nodes.NodeInfo
-
A human readable explanation of the purpose of the annotated
Node
. - destroy(long) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Kills the process.
- destroy(ObjectHandle) - Method in interface org.graalvm.nativeimage.ObjectHandles
-
Destroys the given handle.
- destroyForcibly(long) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Kills the process forcibly.
- DETACH_THREAD - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method detaches the current thread, given as an
IsolateThread
, from an isolate. - detachThread(IsolateThread) - Static method in class org.graalvm.nativeimage.Isolates
-
Detaches the passed isolate thread from its isolate and discards any state or context that is associated with it.
- DetailedRewriteReasons - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Enables the generation of detailed rewrite reasons.
- detectMimeType() - Method in class com.oracle.truffle.api.TruffleFile
-
Detects the
file
MIME type. - dimensions() - Element in annotation interface com.oracle.truffle.api.CompilerDirectives.CompilationFinal
-
Specifies the number of array dimensions to be marked as compilation final.
- dimensions() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Specifies the number of array dimensions to be marked as
compilation final
. - dimensions() - Element in annotation interface com.oracle.truffle.api.dsl.InlineSupport.RequiredField
-
Specifies the compilation final
dimensions
of the required inlined field. - DirectCallNode - Class in com.oracle.truffle.api.nodes
-
Represents a direct call to a
CallTarget
. - DirectCallNode(CallTarget) - Constructor for class com.oracle.truffle.api.nodes.DirectCallNode
- directory(TruffleFile) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets this process current working directory.
- disable() - Method in class com.oracle.truffle.api.profiles.BranchProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.CountingConditionProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.Profile
-
Disables this profile by setting it to its generic state.
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
-
Disables this profile by setting it to its generic state.
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Disables this profile by setting it to its generic state.
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Disables this profile by setting it to its generic state.
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Disables this profile by setting it to its generic state.
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedProfile
-
Disables this profile by setting it to its generic state.
- disableAuxiliarySlot(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Disables the auxiliary slot with the given key, so that subsequently created
Frame
instances may avoid allocating storage for it. - disableMethodScoping(Executable) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Function parameters of the specified executable escape the executable's scope.
- disableMethodScopingAnnotatedBy(Class<? extends Annotation>) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Function parameters of a method annotated with the specified annotation are not scoped.
- disableStepping() - Method in class com.oracle.truffle.api.debug.Debugger
-
Disable stepping on the current thread.
- dispatch() - Method in class com.oracle.truffle.api.object.ObjectType
-
Deprecated.
- dispatch(Object) - Method in class com.oracle.truffle.api.library.DynamicDispatchLibrary
-
Returns a class that
exports
at least one library with an explicit receiver. - dispose() - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Permanently prevents this breakpoint from affecting execution.
- dispose() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
-
Cancels the subscription permanently.
- disposeContext(C) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Disposes the context created by
TruffleLanguage.createContext(com.oracle.truffle.api.TruffleLanguage.Env)
. - disposeThread(C, Thread) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Invoked the last time code will be executed for this thread and context.
- documentation() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
Method documentation to be included in the header file, as an array of lines.
- Double - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- DoubleLocation - Interface in com.oracle.truffle.api.object
-
Deprecated.
- DoubleValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
double
runtime values. - DSLSupport - Class in com.oracle.truffle.api.dsl
-
APIs to support share code in generated code.
- DSLSupport.SpecializationDataNode - Interface in com.oracle.truffle.api.dsl
-
Interface implemented by specialization data classes.
- dumpHeap(String, boolean) - Static method in class org.graalvm.nativeimage.VMRuntime
-
Dumps the heap to the
outputFile
file in the same format as the hprof heap dump. - duringAnalysis(Feature.DuringAnalysisAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for performing operations during the static analysis.
- duringSetup(Feature.DuringSetupAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for initializations at startup time.
- dynamicDispatchEnabled() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary
-
Allows the use of
DynamicDispatchLibrary
with this library. - DynamicDispatchLibrary - Class in com.oracle.truffle.api.library
-
A library that allows to dynamically dispatch to export library classes.
- DynamicDispatchLibrary() - Constructor for class com.oracle.truffle.api.library.DynamicDispatchLibrary
-
Constructor for generated subclasses.
- DynamicObject - Class in com.oracle.truffle.api.object
-
Represents a dynamic object, members of which can be dynamically added and removed at run time.
- DynamicObject(Shape) - Constructor for class com.oracle.truffle.api.object.DynamicObject
-
Constructor for
DynamicObject
subclasses. - DynamicObject.DynamicField - Annotation Interface in com.oracle.truffle.api.object
-
Using this annotation, subclasses can define additional dynamic fields to be used by the object layout.
- DynamicObjectLibrary - Class in com.oracle.truffle.api.object
-
DynamicObject
access library. - DynamicObjectLibrary() - Constructor for class com.oracle.truffle.api.object.DynamicObjectLibrary
- dynamicType(Object) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Sets initial dynamic object type identifier.
- dynamicType(Object) - Method in class com.oracle.truffle.api.object.Shape.DerivedBuilder
-
Sets initial dynamic object type identifier.
E
- EagerExportProvider - Interface in com.oracle.truffle.api.library.provider
-
Service provider interface implemented by library exports if they needed to be loaded eagerly with a library.
- EconomicMap<K,
V> - Interface in org.graalvm.collections -
Memory efficient map data structure that dynamically changes its representation depending on the number of entries and is specially optimized for small number of entries.
- EconomicMapUtil - Class in org.graalvm.collections
-
Utility methods for the
EconomicMap
. - EconomicMapWrap<K,
V> - Class in org.graalvm.collections -
Wraps an existing
Map
as anEconomicMap
. - EconomicMapWrap(Map<K, V>) - Constructor for class org.graalvm.collections.EconomicMapWrap
- EconomicSet<E> - Interface in org.graalvm.collections
-
Memory efficient set data structure.
- Emacs_Mule - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Emacs-Mule.
- empty() - Static method in class org.graalvm.collections.Pair
-
Returns an empty pair.
- empty() - Static method in class org.graalvm.options.OptionMap
-
Returns an empty option map (immutable).
- EMPTY - Static variable in class com.oracle.truffle.api.utilities.FinalBitSet
-
An empty bit set of size 0.
- EMPTY - Static variable in interface org.graalvm.options.OptionDescriptors
-
An empty set of option descriptors.
- emptyCursor() - Static method in interface org.graalvm.collections.EconomicMap
-
Return an empty
MapCursor
. - emptyMap() - Static method in interface org.graalvm.collections.EconomicMap
-
Return an empty, unmodifiable
EconomicMap
. - Enable Debugging for your Truffle guest language - Search tag in package com.oracle.truffle.api.debug
- Section
- EncapsulatingNodeReference - Class in com.oracle.truffle.api.nodes
-
Thread local reference class to remember the current encapsulating node of an interpreter on the stack.
- encoding(Charset) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Explicitly assigns an encoding used to read the file content.
- encoding(Charset) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Explicitly assigns an encoding used to read the file content.
- encoding(Charset) - Method in class org.graalvm.polyglot.Source.Builder
-
Assigns an encoding used to read the file content.
- endsWith(TruffleFile) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this
TruffleFile
path ends with the givenTruffleFile
path. - endsWith(String) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this
TruffleFile
path ends with the given path. - engine(Engine) - Method in class org.graalvm.polyglot.Context.Builder
-
Explicitly sets the underlying engine to use.
- Engine - Class in org.graalvm.polyglot
-
An execution engine for Graal guest languages that allows to inspect the the installed
guest languages
,instruments
and their available options. - Engine.Builder - Class in org.graalvm.polyglot
- ensureAllocatedHere(T) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Prevents the compiler from moving an allocation, enabling precise
OutOfMemoryError
exception locations. - ensureRegistered() - Method in interface com.oracle.truffle.api.library.provider.EagerExportProvider
-
Ensures that the export is registered and usable.
- ensureVirtualized(Object) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Ensures that the given object will be virtual (escape analyzed) at all points that are dominated by the current position.
- ensureVirtualizedHere(Object) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Ensures that the given object will be virtual at the current position.
- enter() - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Enters this specialization instance object on the current thread.
- enter() - Method in class com.oracle.truffle.api.profiles.BranchProfile
-
Call when an unlikely branch is entered.
- enter() - Method in class org.graalvm.polyglot.Context
-
Explicitly enters the context on the current thread.
- enter(Node) - Method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
- enter(Node) - Method in class com.oracle.truffle.api.TruffleContext
-
Enters this context and returns an object representing the previous context.
- entering(String, String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs entry into method.
- entering(String, String, Object) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs entry into method with single parameter.
- entering(String, String, Object[]) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs entry into method with multiple parameters.
- entrySet() - Method in class org.graalvm.options.OptionMap
-
Returns an unmodifiable
Set
view of the mappings contained in this map. - environment(String, String) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the subprocess environment variable.
- environment(String, String) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets an environment variable.
- environment(String, String) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets an environment variable.
- environment(Map<String, String>) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Shortcut for setting multiple
environment variables
using a map. - environment(Map<String, String>) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Shortcut for setting multiple
environment variables
using a map. - environment(Map<String, String>) - Method in class org.graalvm.polyglot.Context.Builder
-
Shortcut for setting multiple
environment variables
using a map. - EnvironmentAccess - Class in org.graalvm.polyglot
-
Represents an access policy to the process environment for the guest languages of a context.
- equal(int) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- equal(int) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- equal(ComparableWord) - Method in interface org.graalvm.word.ComparableWord
-
Compares this word with the specified value.
- equal(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- equal(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- equals(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.ObjectType
-
Deprecated.
- equals(Object) - Method in class com.oracle.truffle.api.debug.DebugStackFrame
- equals(Object) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Indicates whether another
DebugValue
is equal to this. - equals(Object) - Method in class com.oracle.truffle.api.library.Message
- equals(Object) - Method in class com.oracle.truffle.api.object.HiddenKey
- equals(Object) - Method in class com.oracle.truffle.api.object.Location
-
Abstract to force overriding.
- equals(Object) - Method in class com.oracle.truffle.api.source.Source
- equals(Object) - Method in class com.oracle.truffle.api.source.SourceSection
- equals(Object) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
true
if this string is equal toobj
. - equals(Object) - Method in record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.oracle.truffle.api.TruffleContext
- equals(Object) - Method in class com.oracle.truffle.api.TruffleFile
- equals(Object) - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Compares this object against the specified object.
- equals(Object) - Method in class org.graalvm.collections.Pair
- equals(Object) - Method in class org.graalvm.home.Version
- equals(Object) - Method in class org.graalvm.options.OptionDescriptor
- equals(Object) - Method in class org.graalvm.options.OptionMap
- equals(Object) - Method in class org.graalvm.polyglot.Context
- equals(Object) - Method in class org.graalvm.polyglot.HostAccess
- equals(Object) - Method in class org.graalvm.polyglot.Instrument
- equals(Object) - Method in class org.graalvm.polyglot.io.IOAccess
- equals(Object) - Method in class org.graalvm.polyglot.io.ProcessHandler.Redirect
- equals(Object) - Method in class org.graalvm.polyglot.Language
- equals(Object) - Method in exception class org.graalvm.polyglot.PolyglotException
- equals(Object) - Method in class org.graalvm.polyglot.Source
- equals(Object) - Method in class org.graalvm.polyglot.SourceSection
- equals(Object) - Method in class org.graalvm.polyglot.TypeLiteral
- equals(Object) - Method in class org.graalvm.polyglot.Value
-
Compares the identity of the underlying polyglot objects.
- equals(Object) - Method in interface org.graalvm.word.WordBase
-
Deprecated.
- equals(Object, Object) - Method in class org.graalvm.collections.Equivalence
-
Returns
true
if the non-null
arguments are equal to each other andfalse
otherwise. - equals(UnmodifiableEconomicMap<K, V>, UnmodifiableEconomicMap<K, V>) - Static method in class org.graalvm.collections.EconomicMapUtil
-
Compares maps for equality.
- equalsUncached(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.EqualNode
. - Equivalence - Class in org.graalvm.collections
-
Strategy for comparing two objects.
- Equivalence() - Constructor for class org.graalvm.collections.Equivalence
-
Subclass for creating custom equivalence definitions.
- err() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Standard error writer for
Engine
thisinstrument
is being executed in. - err() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Standard error writer provided by
Context.Builder.err(OutputStream)
this language is being executed in. - err(OutputStream) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets the error output stream to be used for the context.
- err(OutputStream) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets the error output stream to be used for the context.
- err(OutputStream) - Method in class org.graalvm.polyglot.Engine.Builder
-
Sets the standard error stream to be used for this engine.
- Error Handling - Search tag in class org.graalvm.polyglot.Context
- Section
- EUC_JIS_2004 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
EUC-JIS-2004.
- EUC_JP - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
EUC-JP.
- EUC_KR - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
EUC-KR.
- EUC_TW - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
EUC-TW.
- EucJP_ms - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
EucJP-ms.
- eval(String) - Method in class com.oracle.truffle.api.debug.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.
- eval(String, CharSequence) - Method in class org.graalvm.polyglot.Context
-
Evaluates a guest language code literal, using a provided
language id
. - eval(Source) - Method in class org.graalvm.polyglot.Context
-
Evaluates a source object by using the language specified in the source.
- evalInternal(Node, Source) - Method in class com.oracle.truffle.api.TruffleContext
-
Evaluates a source in an inner context and returns the result.
- evalPublic(Node, Source) - Method in class com.oracle.truffle.api.TruffleContext
-
The same as
TruffleContext.evalInternal(Node, Source)
, but only public languages are accessible. - evaluate(String, String) - Method in class com.oracle.truffle.api.debug.DebugContext
-
Evaluate the given code in this context.
- Evaluation - Search tag in class org.graalvm.polyglot.Context
- Section
- EventBinding<T> - Class in com.oracle.truffle.api.instrumentation
-
An instrumentation handle for a subscription to a filtered stream of execution event notifications.
- Event Consumers - Search tag in class org.graalvm.polyglot.management.ExecutionListener
- Section
- EventContext - Class in com.oracle.truffle.api.instrumentation
-
Represents the context of an execution event.
- Event Data - Search tag in class org.graalvm.polyglot.management.ExecutionListener
- Section
- Event Filters - Search tag in class org.graalvm.polyglot.management.ExecutionListener
- Section
- Event lifetime - Search tag in class com.oracle.truffle.api.debug.SuspendedEvent
- Section
- Event merging - Search tag in class com.oracle.truffle.api.debug.DebuggerSession
- Section
- ExactMath - Class in com.oracle.truffle.api
-
This class contains exact math related methods that are generally useful for dynamic language implementations.
- Example for a simple expression coverage instrument: - Search tag in class com.oracle.truffle.api.instrumentation.TruffleInstrument
- Section
- Examples: - Search tag in org.graalvm.home.Version.format(String)
- Section
- Example usage with JavaScript: - Search tag in org.graalvm.polyglot.Context.Builder.allowHostClassLookup(Predicate<String>)
- Section
- EXCEPTION - Enum constant in enum class com.oracle.truffle.api.debug.Breakpoint.Kind
-
Represents exception breakpoints that are hit when an exception is thrown from a guest language program.
- exceptionHandler() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
Provides an exception handler for all exceptions that are not handled explicitly by the entry point method.
- ExceptionType - Enum Class in com.oracle.truffle.api.interop
-
Represents a type of a Truffle exception.
- EXCLUSIVE - Enum constant in enum class com.oracle.truffle.api.TruffleLanguage.ContextPolicy
-
Use one exclusive
TruffleLanguage
instance per language context instance. - exec(Path, String...) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Replaces the current process image with the process image specified by the given path invoked with the given args.
- exec(Path, String[], Map<String, String>) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Replaces the current process image with the process image specified by the given path invoked with the given arguments and environment.
- EXECUTABLE_TO_JAVA_INTERFACE - Enum constant in enum class org.graalvm.polyglot.HostAccess.MutableTargetMapping
-
Enables default mapping of executable guest objects to a
FunctionalInterface
. - ExecutableNode - Class in com.oracle.truffle.api.nodes
-
Represents an executable node in a Truffle AST.
- ExecutableNode(TruffleLanguage<?>) - Constructor for class com.oracle.truffle.api.nodes.ExecutableNode
-
Creates new executable node with a given language instance.
- execute(byte[], int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.FromByteArrayNode
-
Creates a new
MutableTruffleString
from a byte array. - execute(byte[], int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode
-
Creates a new
TruffleString
from a byte array. - execute(byte[], TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode
-
Creates a new
TruffleString
from a byte array. - execute(byte[], TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode
-
Creates a new
TruffleString
from a byte array. - execute(char[]) - Method in class com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node
-
Creates a UTF-16
TruffleString
from a char array. - execute(char[], int, int) - Method in class com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node
-
Creates a UTF-16
TruffleString
from a char-array. - execute(int[]) - Method in class com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node
-
Creates a UTF-32
TruffleString
from an int-array. - execute(int[], int, int) - Method in class com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node
-
Creates a UTF-32
TruffleString
from an int-array. - execute(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.FromCodePointNode
-
Creates a new TruffleString from a given code point.
- execute(int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.FromCodePointNode
-
Creates a new TruffleString from a given code point.
- execute(long, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.FromLongNode
-
Creates a 10's complement string from the given long value, using ASCII digits (0x30 - 0x39).
- execute(DebugValue...) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Executes the executable represented by this value.
- execute(VirtualFrame) - Method in class com.oracle.truffle.api.nodes.ExecutableNode
-
Execute this fragment at the place where it was parsed.
- execute(VirtualFrame) - Method in class com.oracle.truffle.api.nodes.LoopNode
-
Invokes one loop invocation by repeatedly calling
execute)
on the repeating node the loop was initialized with. - execute(VirtualFrame) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Executes this function using the specified frame and returns the result value.
- execute(AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.TruffleString.ParseDoubleNode
-
Parse the given string as a double value, or throw
TruffleString.NumberFormatException
. - execute(AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode
-
Return a
String
representation of the givenTruffleString
. - execute(AbstractTruffleString, byte[], TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateNode
- execute(AbstractTruffleString, char[]) - Method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF16Node
- execute(AbstractTruffleString, int) - Method in class com.oracle.truffle.api.strings.TruffleString.ParseIntNode
-
Parse the given string as an int value, or throw
TruffleString.NumberFormatException
. - execute(AbstractTruffleString, int) - Method in class com.oracle.truffle.api.strings.TruffleString.ParseLongNode
-
Parse the given string as a long value, or throw
TruffleString.NumberFormatException
. - execute(AbstractTruffleString, int) - Method in class com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node
-
Read a single char from a UTF-16 string.
- execute(AbstractTruffleString, int[]) - Method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF32Node
- execute(AbstractTruffleString, int, byte[], int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode
-
Copy a region of the given
TruffleString
a
, bounded bybyteFromIndexA
andbyteLength
into the given byte array, at starting atbyteFromIndexDst
. - execute(AbstractTruffleString, int, int, byte[], TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfAnyByteNode
-
Return the byte index of the first occurrence of any byte contained in
values
, bounded byfromByteIndex
(inclusive) andmaxByteIndex
(exclusive). - execute(AbstractTruffleString, int, int, char[]) - Method in class com.oracle.truffle.api.strings.TruffleString.CharIndexOfAnyCharUTF16Node
-
Return the char index of the first occurrence of any char contained in
values
, bounded byfromCharIndex
(inclusive) andmaxCharIndex
(exclusive). - execute(AbstractTruffleString, int, int, int[]) - Method in class com.oracle.truffle.api.strings.TruffleString.IntIndexOfAnyIntUTF32Node
-
Return the int index of the first occurrence of any int contained in
values
, bounded byfromIntIndex
(inclusive) andmaxIntIndex
(exclusive). - execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode
-
TruffleString.IndexOfCodePointNode
, but with byte indices. - execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.IndexOfCodePointNode
-
Return the codepoint index of the first occurrence of
codepoint
, bounded byfromIndex
(inclusive) andtoIndex
(exclusive), if no occurrence is found return a negative value. - execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfCodePointNode
-
TruffleString.LastIndexOfCodePointNode
, but with byte indices. - execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfCodePointNode
-
Return the codepoint index of the last occurrence of
codepoint
, bounded byfromIndex
(exclusive upper limit) andtoIndex
(inclusive lower limit), if no occurrence is found return a negative value. - execute(AbstractTruffleString, int, int, TruffleString.CodePointSet) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode
-
Returns the byte index of the first codepoint present in the given
TruffleString.CodePointSet
, bounded byfromByteIndex
(inclusive) andtoByteIndex
(exclusive). - execute(AbstractTruffleString, int, int, TruffleString.CodePointSet, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode
-
Returns the byte index of the first codepoint present in the given
TruffleString.CodePointSet
, bounded byfromByteIndex
(inclusive) andtoByteIndex
(exclusive). - execute(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringByteIndexNode
-
MutableTruffleString.SubstringNode
, but with byte indices. - execute(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringNode
-
Create a new mutable substring of
a
, starting fromfromIndex
, with lengthlength
. - execute(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexToCodePointIndexNode
-
Convert the given byte index to a codepoint index, relative to starting point
byteOffset
. - execute(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointIndexToByteIndexNode
-
Convert the given codepoint index to a byte index, relative to starting point
byteOffset
. - execute(AbstractTruffleString, int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode
-
TruffleString.SubstringNode
, but with byte indices. - execute(AbstractTruffleString, int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.SubstringNode
-
Create a substring of
a
, starting from codepoint indexfromIndex
, with codepoint lengthlength
. - execute(AbstractTruffleString, int, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode
-
Checks for a region match, byte-by-byte.
- execute(AbstractTruffleString, int, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualNode
-
Checks for codepoint equality in a region with the given codepoint index and codepoint length.
- execute(AbstractTruffleString, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode
-
Get the number of bytes occupied by the codepoint starting at
byteIndex
, withbest-effort
error handling. - execute(AbstractTruffleString, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode
-
Decode and return the codepoint at byte index
i
, withbest-effort
error handling. - execute(AbstractTruffleString, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode
-
Decode and return the codepoint at codepoint index
i
, withbest-effort
error handling. - execute(AbstractTruffleString, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ReadByteNode
-
Read a single byte from a string.
- execute(AbstractTruffleString, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.RepeatNode
-
Create a new string by repeating
n
times stringa
. - execute(AbstractTruffleString, int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode
-
Get the number of bytes occupied by the codepoint starting at
byteIndex
. - execute(AbstractTruffleString, int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode
-
Decode and return the codepoint at byte index
i
. - execute(AbstractTruffleString, int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode
-
Decode and return the codepoint at codepoint index
i
. - execute(AbstractTruffleString, int, TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode
-
Checks for a region match, byte-by-byte.
- execute(AbstractTruffleString, int, Object, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CopyToNativeMemoryNode
-
Copy a region of the given
TruffleString
a
, bounded bybyteFromIndexA
andbyteLength
into the given interop object representing a native pointer (isPointer(pointerObject)
must returntrue
), starting atbyteFromIndexDst
. - execute(AbstractTruffleString, AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node
-
Compare UTF-16 strings
a
andb
char-by-char. - execute(AbstractTruffleString, AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.TruffleString.CompareIntsUTF32Node
-
Compare UTF-32 strings
a
andb
int-by-int. - execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode
-
TruffleString.IndexOfStringNode
, but with byte indices. - execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.IndexOfStringNode
-
Return the codepoint index of the first occurrence of
string
, bounded byfromIndex
(inclusive) andtoIndex
(exclusive), if no occurrence is found return a negative value. - execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode
-
TruffleString.LastIndexOfStringNode
, but with byte indices. - execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfStringNode
-
Return the codepoint index of the last occurrence of
string
, bounded byfromIndex
(exclusive upper limit) andtoIndex
(inclusive lower limit), if no occurrence is found return a negative value. - execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.ConcatNode
-
Creates a new
MutableTruffleString
by concatenating two strings. - execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CompareBytesNode
-
Compare strings
a
andb
byte-by-byte. - execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.EqualNode
-
Returns
true
ifa
andb
are byte-by-byte equal when considered inexpectedEncoding
. - execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.ConcatNode
-
Create a new string by concatenating
a
andb
. - execute(AbstractTruffleString, TruffleString.CodeRange) - Method in class com.oracle.truffle.api.strings.TruffleString.CodeRangeEqualsNode
-
Returns
true
if the string's code range is equal to the givenTruffleString.CodeRange
. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.AsManagedNode
-
If the given string is already a managed (i.e.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.AsMutableTruffleStringNode
-
If the given string is already a
MutableTruffleString
, return it. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.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 class com.oracle.truffle.api.strings.TruffleString.AsManagedNode
-
Returns a given string if it is already managed (i.e.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.AsTruffleStringNode
-
If the given string is already a
TruffleString
, return it. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointLengthNode
-
Return the number of codepoints in the string.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode
-
Copy the entire string to a byte[] and return it.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode
-
Returns a
TruffleStringIterator
, which allows iterating this string's code points, withbest-effort error handling
. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode
-
Returns a
TruffleStringIterator
, which allows iterating this string's code points, withbest-effort error handling
. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetByteCodeRangeNode
-
Get the string's "byte-based"
TruffleString.CodeRange
. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeImpreciseNode
-
Get the string's possibly imprecise
TruffleString.CodeRange
. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeNode
-
Get the string's precise
TruffleString.CodeRange
. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetInternalByteArrayNode
-
Get the given string's internal byte array.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetInternalNativePointerNode
-
Get the given string's pointer object which was passed to
TruffleString.FromNativePointerNode
. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetStringCompactionLevelNode
-
Get the string's
TruffleString.CompactionLevel
. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.HashCodeNode
-
Returns the string's hash code.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.IsValidNode
-
Returns
true
if the string encoded correctly. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.MaterializeNode
-
Forces materialization of any lazy internal data.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.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 class com.oracle.truffle.api.strings.TruffleString.ToValidStringNode
-
Returns a version of string
a
that contains only valid codepoints, which may be the string itself or a converted version. - execute(AbstractTruffleString, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.AsManagedNode
-
If the given string is already a managed (i.e.
- execute(AbstractTruffleString, TruffleString.Encoding, TranscodingErrorHandler) - Method in class com.oracle.truffle.api.strings.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, TranscodingErrorHandler) - Method in class com.oracle.truffle.api.strings.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, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.ForceEncodingNode
-
Returns a version of string
a
assigned to the given encoding. - execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ForceEncodingNode
-
Returns a version of string
a
assigned to the given encoding, which may be the string itself or a new string. - execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode
-
Returns a
TruffleStringIterator
, which allows iterating this string's code points. - execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode
-
Returns a
TruffleStringIterator
, which allows iterating this string's code points. - execute(AbstractTruffleString, TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode
-
TruffleString.IndexOfStringNode
, but with byte indices. - execute(AbstractTruffleString, TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode
-
TruffleString.LastIndexOfStringNode
, but with byte indices. - execute(MutableTruffleString, int, byte, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.WriteByteNode
-
Writes a byte into the given mutable string.
- execute(TruffleStringBuilder) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode
-
Materialize this string builder to a
TruffleString
. - execute(TruffleStringBuilder, boolean) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode
-
Materialize this string builder to a
TruffleString
. - execute(TruffleStringBuilder, byte) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode
-
Append a single byte to the string builder.
- execute(TruffleStringBuilder, char) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node
-
Append a single char to the string builder.
- execute(TruffleStringBuilder, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode
-
Append a codepoint to the string builder.
- execute(TruffleStringBuilder, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode
-
Append the base-10 string equivalent of a given integer to the string builder.
- execute(TruffleStringBuilder, int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode
-
Append a codepoint to the string builder,
repeat
times. - execute(TruffleStringBuilder, int, int, boolean) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode
-
Append a codepoint to the string builder,
repeat
times. - execute(TruffleStringBuilder, long) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode
-
Append the base-10 string equivalent of a given long value to the string builder.
- execute(TruffleStringBuilder, AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode
-
Append a given
TruffleString
to the string builder. - execute(TruffleStringBuilder, AbstractTruffleString, int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode
-
Append a substring of a given
TruffleString
, starting at byte indexfromByteIndex
and ending at byte indexfromByteIndex + byteLength
, to the string builder. - execute(TruffleStringBuilder, String) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node
-
Append a substring of a given
String
to the string builder. - execute(TruffleStringBuilder, String, int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node
-
Append a substring of a given
String
, starting at char indexfromIndex
and ending atfromIndex + length
, to the string builder. - execute(TruffleStringIterator) - Method in class com.oracle.truffle.api.strings.TruffleStringIterator.NextNode
-
Returns the next codepoint in the string.
- execute(TruffleStringIterator) - Method in class com.oracle.truffle.api.strings.TruffleStringIterator.PreviousNode
-
Returns the previous codepoint in the string.
- execute(TruffleString, NativeAllocator, TruffleString.Encoding, boolean, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.AsNativeNode
- execute(Object...) - Method in class org.graalvm.polyglot.Value
-
Executes this value if it
can
be executed and returns its result. - execute(Object, int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.FromNativePointerNode
-
Create a new
MutableTruffleString
from an interop object representing a native pointer (isPointer(pointerObject)
must returntrue
). - execute(Object, int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.FromNativePointerNode
-
Create a new
TruffleString
from an interop object representing a native pointer (isPointer(pointerObject)
must returntrue
). - execute(Object, Object...) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Executes an executable value with the given arguments.
- execute(String, int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.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(String, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode
-
Creates a
TruffleString
from a Java string, re-using its internal byte array if possible. - execute(Value...) - Method in interface org.graalvm.polyglot.proxy.ProxyExecutable
-
Executes the object with the given arguments and returns its result.
- executeBoolean(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a boolean value.
- executeBoolean(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a boolean value.
- executeByte(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a byte value.
- executeByte(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a byte value.
- executeChar(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a char value.
- executeChar(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a char value.
- Executed - Annotation Interface in com.oracle.truffle.api.dsl
-
This annotation declares a
child
field to be executed and used as dynamic input values forspecializations
. - executeDouble(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a double value.
- executeDouble(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a double value.
- executeFloat(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a float value.
- executeFloat(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a float value.
- executeGeneric(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a generic value.
- executeGeneric(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a generic value.
- executeInt(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns an int value.
- executeInt(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects an int value.
- executeLong(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a long value.
- executeLong(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a long value.
- executeOSR(VirtualFrame, int, Object) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Entrypoint to invoke this node through OSR.
- executeOSR(VirtualFrame, long, Object) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Overload of
BytecodeOSRNode.executeOSR(VirtualFrame, int, Object)
with along
target. - executeRepeating(VirtualFrame) - Method in interface com.oracle.truffle.api.nodes.RepeatingNode
-
Repeatedly invoked by a
loop node
implementation until the method returnsfalse
or throws an exception. - executeRepeatingWithValue(VirtualFrame) - Method in interface com.oracle.truffle.api.nodes.RepeatingNode
-
Repeatedly invoked by a
loop node
implementation, but allows returning a language-specific loop exit status. - executeShort(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a short value.
- executeShort(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a short value.
- ExecuteSourceEvent - Class in com.oracle.truffle.api.instrumentation
-
Represents a source execute event from a
ExecuteSourceListener
. - ExecuteSourceListener - Interface 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. - ExecuteTracingSupport - Interface in com.oracle.truffle.api.dsl
-
Allows tracing of calls to
execute
methods of aNode
. - executeVoid(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns no value.
- executeVoid(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element without expecting any return value.
- executeVoid(Object...) - Method in class org.graalvm.polyglot.Value
-
Executes this value if it
can
be executed. - executeWith() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
-
The
NodeChild.executeWith()
property allows a node to pass the result of one child's executable as an input to another child's executable. - Execution - Search tag in class com.oracle.truffle.api.nodes.RootNode
- Section
- ExecutionEvent - Class in org.graalvm.polyglot.management
-
An execution event object passed to an execution listener consumer.
- ExecutionEventListener - Interface 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. - ExecutionEventNode - 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. - ExecutionEventNode() - Constructor for class com.oracle.truffle.api.instrumentation.ExecutionEventNode
- ExecutionEventNodeFactory - Interface in com.oracle.truffle.api.instrumentation
-
Event node factories are factories of event nodes for a
program location
. - ExecutionListener - Class in org.graalvm.polyglot.management
-
Execution listeners allow to instrument the execution of guest languages.
- ExecutionListener.Builder - Class in org.graalvm.polyglot.management
-
A builder used to construct execution events.
- ExecutionSignature - Class in com.oracle.truffle.api.nodes
-
Represents an execution signature of a
RootNode
. - exists(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests existence of a file.
- EXIT - Enum constant in enum class com.oracle.truffle.api.interop.ExceptionType
-
Indicates that the application was soft-exited within the guest language program.
- exitContext(C, TruffleLanguage.ExitMode, int) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Performs language exit event actions that are necessary before language contexts are
finalized
. - exiting(String, String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a return from method.
- exiting(String, String, Object) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a return from method with result.
- EXPERIMENTAL - Enum constant in enum class org.graalvm.options.OptionStability
-
An experimental option has no guarantees of stability and might be removed at any point.
- EXPERT - Enum constant in enum class org.graalvm.options.OptionCategory
-
An option only relevant in corner cases and for fine-tuning.
- EXPLICIT - Static variable in class org.graalvm.polyglot.HostAccess
-
Predefined host access policy that allows access to public host methods or fields that were annotated with @Export and were declared in public class.
- Explicit Receiver Types - Search tag in annotation interface com.oracle.truffle.api.library.ExportLibrary
- Section
- ExplodeLoop - Annotation Interface in com.oracle.truffle.api.nodes
-
Specifies that loops originating from within this method should be fully unrolled.
- ExplodeLoop.LoopExplosionKind - Enum Class in com.oracle.truffle.api.nodes
-
Controls the behavior of the
ExplodeLoop
annotation. - ExportLibrary - Annotation Interface in com.oracle.truffle.api.library
-
Allows to export messages of Truffle libraries.
- ExportLibrary.Repeat - Annotation Interface in com.oracle.truffle.api.library
-
Repeat annotation for
ExportLibrary
. - ExportMessage - Annotation Interface in com.oracle.truffle.api.library
-
Exports the annotated method or class as library message.
- ExportMessage.Ignore - Annotation Interface in com.oracle.truffle.api.library
-
Explicitly ignores warning messages originating from the
ExportLibrary
annotation. - ExportMessage.Repeat - Annotation Interface in com.oracle.truffle.api.library
- exportSymbol(String, Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Explicitly exports a symbol to the polyglot bindings object.
- EXPRESSION - Enum constant in enum class com.oracle.truffle.api.debug.SourceElement
-
Denotes program locations that represent an expression of a guest language.
- expressions(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
-
Include program locations that are marked as expressions.
F
- Fallback - Annotation Interface in com.oracle.truffle.api.dsl
-
A method annotated with
Fallback
is treated as aSpecialization
that implicitly links all the guards of all other declaredSpecialization
annotated methods of the operation in a negated form. - FALSE - Enum constant in enum class com.oracle.truffle.api.utilities.TriState
-
The state is false.
- FASTPATH_PROBABILITY - Static variable in class com.oracle.truffle.api.CompilerDirectives
- fatalError() - Method in interface org.graalvm.nativeimage.LogHandler
-
Exit the VM because a fatal, non-recoverable error situation has been detected.
- Feature - Interface in org.graalvm.nativeimage.hosted
-
Features allow clients to intercept the native image generation and run custom initialization code at various stages.
- Feature.AfterAnalysisAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess)
. - Feature.AfterCompilationAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.afterCompilation(org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess)
. - Feature.AfterHeapLayoutAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.afterHeapLayout(org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess)
. - Feature.AfterImageWriteAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.afterImageWrite(org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess)
. - Feature.AfterRegistrationAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)
. - Feature.BeforeAnalysisAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.beforeAnalysis(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess)
. - Feature.BeforeCompilationAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.beforeCompilation(org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess)
. - Feature.BeforeHeapLayoutAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.beforeHeapLayout(org.graalvm.nativeimage.hosted.Feature.BeforeHeapLayoutAccess)
. - Feature.BeforeImageWriteAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.beforeImageWrite(org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess)
. - Feature.BeforeUniverseBuildingAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.beforeUniverseBuilding(org.graalvm.nativeimage.hosted.Feature.BeforeUniverseBuildingAccess)
. - Feature.CompilationAccess - Interface in org.graalvm.nativeimage.hosted
- Feature.DuringAnalysisAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)
. - Feature.DuringSetupAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.duringSetup(org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess)
. - Feature.FeatureAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods that are available for all feature methods.
- Feature.IsInConfigurationAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.isInConfiguration(org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess)
. - Feature.OnAnalysisExitAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.onAnalysisExit(org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess)
. - Feature.QueryReachabilityAccess - Interface in org.graalvm.nativeimage.hosted
-
Access reachability methods available for
Feature.afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess)
andFeature.duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)
. - FieldOffset - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The int or long field is set to the offset of the field named
Enum.name()
of the classRecomputeFieldValue.declClass()
, as it would be computed byUnsafe.objectFieldOffset(java.lang.reflect.Field)
. - FieldValueTransformer - Interface in org.graalvm.nativeimage.hosted
-
A transformer for a field value that can be registered using
Feature.BeforeAnalysisAccess.registerFieldValueTransformer(java.lang.reflect.Field, org.graalvm.nativeimage.hosted.FieldValueTransformer)
. - fileSystem(FileSystem) - Method in class org.graalvm.polyglot.Context.Builder
-
Deprecated.If a file system was previously set use
allowIO(IOAccess.newBuilder().fileSystem(fileSystem).build())
. - fileSystem(FileSystem) - Method in class org.graalvm.polyglot.io.IOAccess.Builder
-
Sets a new
FileSystem
. - FileSystem - Interface in org.graalvm.polyglot.io
-
Service-provider for
Truffle
files. - fileTypeDetectors() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Declarative list of
TruffleFile.FileTypeDetector
classes provided by this language. - fillIn(Throwable) - Static method in exception class com.oracle.truffle.api.TruffleStackTrace
-
Fills in the guest language stack frames from the current frames on the stack.
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Unsupported,
DebugException
instances are not writable therefore filling the stack trace has no effect for them. - fillInStackTrace() - Method in exception class com.oracle.truffle.api.exception.AbstractTruffleException
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.interop.InteropException
-
No stack trace for interop exceptions.
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.nodes.ControlFlowException
-
For performance reasons, this exception does not record any stack trace information.
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.nodes.SlowPathException
-
Deprecated.the method will become final in future releases.
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.strings.TruffleString.NumberFormatException
-
No stack trace for this exception.
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.TruffleStackTrace
- fillInStackTrace() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Unsupported,
PolyglotException
instances are not writable therefore filling the stack trace has no effect for them. - FinalBitSet - Class in com.oracle.truffle.api.utilities
-
Read-only bitset designed for partial evaluation.
- finalizeContext(C) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Performs language context finalization actions that are necessary before language contexts are
disposed
. - finalizeThread(C, Thread) - Method in class com.oracle.truffle.api.TruffleLanguage
-
The behavior of this notification is different for
polyglot threads
and embedder threads. - finalLocation() - Static method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- FinalLocationException - Exception Class in com.oracle.truffle.api.object
-
Deprecated.
- find(TruffleInstrument.Env) - Static method in class com.oracle.truffle.api.debug.Debugger
-
Finds the debugger associated with a given instrument environment.
- find(TruffleLanguage.Env) - Static method in class com.oracle.truffle.api.debug.Debugger
-
Finds the debugger associated with a given language environment.
- find(Engine) - Static method in class com.oracle.truffle.api.debug.Debugger
-
Finds the debugger associated with a given an engine.
- findAllNodeInstances(Node, Class<T>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- findAllParents(Node, Class<T>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- findAnnotation(Class<?>, Class<T>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Find annotation in class/interface hierarchy.
- findAsynchronousFrames(Frame) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Provide a list of stack frames that led to a schedule of asynchronous execution of this root node on the provided frame.
- findBytecodeIndex(Node, Frame) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns the current byte code index of the root node using a given node location and a frame.
- findChildFieldName(Node, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Finds the field in a parent node and returns its name.
- findClassByName(String) - Method in interface org.graalvm.nativeimage.hosted.Feature.FeatureAccess
-
Returns a class if it is present on the classpath.
- findEncoding(TruffleFile) - Method in interface com.oracle.truffle.api.TruffleFile.FileTypeDetector
-
For a file containing an encoding information returns the encoding.
- findFirstNodeInstance(Node, Class<T>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- findHome() - Static method in class org.graalvm.polyglot.Engine
-
Finds the GraalVM home folder.
- findInstrumentableParent(Node) - Static method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Find the first
instrumentable
node on it's parent chain. - findLanguage(TruffleFile) - Static method in class com.oracle.truffle.api.source.Source
-
Returns the first language that supports evaluating the probed mime type of a given
file
. - findLanguage(File) - Static method in class org.graalvm.polyglot.Source
-
Returns the id of the first language that supports evaluating the probed mime type of a given
file
. - findLanguage(String) - Static method in class com.oracle.truffle.api.source.Source
-
Returns the first installed language that supports evaluating sources for a given MIME type.
- findLanguage(String) - Static method in class org.graalvm.polyglot.Source
-
Returns the first installed language that supports evaluating sources for a given MIME type.
- findLanguage(URL) - Static method in class com.oracle.truffle.api.source.Source
-
Returns the first language that supports evaluating the probed mime type of a given
URL
. - findLanguage(URL) - Static method in class org.graalvm.polyglot.Source
-
Returns the id of the first language that supports evaluating the probed mime type of a given
URL
. - findMetaObject(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Find a metaobject of a value, if any.
- findMimeType(TruffleFile) - Static method in class com.oracle.truffle.api.source.Source
-
Returns the probed MIME type for a given file, or
null
if no MIME type could be resolved. - findMimeType(TruffleFile) - Method in interface com.oracle.truffle.api.TruffleFile.FileTypeDetector
-
Finds a MIME type for given
TruffleFile
. - findMimeType(File) - Static method in class org.graalvm.polyglot.Source
-
Returns the probed MIME type for a given file, or
null
if no MIME type could be resolved. - findMimeType(URL) - Static method in class com.oracle.truffle.api.source.Source
-
Returns the probed MIME type for a given url, or
null
if no MIME type could be resolved. - findMimeType(URL) - Static method in class org.graalvm.polyglot.Source
-
Returns the probed MIME type for a given url, or
null
if no MIME type could be resolved. - findNearestNodeAt(int, int, Set<Class<? extends Tag>>) - Method in interface com.oracle.truffle.api.instrumentation.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<Class<? extends Tag>>) - Method in interface com.oracle.truffle.api.instrumentation.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. - findNodeChildren(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- findOrAddAuxiliarySlot(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Find or adds an auxiliary slot to this frame descriptor.
- findParent(Node, Class<T>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- findProvidedTag(LanguageInfo, String) - Static method in class com.oracle.truffle.api.instrumentation.Tag
-
Finds a provided tag by the language using its
identifier
. - fine(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
fine level
. - fine(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
fine level
. - finer(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
finer level
. - finer(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
finer level
. - finest(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
finest level
. - finest(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
finest level
. - fitsInBigInteger() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInBigInteger() - Method in class org.graalvm.polyglot.Value
- fitsInBigInteger(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents anumber
and its value fits in a Java BigInteger without loss of precision, elsefalse
. - fitsInByte() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInByte() - Method in class org.graalvm.polyglot.Value
- fitsInByte(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents anumber
and its value fits in a Java byte primitive without loss of precision, elsefalse
. - fitsInDouble() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInDouble() - Method in class org.graalvm.polyglot.Value
- fitsInDouble(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents anumber
and its value fits in a Java double primitive without loss of precision, elsefalse
. - fitsInFloat() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInFloat() - Method in class org.graalvm.polyglot.Value
- fitsInFloat(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents anumber
and its value fits in a Java float primitive without loss of precision, elsefalse
. - fitsInInt() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInInt() - Method in class org.graalvm.polyglot.Value
- fitsInInt(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents anumber
and its value fits in a Java int primitive without loss of precision, elsefalse
. - fitsInLong() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInLong() - Method in class org.graalvm.polyglot.Value
- fitsInLong(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents anumber
and its value fits in a Java long primitive without loss of precision, elsefalse
. - fitsInShort() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInShort() - Method in class org.graalvm.polyglot.Value
- fitsInShort(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents anumber
and its value fits in a Java short primitive without loss of precision, elsefalse
. - Float - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- FloatValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
float
runtime values. - flush() - Method in interface org.graalvm.nativeimage.LogHandler
-
Flush the log to its destination.
- forceEncodingUncached(TruffleString.Encoding, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ForceEncodingNode
. - forceInlining() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Enforces the runtime system to inline the
CallTarget
at this call site. - forceSharing(Boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Force enables or disables code sharing for this inner context.
- forEachChild(Node, NodeVisitor) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Executes a closure for every non-null child of the parent node.
- format(String) - Method in class org.graalvm.home.Version
-
Format the GraalVM version with a custom format string.
- Frame - Interface in com.oracle.truffle.api.frame
-
Represents a frame containing values of local variables of the guest language.
- FrameDescriptor - Class in com.oracle.truffle.api.frame
-
Descriptor of the slots of frame objects.
- FrameDescriptor() - Constructor for class com.oracle.truffle.api.frame.FrameDescriptor
-
Constructs empty descriptor.
- FrameDescriptor(Object) - Constructor for class com.oracle.truffle.api.frame.FrameDescriptor
-
Constructs new descriptor with specified
FrameDescriptor.getDefaultValue()
. - FrameDescriptor.Builder - Class in com.oracle.truffle.api.frame
-
Builder API for frame descriptors with indexed slots.
- FrameInstance - Interface in com.oracle.truffle.api.frame
-
Represents a current frame instance on the stack.
- FrameInstance.FrameAccess - Enum Class in com.oracle.truffle.api.frame
-
Access mode for
FrameInstance.getFrame(FrameAccess)
. - FrameInstanceVisitor<T> - Interface in com.oracle.truffle.api.frame
-
Callback interface for
TruffleRuntime.iterateFrames(com.oracle.truffle.api.frame.FrameInstanceVisitor<T>)
. - FrameSlotKind - Enum Class in com.oracle.truffle.api.frame
- FrameSlotTypeException - Exception Class in com.oracle.truffle.api.frame
-
Exception thrown if the frame slot type does not match the access type.
- FrameSlotTypeException() - Constructor for exception class com.oracle.truffle.api.frame.FrameSlotTypeException
- free(PointerBase) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
-
Frees unmanaged memory that was previously allocated using methods of this class.
- from(Iterable<Object>) - Static method in interface org.graalvm.polyglot.proxy.ProxyIterable
-
Creates a proxy iterable backed by a Java
Iterable
. - from(Duration) - Static method in interface org.graalvm.polyglot.proxy.ProxyDuration
-
Creates a proxy duration from a duration.
- from(Instant) - Static method in interface org.graalvm.polyglot.proxy.ProxyInstant
-
Creates a new proxy instant from a Java instant value.
- from(LocalDate) - Static method in interface org.graalvm.polyglot.proxy.ProxyDate
-
Creates a proxy date from a local date.
- from(LocalTime) - Static method in interface org.graalvm.polyglot.proxy.ProxyTime
-
Creates a proxy time from a local time.
- from(ZoneId) - Static method in interface org.graalvm.polyglot.proxy.ProxyTimeZone
-
Creates a proxy timezone from a ZoneId.
- from(Iterator<?>) - Static method in interface org.graalvm.polyglot.proxy.ProxyIterator
-
Creates a proxy iterator backed by a Java
Iterator
. - from(Map<Object, Object>) - Static method in interface org.graalvm.polyglot.proxy.ProxyHashMap
-
Creates a proxy hash map backed by a Java
Map
. - From a file on disk - Search tag in class com.oracle.truffle.api.source.Source
- Section
- From a file on disk - Search tag in class org.graalvm.polyglot.Source
- Section
- FromAlias - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The field is set to the value assigned to the
Alias
field. - fromArray(Object...) - Static method in interface org.graalvm.polyglot.proxy.ProxyArray
-
Creates a proxy array backed by a Java Object array.
- fromByteArrayUncached(byte[], int, int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.FromByteArrayNode
. - fromByteArrayUncached(byte[], int, int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromByteArrayNode
. - fromByteArrayUncached(byte[], TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromByteArrayNode
. - fromByteArrayUncached(byte[], TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromByteArrayNode
. - fromCharArrayUTF16Uncached(char[]) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromCharArrayUTF16Node
. - fromCharArrayUTF16Uncached(char[], int, int) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromCharArrayUTF16Node
. - fromCodePointUncached(int, TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromCodePointNode
. - fromCodePointUncached(int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromCodePointNode
. - fromConstant(String, TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromJavaStringNode
. - fromCount(int) - Static method in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.Finds the node cost for an associated node count.
- fromIntArrayUTF32Uncached(int[]) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromIntArrayUTF32Node
. - fromIntArrayUTF32Uncached(int[], int, int) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromIntArrayUTF32Node
. - fromJavaStringUncached(String, int, int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromJavaStringNode
. - fromJavaStringUncached(String, TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromJavaStringNode
. - fromJCodingName(String) - Static method in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Get the
TruffleString.Encoding
corresponding to the given encoding name from theJCodings
library. - fromList(List<Object>) - Static method in interface org.graalvm.polyglot.proxy.ProxyArray
-
Creates a proxy array backed by a Java List.
- fromLongUncached(long, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromLongNode
. - fromMap(Map<String, Object>) - Static method in interface org.graalvm.polyglot.proxy.ProxyObject
-
Creates a proxy backed by a
Map
. - fromNativePointerUncached(Object, int, int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.FromNativePointerNode
. - fromNativePointerUncached(Object, int, int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromNativePointerNode
. - fromRanges(int[], TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointSet
-
Creates a new
TruffleString.CodePointSet
from the given list of ranges. - fromTag(byte) - Static method in enum class com.oracle.truffle.api.frame.FrameSlotKind
-
Converts from the numeric representation used in the implementation of
Frame
to theFrameSlotKind
. - FULL_EXPLODE - Enum constant in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Fully explode all loops.
- FULL_EXPLODE_UNTIL_RETURN - Enum constant in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Like
ExplodeLoop.LoopExplosionKind.FULL_EXPLODE
, but in addition explosion does not stop at loop exits. - FULL_UNROLL - Enum constant in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Fully unroll all loops.
- FULL_UNROLL_UNTIL_RETURN - Enum constant in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Like
ExplodeLoop.LoopExplosionKind.FULL_UNROLL
, but in addition loop unrolling duplicates loop exits in every iteration instead of merging them. - Full usage example - Search tag in class com.oracle.truffle.api.library.DynamicDispatchLibrary
- Section
G
- GB12345 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
GB12345.
- GB18030 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
GB18030.
- GB1988 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
GB1988.
- GB2312 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
GB2312.
- GBK - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
GBK.
- GenerateAOT - Annotation Interface in com.oracle.truffle.api.dsl
-
Allows nodes with specializations to be prepared for AOT.
- GenerateAOT.Exclude - Annotation Interface in com.oracle.truffle.api.dsl
-
Excludes the annotated
Specialization
from AOT preparation. - GenerateAOT.Provider - Interface in com.oracle.truffle.api.dsl
-
Implemented by generated code.
- GenerateCached - Annotation Interface in com.oracle.truffle.api.dsl
-
Allows to enable or disable the generation of the cached version of a Truffle DSL node.
- GeneratedBy - Annotation Interface in com.oracle.truffle.api.dsl
-
Marks a type as being generated based on another class or method of a class.
- GenerateInline - Annotation Interface in com.oracle.truffle.api.dsl
-
Generates code for a node that makes this node inlinable when used in
cached
parameters ofspecializations
. - GenerateLibrary - Annotation Interface in com.oracle.truffle.api.library
-
Libraries are specified with
public
andabstract
Java classes that extend the Library class and are annotated by@GenerateLibrary
. - GenerateLibrary.Abstract - Annotation Interface in com.oracle.truffle.api.library
-
Makes a library message abstract, but allows to keep a default implementation.
- GenerateLibrary.DefaultExport - Annotation Interface in com.oracle.truffle.api.library
-
Specifies
library
implementations provided by default as a fallback. - GenerateLibrary.DefaultExport.Repeat - Annotation Interface in com.oracle.truffle.api.library
- GenerateNodeFactory - Annotation Interface in com.oracle.truffle.api.dsl
-
Annotate nodes or base classes of nodes to generate factory handlers implementing the
NodeFactory
interface. - GeneratePackagePrivate - Annotation Interface in com.oracle.truffle.api.dsl
-
Make the code generated for an annotated
node
package-private. - GenerateUncached - Annotation Interface in com.oracle.truffle.api.dsl
-
Generates an uncached version of a node with specializations.
- GenerateWrapper - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Generates a default wrapper subclass of an annotated
InstrumentableNode
subclass. - GenerateWrapper.Ignore - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Annotates a method which should not be instrumented in the generated wrapper subclass.
- GenerateWrapper.IncomingConverter - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Annotates a method to be used as incoming value converter.
- GenerateWrapper.OutgoingConverter - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Annotates a method to be used as outgoing value converter.
- GenerateWrapper.YieldException - Interface in com.oracle.truffle.api.instrumentation
-
An interface to be implemented by
yield exceptions
. - GENERIC - Static variable in class com.oracle.truffle.api.nodes.ExecutionSignature
-
Returns a generic return profile where return and argument types are unknown.
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- genericDispatch(Library, Object, Message, Object[], int) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Performs a generic dispatch for this library.
- get() - Method in class com.oracle.truffle.api.ContextLocal
-
Returns the context local value for the currently entered context.
- get() - Method in class com.oracle.truffle.api.ContextThreadLocal
-
Returns the context thread local value for the currently entered context and thread.
- get() - Method in class com.oracle.truffle.api.nodes.EncapsulatingNodeReference
-
Returns the current encapsulating node for the current thread.
- get() - Method in class com.oracle.truffle.api.utilities.AssumedValue
-
Get the current value, updating it if it has been
AssumedValue.set(T)
. - get() - Method in class org.graalvm.collections.LockFreePool
-
Returns a previously added element.
- get() - Method in interface org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerHolder
-
Returns the C pointer to the null-terminated C char[] array.
- get() - Method in class org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerPointerHolder
-
Returns the C pointer to pointers of null-terminated C char[] arrays.
- get(int) - Method in class com.oracle.truffle.api.strings.InternalByteArray
-
Read the byte at
getArray()[getOffset() + index]
and return it as a byte, similar toTruffleString.ReadByteNode
. - get(int) - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the value of the bit with the specified index.
- get(int) - Static method in class org.graalvm.nativeimage.StackValue
-
Reserves a block of memory in the stack frame of the method that calls this intrinsic.
- get(int, int) - Static method in class org.graalvm.nativeimage.StackValue
-
Utility method that performs size arithmetic, otherwise equivalent to
StackValue.get(int)
. - get(int, Class<T>) - Static method in class org.graalvm.nativeimage.StackValue
-
Reserves a block of memory for array of given
CStruct
type in the stack frame of the method that calls this intrinsic. - get(long) - Method in interface org.graalvm.polyglot.proxy.ProxyArray
-
Returns the element at the given index.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.BooleanField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ByteField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.CharField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.DoubleField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.FloatField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.IntField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.LongField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ReferenceField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ShortField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.StateField
-
This method returns the value of the target field given a target node.
- get(Node) - Static method in class com.oracle.truffle.api.nodes.NodeClass
- get(Node) - Method in class com.oracle.truffle.api.TruffleLanguage.ContextReference
-
Returns the current language context associated with the current thread.
- get(Node) - Method in class com.oracle.truffle.api.TruffleLanguage.LanguageReference
-
Returns the current language instance associated with the current thread.
- get(DynamicObject) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- get(DynamicObject) - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Gets the property's value from the given receiver object if the object has the supported
Shape
, i.e. - get(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- get(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Property
-
Deprecated.
- get(DynamicObject, Shape) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- get(DynamicObject, Shape) - Method in class com.oracle.truffle.api.object.Property
-
Deprecated.
- get(TruffleContext) - Method in class com.oracle.truffle.api.ContextLocal
-
Returns the context local value for an explicit
context
. - get(TruffleContext) - Method in class com.oracle.truffle.api.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 class com.oracle.truffle.api.ContextThreadLocal
-
Returns the context thread local value for the given context and the given thread.
- get(TruffleFile.AttributeDescriptor<T>) - Method in class com.oracle.truffle.api.TruffleFile.Attributes
-
Returns the attribute value.
- get(Class<?>, String, Class<T>) - Static method in class org.graalvm.nativeimage.c.constant.CConstant.ValueAccess
-
Returns the value of a
CConstant
, i.e., the same value that calling the annotated method would return. - get(Class<? extends Node>) - Static method in class com.oracle.truffle.api.nodes.NodeClass
- get(Class<? extends PointerBase>) - Static method in class org.graalvm.nativeimage.c.struct.SizeOf
-
Returns the size of the data structure pointed to by SystemJava pointer types.
- get(Class<T>) - Static method in class org.graalvm.nativeimage.StackValue
-
Reserves a block of memory for given
CStruct
class in the stack frame of the method that calls this intrinsic. - get(Enum<?>, String) - Static method in class org.graalvm.nativeimage.c.constant.CConstant.ValueAccess
-
Returns the value of a
CEnum
, i.e., the same value that calling the method annotated withCEnumValue
would return. - get(String) - Static method in class org.graalvm.nativeimage.RuntimeOptions
-
Get the value of the option with the provided name.
- get(String) - Method in interface org.graalvm.options.OptionDescriptors
-
Gets the
OptionDescriptor
matching a given option name ornull
if this option descriptor set does not contain a matching option name. - get(String) - Method in class org.graalvm.options.OptionMap
-
Returns the value to which the specified key is mapped, or
null
if this option map contains no mapping for the key. - get(Thread) - Method in class com.oracle.truffle.api.ContextThreadLocal
-
Returns the context thread local value for the currently entered context and the given thread.
- get(K) - Method in class org.graalvm.collections.EconomicMapWrap
- get(K) - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
-
Returns the value to which
key
is mapped, ornull
if this map contains no mapping forkey
. - get(K, V) - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
-
Returns the value to which
key
is mapped, ordefaultValue
if this map contains no mapping forkey
. - get(ObjectHandle) - Method in interface org.graalvm.nativeimage.ObjectHandles
-
Extracts the object from a given handle.
- get(OptionKey<T>) - Method in interface org.graalvm.options.OptionValues
-
Returns the value of a given option.
- GET_CURRENT_THREAD - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method returns the
IsolateThread
of the current thread in a specifiedIsolate
. - GET_ISOLATE - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method returns the
Isolate
for anIsolateThread
. - getAbsoluteFile() - Method in class com.oracle.truffle.api.TruffleFile
-
Resolves this
TruffleFile
to absoluteTruffleFile
. - getActualArity() - Method in exception class com.oracle.truffle.api.interop.ArityException
-
Returns the actual number of arguments provided by the foreign access.
- getAndAddByte(byte[], long, byte) - Method in class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.memory.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.staticobject.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 class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically exchanges the given short with the current short at the given byte offset from the start of the buffer.
- getAnnotation(AnnotatedElement, Class<T>) - Static method in class org.graalvm.nativeimage.AnnotationAccess
-
Implementation of
AnnotatedElement.getAnnotation(Class)
. - getAnnotationTypes(AnnotatedElement) - Static method in class org.graalvm.nativeimage.AnnotationAccess
-
Implementation for retrieving all
Annotation.annotationType()
s for aelement
. - getAOTExports() - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns a list of ordered exports to be used for AOT preparation if supported.
- getApplicationArguments() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the application arguments that were provided for this context.
- getApplicationClassLoader() - Method in interface org.graalvm.nativeimage.hosted.Feature.FeatureAccess
-
Returns the
ClassLoader
that can find all classes of the class path and module path. - getApplicationClassPath() - Method in interface org.graalvm.nativeimage.hosted.Feature.FeatureAccess
-
Returns the class path of the native image that is currently built.
- getApplicationModulePath() - Method in interface org.graalvm.nativeimage.hosted.Feature.FeatureAccess
-
Returns the module path of the native image that is currently built.
- getArchitecture() - Method in interface org.graalvm.nativeimage.Platform.AARCH64
-
Returns string representing AARCH64 architecture.
- getArchitecture() - Method in interface org.graalvm.nativeimage.Platform.AMD64
-
Returns string representing AMD64 architecture.
- getArchitecture() - Method in interface org.graalvm.nativeimage.Platform
-
Returns the string representing Platform's architecture name.
- getArchitecture() - Method in interface org.graalvm.nativeimage.Platform.RISCV64
-
Returns string representing RISCV64 architecture.
- getArgumentNames() - Method in class com.oracle.truffle.api.TruffleLanguage.ParsingRequest
-
Argument names.
- getArguments() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Deprecated.since 20.3 Use
DebugScope.getDeclaredValues()
on theSourceElement.ROOT
. - getArguments() - Method in interface com.oracle.truffle.api.frame.Frame
-
Retrieves the arguments object from this frame.
- getArguments() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
-
Returns the list of additional isolate arguments.
- getArgumentTypes() - Method in class com.oracle.truffle.api.nodes.ExecutionSignature
-
Returns the argument types of the execution signature.
- getArgumentVectorBlockSize() - Static method in class org.graalvm.nativeimage.ProcessProperties
-
If the running image is an executable the total size of the argument vector of the running process gets returned.
- getArgumentVectorProgramName() - Static method in class org.graalvm.nativeimage.ProcessProperties
-
If the running image is an executable the program name that is stored in the argument vector of the running process gets returned.
- getArray() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Provides array elements when this value represents an array.
- getArray() - Method in class com.oracle.truffle.api.strings.InternalByteArray
-
Get the internal byte array.
- getArrayElement(long) - Method in class org.graalvm.polyglot.Value
-
Returns the array element of a given index.
- getArraySize() - Method in class org.graalvm.polyglot.Value
-
Returns the array size for values with array elements.
- getArraySize(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the array size of the receiver.
- getAsBoolean() - Method in class com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded
- getAsBoolean() - Method in class org.graalvm.nativeimage.c.function.CEntryPoint.AlwaysIncluded
-
Returns
true
. - getAsBoolean() - Method in class org.graalvm.nativeimage.c.function.CEntryPoint.NotIncludedAutomatically
-
Returns
false
. - getAssumption() - Method in class com.oracle.truffle.api.utilities.CyclicAssumption
- getAsynchronousStackDepth() - Method in class com.oracle.truffle.api.TruffleLanguage
-
Get the depth of asynchronous stack.
- getAsynchronousStacks() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Get a list of asynchronous stack traces that led to scheduling of the current execution.
- getAsynchronousStackTrace(CallTarget, Frame) - Static method in exception class com.oracle.truffle.api.TruffleStackTrace
-
Returns asynchronous guest language stack frames that led to the execution of given
CallTarget
on the givenFrame
. - getAttribute(TruffleFile.AttributeDescriptor<T>, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Reads a single file's attribute.
- getAttributes(Collection<? extends TruffleFile.AttributeDescriptor<?>>, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Reads file's attributes as a bulk operation.
- getAuxiliaryImagePath() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
-
Returns the file path to an auxiliary image which should be loaded in addition to the main image, or
null
if no such image should be loaded. - getAuxiliaryImageReservedSpaceSize() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
-
Returns the size in bytes of an address space to reserve for loading an auxiliary image in addition to the main image, or 0 if no space should be reserved.
- getAuxiliarySlot(int) - Method in interface com.oracle.truffle.api.frame.Frame
- getAuxiliarySlots() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Returns all currently active auxiliary slots along with their indexes.
- getBindings(String) - Method in class org.graalvm.polyglot.Context
-
Returns a value that represents the top-most bindings of a language.
- getBoolean(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type boolean.
- getBoolean(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.BooleanLocation
-
Deprecated.
- getBoolean(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.BooleanLocation
-
Deprecated.
- getBoolean(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the boolean value represented by this StaticProperty and stored in the specified static object.
- getBooleanStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type boolean.
- getBooleanVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the boolean value represented by this StaticProperty and stored in the specified static object.
- getBreakpointConditionException(Breakpoint) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the cause of failure, if any, during evaluation of a breakpoint's condition.
- getBreakpoints() - Method in class com.oracle.truffle.api.debug.Debugger
-
Returns all breakpoints
installed
in this debugger instance, in the install order. - getBreakpoints() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Returns all breakpoints
installed
in this session, in the install order. - getBreakpoints() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the
breakpoints
that individually would cause the "hit" where execution is suspended. - getBufferSize() - Method in class org.graalvm.polyglot.Value
-
Returns the buffer size in bytes for values with buffer elements.
- getBufferSize(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the buffer size of the receiver, in bytes.
- getByte(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the byte at the given byte offset from the start of the buffer.
- getByte(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the byte at the given byte offset from the start of the buffer.
- getByte(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type byte.
- getByte(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the byte value represented by this StaticProperty and stored in the specified static object.
- getBytecodeIndex() - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
Returns the resolved bytecode index for this frame instance if the root node returns one.
- getBytecodeIndex() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns the bytecode index at the time when this frame was created.
- getBytecodeIndex() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
-
Returns the bytecode index of this frame if available, or a negative number if no bytecode index is available.
- getByteCodeRangeUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetByteCodeRangeNode
. - getByteIndex() - Method in class com.oracle.truffle.api.strings.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 exception class com.oracle.truffle.api.interop.InvalidBufferOffsetException
-
Returns the start byte offset of the invalid access from the start of the buffer.
- getBytes() - Method in class com.oracle.truffle.api.source.Source
-
Returns the bytes of the source if it is a
byte based source
. - getBytes() - Method in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Get the number of bytes per internal array element.
- getBytes() - Method in class org.graalvm.polyglot.Source
-
Returns the bytes of the source if it is a
byte based source
. - getByteStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type byte.
- getByteVolatile(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.getByte(byte[], long)
. - getByteVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the byte value represented by this StaticProperty and stored in the specified static object.
- getCachedData(int) - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
-
Returns the cached state for a given specialization instance.
- getCachedSources() - Method in class org.graalvm.polyglot.Engine
-
Returns the sources previously cached by this engine.
- getCallNode() - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
Returns a node representing the callsite of the next new target on the stack.
- getCallTarget() - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
The
CallTarget
being invoked in this frame. - getCallTarget() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns the originally supplied
CallTarget
when this call node was created. - getCallTarget() - Method in class com.oracle.truffle.api.nodes.RootNode
- getCallTarget() - Method in exception class com.oracle.truffle.api.OptimizationFailedException
- getCanonicalFile(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns a
TruffleFile
representing the real (canonical) path of an existing file. - getCapability(Class<T>) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Requests a capability from the runtime.
- getCatchLocation() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Get source code location where this exception is to be caught.
- getCategory() - Method in class org.graalvm.options.OptionDescriptor
-
Returns the user category of this option.
- getCause() - Method in exception class com.oracle.truffle.api.exception.AbstractTruffleException
- getCause() - Method in exception class com.oracle.truffle.api.interop.InteropException
-
Returns the cause of an interop exception.
- getChar(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the char value represented by this StaticProperty and stored in the specified static object.
- getCharacters() - Method in class com.oracle.truffle.api.source.Source
-
Returns all characters of the source.
- getCharacters() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the source code fragment described by this section.
- getCharacters() - Method in class org.graalvm.polyglot.Source
-
Returns all characters of the source.
- getCharacters() - Method in class org.graalvm.polyglot.SourceSection
-
Returns the source code fragment described by this section.
- getCharacters(int) - Method in class com.oracle.truffle.api.source.Source
-
Gets the text (not including a possible terminating newline) in a (1-based) numbered line.
- getCharacters(int) - Method in class org.graalvm.polyglot.Source
-
Gets the text (not including a possible terminating newline) in a (1-based) numbered line.
- getCharEndIndex() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the index of the text position immediately following the last character in the section.
- getCharEndIndex() - Method in class org.graalvm.polyglot.SourceSection
-
Returns the index of the text position immediately following the last character in the section.
- getCharIndex() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the 0-based index of the first character in this section.
- getCharIndex() - Method in class org.graalvm.polyglot.SourceSection
-
Returns the 0-based index of the first character in this section.
- getCharLength() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the length of this section in characters.
- getCharLength() - Method in class org.graalvm.polyglot.SourceSection
-
Returns the length of this section in characters.
- getCharVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the char value represented by this StaticProperty and stored in the specified static object.
- getChildren() - Method in class com.oracle.truffle.api.nodes.Node
-
Iterator over the children of this node.
- getClonedCallTarget() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns the split
CallTarget
if this call site'sCallTarget
is cloned. - getCode() - Method in class org.graalvm.polyglot.SourceSection
-
Deprecated.use
SourceSection.getCharacters()
instead. - getCodeRangeImpreciseUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetCodeRangeImpreciseNode
. - getCodeRangeUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetCodeRangeNode
. - getColumnNumber(int) - Method in class com.oracle.truffle.api.source.Source
-
Given a 0-based character offset, return the 1-based number of the column at the position.
- getColumnNumber(int) - Method in class org.graalvm.polyglot.Source
-
Given a 0-based character offset, return the 1-based number of the column at the position.
- getCommand() - Method in class org.graalvm.polyglot.io.ProcessHandler.ProcessCommand
-
Returns the subprocess executable and arguments as an immutable list.
- getCompilationTier() - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
Returns an integer for the optimized tier of this method.
- getComponentId() - Method in class com.oracle.truffle.api.provider.InternalResourceProvider
-
Provides the identifier of the language or instrument to which the resource belongs.
- getCondition() - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Returns the expression used to create the current breakpoint condition, null if no condition set.
- getConfig() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Configuration arguments passed from an outer language context to an inner language context.
- getConstantValue() - Method in class com.oracle.truffle.api.object.Location
-
If this is a constant location, returns the constant value bound to this location.
- getContext() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the polyglot context associated with this environment.
- getContext() - Method in class org.graalvm.polyglot.ResourceLimitEvent
-
The context for which the limit was exceeded.
- getContext() - Method in class org.graalvm.polyglot.Value
-
Returns the context this value was created with.
- getContextOptionDescriptors() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Returns a set of option descriptors for instrument options that can be specified per context.
- getCost() - Method in class com.oracle.truffle.api.nodes.Node
-
Deprecated.in 24.1 without replacement
- getCPUArchitecture() - Method in class com.oracle.truffle.api.InternalResource.Env
-
Returns the current processor architecture.
- getCreationTime(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the creation time.
- getCurrent() - Static method in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
Returns the current CPU architecture.
- getCurrent() - Static method in enum class com.oracle.truffle.api.InternalResource.OS
-
Returns the current operating system.
- getCurrent() - Static method in class com.oracle.truffle.api.nodes.EncapsulatingNodeReference
-
Returns the encapsulating node reference of the
current
thread. - getCurrent() - Static method in class com.oracle.truffle.api.TruffleSafepoint
-
Returns the current safepoint configuration for the current thread.
- getCurrent() - Static method in class org.graalvm.home.Version
-
Returns the current GraalVM version of the installed component.
- getCurrent() - Static method in class org.graalvm.polyglot.Context
-
Returns the currently entered polyglot context.
- getCurrentCallTarget() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns the used call target when
DirectCallNode.call(java.lang.Object[])
is invoked. - getCurrentContext(Class<T>) - Static method in class com.oracle.truffle.api.TruffleLanguage
-
Deprecated.in 21.3, use static final context references instead. See
TruffleLanguage.LanguageReference
for the new intended usage. - getCurrentLanguage(Class<T>) - Static method in class com.oracle.truffle.api.TruffleLanguage
-
Deprecated.in 21.3, use static final context references instead. See
TruffleLanguage.ContextReference
for the new intended usage. - getCurrentRootNode() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
- getCurrentThread() - Static method in class org.graalvm.nativeimage.CurrentIsolate
-
Returns the current thread in the current isolate.
- getCurrentThread(Isolate) - Static method in class org.graalvm.nativeimage.Isolates
-
Given an isolate to which the current thread is attached, returns the address of the thread's associated isolate thread structure.
- getCurrentWorkingDirectory() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Gets the current working directory.
- getDebugAsynchronousStacks() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Get a list of asynchronous stack traces that led to scheduling of the exception's execution.
- getDebugger() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Returns the
debugger
instance that this session is associated with. - getDebugProperties() - Method in class com.oracle.truffle.api.nodes.Node
-
Returns properties of this node interesting for debugging and can be overwritten by subclasses to add their own custom properties.
- getDebugStackTrace() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Gets stack trace elements of guest languages.
- getDeclaredValue(String) - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get a local variable declared in this scope by name.
- getDeclaredValues() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get local variables declared in this scope, valid at the current suspension point.
- getDeclaringClass() - Method in exception class org.graalvm.nativeimage.MissingJNIRegistrationError
- getDeclaringClass() - Method in exception class org.graalvm.nativeimage.MissingReflectionRegistrationError
- getDeclaringMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns declaring meta object.
- getDefault() - Static method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
-
Returns a
Isolates.CreateIsolateParameters
with all default values. - getDefaultClass(Object) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns default exported used for a given receiver.
- getDefaultExport() - Method in interface com.oracle.truffle.api.library.provider.DefaultExportProvider
-
Returns the default export class to be used for this provider.
- getDefaultMimeType() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
-
Returns the default MIME type of a language or
null
if no default mime-type is set. - getDefaultMimeType() - Method in class org.graalvm.polyglot.Language
-
Returns the default MIME type that is in use by a language.
- getDefaultValue() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Default value for the created slots.
- getDefaultValue() - Method in class org.graalvm.options.OptionKey
-
Returns the default value for this option.
- getDefaultValue() - Method in class org.graalvm.options.OptionType
-
Deprecated.
- getDelegateExportLibrary(Object) - Method in interface com.oracle.truffle.api.library.LibraryExport.DelegateExport
-
Internal method for generated code only.
- getDelegateExportMessages() - Method in interface com.oracle.truffle.api.library.LibraryExport.DelegateExport
-
Internal method for generated code only.
- getDelegateLibrary(T, Object) - Static method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns the delegated library to use when messages are delegated.
- getDelegateNode() - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode
-
The
instrumentable
guest language node, adopted as a child, whose execution events the wrapper reports to the instrumentation framework. - getDeprecationMessage() - Method in class org.graalvm.options.OptionDescriptor
-
Returns the deprecation reason and the recommended fix.
- getDescription() - Method in class com.oracle.truffle.api.nodes.Node
-
Returns a user-readable description of the purpose of the Node, or "" if no description is available.
- getDescription() - Method in interface org.graalvm.nativeimage.hosted.Feature
-
A short description of the feature (e.g., "Enables Truffle support").
- getDescriptor(String) - Static method in class org.graalvm.nativeimage.RuntimeOptions
-
Looks up a single descriptor given an option name.
- getDescriptors() - Method in interface org.graalvm.options.OptionValues
-
Returns all available options.
- getDirectory() - Method in class org.graalvm.polyglot.io.ProcessHandler.ProcessCommand
-
Returns the subprocess working directory.
- getDouble(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the double at the given byte offset from the start of the buffer.
- getDouble(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the double at the given byte offset from the start of the buffer.
- getDouble(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type double.
- getDouble(DynamicObject) - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Gets the property's value from the given receiver object if the object has the supported
Shape
. - getDouble(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.DoubleLocation
-
Deprecated.
- getDouble(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Location
-
Gets this location's value as double.
- getDouble(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.DoubleLocation
-
Deprecated.
- getDouble(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the double value represented by this StaticProperty and stored in the specified static object.
- getDoubleOrDefault(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the value of an existing property or returns the provided default value if no such property exists.
- getDoubleStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type double.
- getDoubleVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the double value represented by this StaticProperty and stored in the specified static object.
- getDynamicFieldAnnotation() - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- getDynamicType() - Method in class com.oracle.truffle.api.object.Shape
-
Get the shape's dynamic object type identifier.
- getDynamicType(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the dynamic type identifier currently associated with this object.
- getElement() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
- getElementName() - Method in exception class org.graalvm.nativeimage.MissingJNIRegistrationError
- getElementName() - Method in exception class org.graalvm.nativeimage.MissingReflectionRegistrationError
- getElements() - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Returns the elements of the block node.
- getElementType() - Method in exception class org.graalvm.nativeimage.MissingJNIRegistrationError
- getElementType() - Method in exception class org.graalvm.nativeimage.MissingReflectionRegistrationError
- getEmpty() - Method in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Get an empty
TruffleString
with this encoding. - getEncapsulatingSourceSection() - Method in class com.oracle.truffle.api.nodes.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.
- getEncoding(Path) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Returns an file encoding for given path.
- getEnd() - Method in class com.oracle.truffle.api.strings.InternalByteArray
-
Get the string region's end (
offset + length
). - getEndColumn() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the 1-based column number of the last character in this section (inclusive).
- getEndColumn() - Method in class org.graalvm.polyglot.SourceSection
-
Returns the 1-based column number of the last character in this section (inclusive).
- getEndLine() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns 1-based line number of the last character in this section (inclusive).
- getEndLine() - Method in class org.graalvm.polyglot.SourceSection
-
Returns 1-based line number of the last character in this section (inclusive).
- getEngine() - Method in class org.graalvm.polyglot.Context
-
Provides access to meta-data about the underlying Graal engine.
- getEnteredContext() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the entered
TruffleContext
ornull
when no context is entered. - getEntries() - Method in interface org.graalvm.collections.EconomicMap
-
Returns a
MapCursor
view of the mappings contained in this map. - getEntries() - Method in class org.graalvm.collections.EconomicMapWrap
- getEntries() - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
-
Returns a
UnmodifiableMapCursor
view of the mappings contained in this map. - getEnvironment() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns an unmodifiable map of the process environment.
- getEnvironment() - Method in class org.graalvm.polyglot.io.ProcessHandler.ProcessCommand
-
Returns the subprocess environment as an immutable map.
- getEquivalenceStrategy() - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
-
Returns the strategy used to compare keys.
- getErrorRedirect() - Method in class org.graalvm.polyglot.io.ProcessHandler.ProcessCommand
-
Returns the standard error output destination.
- getException() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the debugger representation of a guest language exception that caused this suspended event (via an exception breakpoint, for instance).
- getException() - Method in class org.graalvm.polyglot.management.ExecutionEvent
-
Returns the exception of this source location after it was executed.
- getExceptionCause(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the internal cause of the receiver.
- getExceptionExitStatus(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns exception exit status of the receiver.
- getExceptionMessage(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns exception message of the receiver.
- getExceptionObject() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Get a guest language object representing the exception, if any.
- getExceptionStackTrace(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the exception stack trace of the receiver that is of type exception.
- getExceptionType(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
exception type
of the receiver. - getExecutableName() - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Return the canonicalized absolute pathname of the executable.
- getExecutableName(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns executable name of the receiver.
- getExecutionSignature() - Method in interface com.oracle.truffle.api.dsl.NodeFactory
-
Returns a list of children that will be executed by the created node.
- getExitStatus() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns the exit status if this exception indicates that the application was
exited
. - getExpectedMaxArity() - Method in exception class com.oracle.truffle.api.interop.ArityException
-
Returns the maximum number of arguments that are expected.
- getExpectedMinArity() - Method in exception class com.oracle.truffle.api.interop.ArityException
-
Returns the minimum number of arguments that are expected.
- getExportedSymbols() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Returns a polyglot scope - symbols explicitly exported by languages.
- getFactory() - Static method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the library factory for the interop library.
- getFactory() - Static method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns the library factory for the node library.
- getFactory() - Static method in class com.oracle.truffle.api.library.DynamicDispatchLibrary
-
Returns the library factory for
DynamicDispatchLibrary
. - getFactory() - Method in class com.oracle.truffle.api.library.Message
- getFactory() - Static method in class com.oracle.truffle.api.library.ReflectionLibrary
-
Returns the library factory for
ReflectionLibrary
. - getFactory() - Static method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Returns the library factory for
DynamicObjectLibrary
. - getFactory() - Static method in class com.oracle.truffle.api.object.Layout
-
Deprecated.
- getFactory() - Method in class com.oracle.truffle.api.staticobject.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.
- getFieldName(Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- getFieldObject(Object, Node) - Method in class com.oracle.truffle.api.nodes.NodeClass
- getFieldType(Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- getFieldValue(Object, Node) - Method in class com.oracle.truffle.api.nodes.NodeClass
- getFileNameSeparator() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the name separator used to separate names in
TruffleFile
's path string. - getFinalAssumption() - Method in class com.oracle.truffle.api.object.Location
-
Returns the assumption that this location is final.
- getFlags() - Method in class com.oracle.truffle.api.object.Property
-
Get property flags, which are free for language-specific use.
- getFlags() - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Returns the flags associated with the property represented by this getter.
- getFlags() - Method in class com.oracle.truffle.api.object.Shape
-
Returns the language-specific shape flags previously set using
DynamicObjectLibrary.setShapeFlags(DynamicObject, int)
orShape.Builder.shapeFlags(int)
. - getFloat(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the float at the given byte offset from the start of the buffer.
- getFloat(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the float at the given byte offset from the start of the buffer.
- getFloat(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type float.
- getFloat(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the float value represented by this StaticProperty and stored in the specified static object.
- getFloatStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type float.
- getFloatVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the float value represented by this StaticProperty and stored in the specified static object.
- getFrame() - Method in class com.oracle.truffle.api.debug.DebugException.CatchLocation
- getFrame() - Method in class com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest
-
Specifies the execution context for parsing.
- getFrame() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns the read-only frame.
- getFrame(FrameInstance.FrameAccess) - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
Accesses the underlying frame using a specified
access mode
. - getFrameDescriptor() - Method in interface com.oracle.truffle.api.frame.Frame
- getFrameDescriptor() - Method in class com.oracle.truffle.api.nodes.RootNode
- getFunctionPointer() - Method in class org.graalvm.nativeimage.c.function.CEntryPointLiteral
-
Returns the function pointer to the entry point.
- getGlobal() - Static method in interface org.graalvm.nativeimage.ObjectHandles
-
A set of handles that is kept alive globally.
- getGroup(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the group owner of the file.
- getGuestObject() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns an interop object representing this TruffleStackTraceElement supporting the
hasExecutableName
and potentiallyhasDeclaringMetaObject
andhasSourceLocation
messages. - getGuestObject() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns an additional guest language object.
- getHashEntriesIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the entries iterator of the hash map.
- getHashEntriesIterator() - Method in interface org.graalvm.polyglot.proxy.ProxyHashMap
-
Returns the hash entries iterator.
- getHashEntriesIterator() - Method in class org.graalvm.polyglot.Value
-
Creates a new hash entries iterator that allows read each map entry.
- getHashEntriesIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the hash entries iterator for the receiver.
- getHashKeysIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the keys iterator of the hash map.
- getHashKeysIterator() - Method in class org.graalvm.polyglot.Value
-
Creates a new hash keys iterator that allows read each map key.
- getHashKeysIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the hash keys iterator for the receiver.
- getHashSize() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the number of hash map entries.
- getHashSize() - Method in interface org.graalvm.polyglot.proxy.ProxyHashMap
-
Returns the number of map entries.
- getHashSize() - Method in class org.graalvm.polyglot.Value
-
Returns the number of map entries for values with hash entries.
- getHashSize(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the number of receiver entries.
- getHashValue(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get value of a hash map for the specified key or
null
if the mapping for the specified key does not exist. - getHashValue(Object) - Method in class org.graalvm.polyglot.Value
-
Returns the value for the specified key or
null
if the mapping for the specified key does not exist. - getHashValue(Value) - Method in interface org.graalvm.polyglot.proxy.ProxyHashMap
-
Returns the value for the specified key.
- getHashValueOrDefault(DebugValue, DebugValue) - Method in class com.oracle.truffle.api.debug.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. - getHashValueOrDefault(Object, Object) - Method in class org.graalvm.polyglot.Value
-
Returns the value for the specified key or the default value if the mapping for the specified key does not exist or is not readable.
- getHashValuesIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the values iterator of the hash map.
- getHashValuesIterator() - Method in class org.graalvm.polyglot.Value
-
Creates a new hash values iterator that allows read each map value.
- getHashValuesIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the hash values iterator for the receiver.
- getHeaderFiles() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
-
All header files used in this context.
- getHelp() - Method in class org.graalvm.options.OptionDescriptor
-
Returns a human-readable description on how to use the option.
- getHitCount() - Method in class com.oracle.truffle.api.debug.Breakpoint
- getHomeFolder() - Method in class org.graalvm.home.HomeFinder
- getHostLanguage() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Retrieves the host language used in this environment.
- getHostTraceElement() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Provides a host frame.
- getHostTraceElement() - Method in class com.oracle.truffle.api.debug.DebugStackTraceElement
-
Provides a host element.
- getId() - Method in class com.oracle.truffle.api.InstrumentInfo
-
Gets the id clients can use to acquire this instrument.
- getId() - Method in class com.oracle.truffle.api.library.Message
-
Returns a unique message id within a library.
- getId() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
-
Returns the unique id of the language.
- getId() - Method in class com.oracle.truffle.api.staticobject.DefaultStaticProperty
-
StaticProperty instances must have a
String
identifier that is unique and constant for that shape. - getId() - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
StaticProperty instances must have a
String
identifier that is unique and constant for that shape. - getId() - Method in class org.graalvm.polyglot.Instrument
-
Gets the ID clients can use to acquire this instrument.
- getId() - Method in class org.graalvm.polyglot.Language
-
Gets the primary identification string of this language.
- getIdentifier(Class<? extends Tag>) - Static method in class com.oracle.truffle.api.instrumentation.Tag
-
Returns the alias of a particular tag or
null
if no alias was specified for this tag. - getIgnoreCount() - Method in class com.oracle.truffle.api.debug.Breakpoint
- getImagePath() - Method in interface org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess
-
Returns the path to the created native-image file (includes the native-image file name).
- getImplementationName() - Method in class org.graalvm.polyglot.Engine
-
Gets a human-readable name of the polyglot implementation (for example, "Default Truffle Engine" or "Graal Truffle Engine").
- getImplementationName() - Method in class org.graalvm.polyglot.Language
-
Gets a human-readable name of the language implementation (for example, "Graal.JS").
- getInfo() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
- getInputContext(int) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Returns the event context of an input by index.
- getInputCount() - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Returns the total number of instrumented input nodes that may produce
input events
when executed. - getInputRedirect() - Method in class org.graalvm.polyglot.io.ProcessHandler.ProcessCommand
-
Returns the standard input source.
- getInputStream() - Method in class org.graalvm.polyglot.Source
-
Deprecated.use
Source.getReader()
,Source.getCharacters()
orSource.getBytes()
instead. The implementation is inefficient and can not distinguish byte and character based sources. - getInputValues() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the input values of the current source element gathered from return values of it's executed children.
- getInputValues() - Method in class org.graalvm.polyglot.management.ExecutionEvent
-
Returns the input values provided to execute this source location.
- getInstance() - Static method in class org.graalvm.home.HomeFinder
- getInstances() - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
-
Returns the number of dynamic specialization instances that are active for this specialization.
- getInstrumentClassName() - Method in class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Returns the name of a class implementing the
TruffleInstrument
. - getInstrumentedNode() - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Accessor to the instrumented node at which the event occurred.
- getInstrumentedSourceSection() - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Returns the
SourceSection
that is being instrumented. - getInstrumenter() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the instrumenter which lets you instrument guest language ASTs.
- getInstruments() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns a map
instrument id
toinstrument info
of all instruments that are installed in the environment. - getInstruments() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a map instrument-id to instrument instance of all instruments that are installed in the environment.
- getInstruments() - Method in class org.graalvm.polyglot.Engine
-
Gets all installed instruments of this engine.
- getInt(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the int at the given byte offset from the start of the buffer.
- getInt(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the int at the given byte offset from the start of the buffer.
- getInt(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type int.
- getInt(DynamicObject) - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Gets the property's value from the given receiver object if the object has the supported
Shape
. - getInt(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.IntLocation
-
Deprecated.
- getInt(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Location
-
Gets this location's value as int.
- getInt(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.IntLocation
-
Deprecated.
- getInt(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the int value represented by this StaticProperty and stored in the specified static object.
- getInternalByteArrayUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetInternalByteArrayNode
. - getInternalLanguages() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns all languages that are installed and internally accessible in the environment.
- getInternalNativePointerUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetInternalNativePointerNode
. - getInternalResource(Class<? extends InternalResource>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the
TruffleFile
representing the target directory of an internal resource. - getInternalResource(Class<? extends InternalResource>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the
TruffleFile
representing the target directory of an internal resource. - getInternalResource(String) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the
TruffleFile
representing the target directory of an internal resource. - getInternalResource(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the
TruffleFile
representing the target directory of an internal resource. - getInternalResourceIds() - Method in class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Returns ids of provided internal resources.
- getInternalResourceIds() - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Returns ids of provided internal resources.
- getInternalTruffleFile(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a
TruffleFile
for given path. - getInternalTruffleFile(URI) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
TruffleFile
for givenURI
. - getIntOrDefault(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the value of an existing property or returns the provided default value if no such property exists.
- getIntrospectionData() - Method in interface com.oracle.truffle.api.dsl.Introspection.Provider
-
Returns internal reflection data in undefined format.
- getIntrospectionData(Node) - Method in interface com.oracle.truffle.api.dsl.Introspection.Provider
-
Returns internal reflection data in undefined format.
- getIntStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type int.
- getIntUnaligned(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the int at the given byte offset from the start of the buffer.
- getIntUnaligned(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the int at the given byte offset from the start of the buffer.
- getIntVolatile(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.getInt(byte[], long)
. - getIntVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the int value represented by this StaticProperty and stored in the specified static object.
- getInvalidIndex() - Method in exception class com.oracle.truffle.api.interop.InvalidArrayIndexException
-
Returns the invalid index that was used.
- getIsolate() - Static method in class org.graalvm.nativeimage.CurrentIsolate
-
Returns the current isolate.
- getIsolate(IsolateThread) - Static method in class org.graalvm.nativeimage.Isolates
-
Given an isolate thread structure, determines to which isolate it belongs and returns the address of the isolate structure.
- getIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the iterator value.
- getIterator() - Method in interface org.graalvm.polyglot.proxy.ProxyArray
-
Returns an iterator.
- getIterator() - Method in interface org.graalvm.polyglot.proxy.ProxyIterable
-
Returns an iterator.
- getIterator() - Method in class org.graalvm.polyglot.Value
-
Creates a new iterator that allows read each element of a sequence.
- getIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the iterator for the receiver.
- getIteratorNextElement() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the next element in the iteration.
- getIteratorNextElement() - Method in class org.graalvm.polyglot.Value
-
Returns the next element in the iteration.
- getIteratorNextElement(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the next element in the iteration.
- getKey() - Method in class com.oracle.truffle.api.object.Property
-
Get property identifier.
- getKey() - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Returns the key of the property represented by this getter.
- getKey() - Method in interface org.graalvm.collections.UnmodifiableMapCursor
-
The key of the current entry.
- getKey() - Method in class org.graalvm.options.OptionDescriptor
-
Returns the key for this option.
- getKeyArray(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets a snapshot of the object's property keys, in insertion order.
- getKeyList() - Method in class com.oracle.truffle.api.object.Shape
-
Get a list of all property keys in insertion order.
- getKeys() - Method in class com.oracle.truffle.api.object.Shape
-
Get all property keys in insertion order.
- getKeys() - Method in class org.graalvm.collections.EconomicMapWrap
- getKeys() - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
-
Returns a
Iterable
view of the keys contained in this map. - getKind() - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Returns the kind of this breakpoint.
- getLanguage() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Returns public information about the language of this frame.
- getLanguage() - Method in class com.oracle.truffle.api.instrumentation.AllocationEvent
-
Returns the language performing the allocation.
- getLanguage() - Method in class com.oracle.truffle.api.source.Source
-
Returns the language this source was created with.
- getLanguage() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
-
Returns the language of this stack frame.
- getLanguage() - Method in class org.graalvm.polyglot.Source
-
Returns the language this source created with.
- getLanguage(Class<C>) - Method in class com.oracle.truffle.api.nodes.ExecutableNode
-
Returns the language instance associated with this executable node.
- getLanguage(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the the original language of the receiver value.
- getLanguageClassName() - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Returns the name of a class implementing the
TruffleLanguage
. - getLanguageHome() - Method in class com.oracle.truffle.api.TruffleLanguage
-
Returns the home location for this language or
null
if the language home is not set. - getLanguageHomes() - Method in class org.graalvm.home.HomeFinder
- getLanguageInfo() - Method in class com.oracle.truffle.api.nodes.ExecutableNode
-
Returns public information about the language.
- getLanguageInfo(Class<? extends TruffleLanguage<?>>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the
language info
for a given language class if available. - getLanguageInfo(Class<? extends TruffleLanguage<?>>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the
language info
for a given language class if available. - getLanguages() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns a map
language id
tolanguage info
of all languages that are installed in the environment. - getLanguages() - Method in class org.graalvm.polyglot.Engine
-
Gets a map of all installed languages with the language id as key and the language object as value.
- getLanguageView(LanguageInfo, Object) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Wraps the provided value to provide language specific information for primitive and foreign values.
- getLanguageView(C, Object) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Wraps the value to provide language-specific information for primitive and foreign values.
- getLastAccessTime(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the last access time.
- getLastModifiedTime(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the last modified time.
- getLastProperty() - Method in class com.oracle.truffle.api.object.Shape
-
Get the last property.
- getLayout() - Method in class com.oracle.truffle.api.object.Shape
-
Get the shape's layout.
- getLayoutClass() - Method in class com.oracle.truffle.api.object.Shape
-
Get the shape's layout class.
- getLeafAssumption() - Method in class com.oracle.truffle.api.object.Shape
-
Get an assumption that the shape is a leaf.
- getLeft() - Method in class org.graalvm.collections.Pair
-
Returns the left value of this pair.
- getLength() - Method in exception class com.oracle.truffle.api.interop.InvalidBufferOffsetException
-
Returns the length of the accessed memory region in bytes starting from
the start byte offset
. - getLength() - Method in class com.oracle.truffle.api.source.Source
-
Gets the number of characters or bytes of the source.
- getLength() - Method in class com.oracle.truffle.api.strings.InternalByteArray
-
Get the string region's length.
- getLength() - Method in class org.graalvm.polyglot.Source
-
Gets the number of characters or bytes of the source.
- getLibraries() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
-
Returns a collection of libraries.
- getLibraryClass() - Method in class com.oracle.truffle.api.library.Message
-
Returns the library class of this message.
- getLibraryClassName() - Method in interface com.oracle.truffle.api.library.provider.DefaultExportProvider
-
Returns the
class name
of the library to be used. - getLibraryClassName() - Method in interface com.oracle.truffle.api.library.provider.EagerExportProvider
-
Returns the
class name
of the library to be used. - getLibraryName() - Method in class com.oracle.truffle.api.library.Message
-
Returns the name of the library of this message.
- getLibraryPaths() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
-
Returns a list of library paths.
- getLineCount() - Method in class com.oracle.truffle.api.source.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.
- getLineCount() - Method in class org.graalvm.polyglot.Source
-
The number of text lines of a character based source, including empty lines; characters at the end of the source without a terminating newline count as a line.
- getLineLength(int) - Method in class com.oracle.truffle.api.source.Source
-
The number of characters (not counting a possible terminating newline) in a (1-based) numbered line.
- getLineLength(int) - Method in class org.graalvm.polyglot.Source
-
The number of characters (not counting a possible terminating newline) in a (1-based) numbered line.
- getLineNumber(int) - Method in class com.oracle.truffle.api.source.Source
-
Given a 0-based character offset, return the 1-based number of the line that includes the position.
- getLineNumber(int) - Method in class org.graalvm.polyglot.Source
-
Given a 0-based character offset, return the 1-based number of the line that includes the position.
- getLineStartOffset(int) - Method in class com.oracle.truffle.api.source.Source
-
Given a 1-based line number, return the 0-based offset of the first character in the line.
- getLineStartOffset(int) - Method in class org.graalvm.polyglot.Source
-
Given a 1-based line number, return the 0-based offset of the first character in the line.
- getLocation() - Method in exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Returns a node indicating the location where this exception occurred in the AST.
- getLocation() - Method in class com.oracle.truffle.api.object.Property
-
Get the property location.
- getLocation() - Method in class com.oracle.truffle.api.ThreadLocalAction.Access
-
Returns the current node location executing on this thread.
- getLocation() - Method in class com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest
-
Specifies the code location for parsing.
- getLocation() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns a node representing the callsite on the stack.
- getLocation() - Method in class org.graalvm.polyglot.management.ExecutionEvent
-
Returns the source location of the event that was triggered or
null
if no location source location is available. - getLocationDescription() - Method in class com.oracle.truffle.api.debug.Breakpoint
- getLock() - Method in class com.oracle.truffle.api.nodes.Node
-
Returns a lock object that can be used to synchronize modifications to the AST.
- getLog2() - Method in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Get the number of bytes per internal array element in log2 format.
- getLogger(Class<?>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Find or create an engine bound logger for an instrument.
- getLogger(Class<?>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Find or create a context-bound logger.
- getLogger(String) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Find or create an engine bound logger for an instrument.
- getLogger(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Find or create a context-bound logger.
- getLogger(String) - Static method in class com.oracle.truffle.api.TruffleLogger
-
Find or create a root logger for a given language or instrument.
- getLogger(String, Class<?>) - Static method in class com.oracle.truffle.api.TruffleLogger
-
Find or create a logger for a given language or instrument class.
- getLogger(String, String) - Static method in class com.oracle.truffle.api.TruffleLogger
-
Find or create a logger for a given language or instrument.
- getLong(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the long at the given byte offset from the start of the buffer.
- getLong(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the long at the given byte offset from the start of the buffer.
- getLong(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type long.
- getLong(DynamicObject) - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Gets the property's value from the given receiver object if the object has the supported
Shape
. - getLong(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Location
-
Gets this location's value as long.
- getLong(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.LongLocation
-
Deprecated.
- getLong(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.LongLocation
-
Deprecated.
- getLong(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the long value represented by this StaticProperty and stored in the specified static object.
- getLongOrDefault(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the value of an existing property or returns the provided default value if no such property exists.
- getLongStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type long.
- getLongUnaligned(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the long at the given byte offset from the start of the buffer.
- getLongUnaligned(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the long at the given byte offset from the start of the buffer.
- getLongVolatile(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.getLong(byte[], long)
. - getLongVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the long value represented by this StaticProperty and stored in the specified static object.
- getLookup() - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns a method handle lookup used to initialize the library class.
- getMacroDefinitions() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
-
Unparameterized macro-definitions.
- getMember(String) - Method in interface org.graalvm.polyglot.proxy.ProxyObject
-
Returns the value of the member.
- getMember(String) - Method in class org.graalvm.polyglot.Value
-
Returns the member with a given
identifier
ornull
if the member does not exist. - getMemberKeys() - Method in interface org.graalvm.polyglot.proxy.ProxyObject
-
Returns an array of member keys.
- getMemberKeys() - Method in class org.graalvm.polyglot.Value
-
Returns a set of all member keys.
- getMembers(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Short-cut for
getMembers(receiver, false)
. - getMembers(Object, boolean) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns an array of member name strings.
- getMessage() - Method in exception class com.oracle.truffle.api.dsl.UnsupportedSpecializationException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.ArityException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.InvalidArrayIndexException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.InvalidBufferOffsetException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.StopIterationException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.UnknownIdentifierException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.UnknownKeyException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.UnsupportedMessageException
- getMessage() - Method in exception class com.oracle.truffle.api.strings.TruffleString.NumberFormatException
-
Returns a detailed error message.
- getMessage() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Gets a user readable message for the polyglot exception.
- getMessages() - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns an unmodifiable list of messages that this library provides.
- getMetaObject() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get a meta-object of this value, if any.
- getMetaObject() - Method in class org.graalvm.polyglot.Value
-
Returns the metaobject that is associated with this value or
null
if no metaobject is available. - getMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the metaobject that is associated with this value.
- getMetaParents() - Method in class org.graalvm.polyglot.Value
-
Returns the meta parents of a meta object as an array object
Value.hasArrayElements()
. - getMetaParents(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns an array like
InteropLibrary.hasArrayElements(Object)
of metaobjects that are direct parents (super types) of this metaobject. - getMetaQualifiedName() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the qualified name of a metaobject as
String
. - getMetaQualifiedName() - Method in class org.graalvm.polyglot.Value
-
Returns the qualified name of a metaobject as
String
. - getMetaQualifiedName(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the qualified name of a metaobject as
string
. - getMetaSimpleName() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the simple name of a metaobject as
string
. - getMetaSimpleName() - Method in class org.graalvm.polyglot.Value
-
Returns the simple name of a metaobject as
string
. - getMetaSimpleName(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the simple name of a metaobject as
string
. - getMethodName() - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
-
Returns the method name of the introspected specialization.
- getMimeType() - Method in class com.oracle.truffle.api.source.Source
-
Returns the MIME type that is associated with this source.
- getMimeType() - Method in class com.oracle.truffle.api.TruffleFile
-
Deprecated.
- getMimeType() - Method in class org.graalvm.polyglot.Source
-
Returns the MIME type that is associated with this source.
- getMimeType(Path) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Returns a MIME type for given path.
- getMimeTypes() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
-
Returns the MIME types supported by this language.
- getMimeTypes() - Method in class org.graalvm.polyglot.Language
-
Returns the MIME types supported by this language.
- getName() - Method in interface com.oracle.truffle.api.Assumption
-
A name for the assumption that is used for debug output.
- getName() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get a human readable name of this scope.
- getName() - Method in class com.oracle.truffle.api.debug.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 class com.oracle.truffle.api.debug.DebugStackTraceElement
-
A description of the trace element.
- getName() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the name of this value as it is referred to from its origin.
- getName() - Method in class com.oracle.truffle.api.InstrumentInfo
-
Gets a human readable name of this instrument.
- getName() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
-
Returns the unique name of the language.
- getName() - Method in class com.oracle.truffle.api.nodes.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 class com.oracle.truffle.api.object.HiddenKey
- getName() - Method in class com.oracle.truffle.api.source.Source
-
Returns the name of this resource holding a guest language program.
- getName() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the name of this
TruffleFile
. - getName() - Method in class com.oracle.truffle.api.TruffleLogger
-
Returns the name of the logger.
- getName() - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Name describing this runtime implementation for debugging purposes.
- getName() - Method in class org.graalvm.options.OptionDescriptor
-
Returns the name of the option that this descriptor represents.
- getName() - Method in class org.graalvm.options.OptionType
-
Returns the name of this type.
- getName() - Method in class org.graalvm.polyglot.Instrument
-
Gets a human-readable name for this instrument.
- getName() - Method in class org.graalvm.polyglot.Language
-
Gets a human-readable name for the language (for example, "JavaScript").
- getName() - Method in class org.graalvm.polyglot.Source
-
Returns the name of this resource holding a guest language program.
- getNewSize() - Method in class com.oracle.truffle.api.instrumentation.AllocationEvent
-
Returns a size of the allocated value in bytes.
- getNext() - Method in interface org.graalvm.polyglot.proxy.ProxyIterator
-
Returns the next element in the iteration.
- getNode() - Method in exception class com.oracle.truffle.api.dsl.UnsupportedSpecializationException
-
Returns the
Node
that caused the thisUnsupportedSpecializationException
. - getNode() - Method in class com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent
-
Returns the instrumentable Truffle node that caused this event.
- getNodeClass() - Method in interface com.oracle.truffle.api.dsl.NodeFactory
-
Returns the node class that will get created by
NodeFactory.createNode(Object...)
. - getNodeFieldArray() - Method in class com.oracle.truffle.api.nodes.NodeClass
- getNodeObject() - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Returns a language provided object that represents the instrumented node properties.
- getNodeObject() - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Returns an interop capable object that contains all keys and values of attributes associated with this node.
- getNodeSignatures() - Method in interface com.oracle.truffle.api.dsl.NodeFactory
-
Returns a list of signatures that can be used to invoke
NodeFactory.createNode(Object...)
. - getNthParent(Node, int) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Get the nth parent of a node, where the 0th parent is the node itself.
- getNumberOfAuxiliarySlots() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
- getNumberOfSlots() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
- getObject() - Method in interface org.graalvm.nativeimage.PinnedObject
-
Returns the Object that is the referent of this PinnedObject.
- getObject(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type
Object
. - getObject(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the
Object
value represented by this StaticProperty and stored in the specified static object. - getObjectArray(DynamicObject) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- getObjectFile(String) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Return the path of the object file defining the symbol specified as a
String
containing the symbol name. - getObjectFile(CEntryPointLiteral<?>) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Return the path of the object file defining the symbol specified as a
CEntryPointLiteral
containing a function pointer to symbol. - getObjectStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type
Object
. - getObjectVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the
Object
value represented by this StaticProperty and stored in the specified static object. - getOffset() - Method in class com.oracle.truffle.api.strings.InternalByteArray
-
Get the string region's starting index.
- getOldSize() - Method in class com.oracle.truffle.api.instrumentation.AllocationEvent
-
Returns an old size of the value prior to the allocation, in bytes.
- getOptionDescriptors() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Returns a set of option descriptors that are supported by this instrument.
- getOptionDescriptors() - Method in class com.oracle.truffle.api.TruffleLanguage
-
Returns a set of option descriptors that are supported by this language.
- getOptions() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the context independent option values for the options described in
TruffleInstrument.getOptionDescriptors()
. - getOptions() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns option values for the options described in
TruffleLanguage.getOptionDescriptors()
. - getOptions() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
-
Returns options to be passed to the C compiler when processing the directives.
- getOptions() - Method in class org.graalvm.polyglot.Engine
-
Returns all options available for the engine.
- getOptions() - Method in class org.graalvm.polyglot.Instrument
-
Gets the options available for this instrument.
- getOptions() - Method in class org.graalvm.polyglot.Language
-
Returns the set of options provided by this language.
- getOptions(TruffleContext) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the context specific option values for the options described in
TruffleInstrument.getContextOptionDescriptors()
andTruffleInstrument.getOptionDescriptors()
. - getOrDefault(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the value of an existing property or returns the provided default value if no such property exists.
- getOriginalLanguage() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get the original language that created the value, if any.
- getOS() - Method in class com.oracle.truffle.api.InternalResource.Env
-
Returns the current operating system.
- getOS() - Method in interface org.graalvm.nativeimage.Platform.ANDROID
-
Returns string representing ANDROID OS.
- getOS() - Method in interface org.graalvm.nativeimage.Platform
-
Returns the string representing Platform's OS name.
- getOS() - Method in interface org.graalvm.nativeimage.Platform.IOS
-
Returns string representing iOS OS.
- getOS() - Method in interface org.graalvm.nativeimage.Platform.LINUX
-
Returns string representing LINUX OS.
- getOS() - Method in interface org.graalvm.nativeimage.Platform.MACOS
-
Returns string representing MACOS OS.
- getOS() - Method in interface org.graalvm.nativeimage.Platform.WINDOWS
-
Returns string representing WINDOWS OS.
- getOSRMetadata() - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Gets the OSR metadata for this instance.
- getOutputRedirect() - Method in class org.graalvm.polyglot.io.ProcessHandler.ProcessCommand
-
Returns the standard output destination.
- getOutputStream() - Method in class org.graalvm.polyglot.io.ProcessHandler.Redirect
-
Returns the output stream to redirect to.
- getOwner(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the owner of the file.
- getParameterCount() - Method in class com.oracle.truffle.api.library.Message
-
Returns the number of parameters including the receiver type.
- getParameterType(int) - Method in class com.oracle.truffle.api.library.Message
-
Just like
Message.getParameterTypes()
but returns the parameter of a given index in a partial evaluation safe way. - getParameterTypes() - Method in class com.oracle.truffle.api.library.Message
-
Returns all parameter types including the receiver type of the message.
- getParameterTypes() - Method in exception class org.graalvm.nativeimage.MissingReflectionRegistrationError
- getParent() - Method in class com.oracle.truffle.api.debug.DebugContext
-
Get a parent context of this context, if any.
- getParent() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get a parent scope.
- getParent() - Method in class com.oracle.truffle.api.nodes.Node
-
The current parent node of this node.
- getParent() - Method in class com.oracle.truffle.api.TruffleContext
-
Get a parent context of this context, if any.
- getParent() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns a parent
TruffleFile
or null when the file does not have a parent. - getParent() - Method in class com.oracle.truffle.api.TruffleLogger
-
Returns the parent
TruffleLogger
. - getParentFrameDescriptor() - Method in class com.oracle.truffle.api.nodes.RootNode
-
If this root node has a lexical scope parent, this method returns its frame descriptor.
- getPath() - Method in class com.oracle.truffle.api.source.Source
-
The fully qualified name of the source.
- getPath() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the string representation of this
TruffleFile
. - getPath() - Method in class org.graalvm.polyglot.Source
-
The fully qualified name of the source.
- getPathSeparator() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the path separator used to separate filenames in a path list.
- getPathSeparator() - Method in interface org.graalvm.polyglot.io.FileSystem
-
Returns the path separator used to separate filenames in a path list.
- getPolyglotBindings() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the polyglot scope - symbols explicitly exported by languages.
- getPolyglotBindings() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a TruffleObject that represents the polyglot bindings.
- getPolyglotBindings() - Method in class org.graalvm.polyglot.Context
-
Returns polyglot bindings that may be used to exchange symbols between the host and guest languages.
- getPolyglotStackTrace() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Provides programmatic access to the polyglot stack trace information printed by
PolyglotException.printStackTrace()
. - getPosixPermissions(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the file's Posix permissions.
- getPrimitive(int, Class<T>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.InlineTarget
-
Requests a primitive field for a given field index.
- getPrimitiveArray(DynamicObject) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- getPriority() - Method in interface com.oracle.truffle.api.library.provider.DefaultExportProvider
-
Returns the priority used when multiple default exports would be applicable.
- getPriority() - Method in interface com.oracle.truffle.api.object.LayoutFactory
-
Deprecated.
- getPriority() - Method in interface com.oracle.truffle.api.TruffleRuntimeAccess
-
Allows disambiguation if more than one
TruffleRuntime
implementation is available. - getProbeNode() - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode
-
A child of the wrapper, through which the wrapper reports execution events related to the guest language delegate node.
- getProcessID() - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Get the Process ID of the process executing the image.
- getProcessID(Process) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Get the Process ID of the given process object.
- getProperties() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Provides properties representing an internal structure of this value.
- getProperties() - Method in class com.oracle.truffle.api.object.Shape
-
An
Iterable
over the shape's properties in insertion order. - getProperty(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets a property descriptor for the requested property key.
- getProperty(Object) - Method in class com.oracle.truffle.api.object.Shape
-
Get a property entry by key.
- getProperty(String) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get a property value by its name.
- getPropertyArray(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets an array snapshot of the object's properties, in insertion order.
- getPropertyAssumption(Object) - Method in class com.oracle.truffle.api.object.Shape
-
Gets a stable property assumption for the given property key.
- getPropertyCount() - Method in class com.oracle.truffle.api.object.Shape
-
Returns the number of properties in this shape.
- getPropertyFlagsOrDefault(DynamicObject, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the property flags associated with the requested property key.
- getPropertyList() - Method in class com.oracle.truffle.api.object.Shape
-
Get a list of all properties that this Shape stores.
- getPropertyListInternal(boolean) - Method in class com.oracle.truffle.api.object.Shape
-
Returns all (also hidden) property objects in this shape.
- getProtectionDomain() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
-
Returns the memory protection domain to be used for an isolate.
- getPublicLanguages() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns all languages that are installed and publicly accessible in the environment.
- getPublicTruffleFile(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a
TruffleFile
for given path. - getPublicTruffleFile(URI) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a
TruffleFile
for given path. - getQualifiedName() - Method in class com.oracle.truffle.api.library.Message
-
Returns a qualified and unique name of this message.
- getQualifiedName() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns a qualified name of the AST that in the best case uniquely identifiers the method.
- getRawException(Class<? extends TruffleLanguage<?>>) - Method in exception class com.oracle.truffle.api.debug.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<? extends TruffleLanguage<?>>, FrameInstance.FrameAccess) - Method in class com.oracle.truffle.api.debug.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<? extends TruffleLanguage<?>>) - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Returns the current node for this stack frame, or
null
if the requesting language class does not match the root node guest language. - getRawType() - Method in class org.graalvm.polyglot.TypeLiteral
-
Returns the raw class type of the literal.
- getRawValue(Class<? extends TruffleLanguage<?>>) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the underlying guest value object held by this
DebugValue
. - getReader() - Method in class com.oracle.truffle.api.source.Source
-
Access to the source contents.
- getReader() - Method in class org.graalvm.polyglot.Source
-
Returns a new reader that reads from the
characters
provided by this source. - getReceiver() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get value that represents the receiver object of this scope.
- getReceiverClass() - Method in interface com.oracle.truffle.api.library.provider.DefaultExportProvider
-
Returns the receiver class of the default export.
- getReceiverMember(Object, Frame) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns an object that represents the receiver name when available.
- getReceiverType() - Method in class com.oracle.truffle.api.library.Message
-
Returns the receiver type of the message.
- getReference(int, Class<?>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.InlineTarget
-
Requests a reference field for a given field index.
- getRepeatingNode() - Method in class com.oracle.truffle.api.nodes.LoopNode
-
Returns the repeating node the loop node was created with.
- getRequiredFeatures() - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Returns the list of features that this feature depends on.
- getReservedAddressSpaceSize() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
-
Returns the size in bytes for the reserved virtual address space of the new isolate.
- getResourceId() - Method in class com.oracle.truffle.api.provider.InternalResourceProvider
-
An internal resource identifier.
- getResult() - Method in exception class com.oracle.truffle.api.nodes.UnexpectedResultException
- getReturnType() - Method in class com.oracle.truffle.api.library.Message
-
Returns the return type of the message.
- getReturnType() - Method in class com.oracle.truffle.api.nodes.ExecutionSignature
-
Returns the return type of the execution signature.
- getReturnValue() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the return value of the currently executed source location.
- getReturnValue() - Method in class org.graalvm.polyglot.management.ExecutionEvent
-
Returns the return value of this source location after it was executed.
- getRight() - Method in class org.graalvm.collections.Pair
-
Returns the right value of this pair.
- getRoot() - Method in class com.oracle.truffle.api.object.Shape
-
Get the root shape.
- getRootInstance() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get value that represents root instance of this scope.
- getRootInstance(Object, Frame) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns the current instance of guest language representation of the root node (e.g.
- getRootInstanceBreakpoints() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get a list of breakpoints installed to the value's session and whose
root instance
is this value. - getRootName() - Method in class org.graalvm.polyglot.management.ExecutionEvent
-
Returns the root name or
null
if no name is available. - getRootName() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
-
Returns the root name of this stack frame.
- getRootNode() - Method in class com.oracle.truffle.api.nodes.Node
-
Get the root node of the tree a node belongs to.
- getRootNode() - Method in interface com.oracle.truffle.api.RootCallTarget
- getRuntime() - Static method in class com.oracle.truffle.api.Truffle
-
Gets the singleton
TruffleRuntime
object. - getRuntime() - Method in interface com.oracle.truffle.api.TruffleRuntimeAccess
-
Gets the
TruffleRuntime
implementation available via this access object. - getSandboxPolicy() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the engine's
SandboxPolicy
. - getSandboxPolicy() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the context's
SandboxPolicy
. - getSandboxPolicy(String) - Method in interface com.oracle.truffle.api.TruffleOptionDescriptors
-
Returns a
SandboxPolicy
for an optionkey
. - getSavedInputValues(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Returns all saved input values.
- getScope() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Get the current inner-most scope.
- getScope() - Method in class com.oracle.truffle.api.debug.DebugStackTraceElement
-
Get the current inner-most scope.
- getScope() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get the scope where this value is declared in.
- getScope(C) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Get a top scope of the language, if any.
- getScope(LanguageInfo) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Provides top scope object of the language, if any.
- getScope(Object, Frame, boolean) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Get an object representing a local scope containing variables visible at the node location.
- getScopeInternal(LanguageInfo) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the scope object of a non-null
internal language
. - getScopeParent(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the parent scope object if it
has the parent
. - getScopePublic(LanguageInfo) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the scope object of a non-null
public language
. - getSeparator() - Method in interface org.graalvm.polyglot.io.FileSystem
-
Returns the name separator used to separate names in a path string.
- getServicesClassNames() - Method in class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Returns the class names of provided services.
- getServicesClassNames() - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Returns the class names of provided services.
- getSession() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get the debugger session associated with this value.
- getSession() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the debugger session this suspended event was created for.
- getSessionCount() - Method in class com.oracle.truffle.api.debug.Debugger
-
Returns the number of active debugger sessions.
- getShape() - Method in class com.oracle.truffle.api.object.DynamicObject
-
Get the object's current shape.
- getShape(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the
shape
of the object. - getShape(DynamicObject) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- getShapeFlags(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the language-specific object shape flags previously set using
DynamicObjectLibrary.setShapeFlags(DynamicObject, int)
orShape.Builder.shapeFlags(int)
. - getSharedData() - Method in class com.oracle.truffle.api.object.Shape
-
Get the shape's shared data.
- getShort(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the short at the given byte offset from the start of the buffer.
- getShort(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the short at the given byte offset from the start of the buffer.
- getShort(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the short value represented by this StaticProperty and stored in the specified static object.
- getShortUnaligned(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the short at the given byte offset from the start of the buffer.
- getShortUnaligned(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the short at the given byte offset from the start of the buffer.
- getShortVolatile(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.getShort(byte[], long)
. - getShortVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the short value represented by this StaticProperty and stored in the specified static object.
- getSignature() - Method in exception class org.graalvm.nativeimage.MissingJNIRegistrationError
- getSimpleName() - Method in class com.oracle.truffle.api.library.Message
-
Returns the simple name of this message.
- getSize() - Method in interface org.graalvm.polyglot.proxy.ProxyArray
-
Returns the reported size of the array.
- getSlotInfo(int) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Queries the info object for a given indexed slot.
- getSlotKind(int) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Returns the
FrameSlotKind
associated with the given indexed slot. - getSlotName(int) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Queries the name for a given indexed slot.
- getSource() - Method in class com.oracle.truffle.api.instrumentation.ExecuteSourceEvent
-
Returns the executed source that caused this event.
- getSource() - Method in class com.oracle.truffle.api.instrumentation.LoadSourceEvent
-
Returns the loaded source that caused this event.
- getSource() - Method in class com.oracle.truffle.api.source.SourceSection
-
Representation of the source program that contains this section.
- getSource() - Method in class com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest
-
The source code to parse.
- getSource() - Method in class com.oracle.truffle.api.TruffleLanguage.ParsingRequest
-
The source code to parse.
- getSource() - Method in class org.graalvm.polyglot.SourceSection
-
Representation of the source program that contains this section.
- getSourceLocation() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get a source location where this value is declared, if any.
- getSourceLocation() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Gets a guest language source location of this error or
null
if no source location is available for this exception. - getSourceLocation() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
-
Returns the source location of the stack frame or
null
if no source location is available. - getSourceLocation() - Method in class org.graalvm.polyglot.Value
-
Returns the declared source location of the value.
- getSourceLocation(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the declared source location of the receiver value.
- getSourceSection() - Method in class com.oracle.truffle.api.debug.DebugException.CatchLocation
- getSourceSection() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get a source section representing this scope.
- getSourceSection() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Returns the source section of the location where the debugging session was suspended.
- getSourceSection() - Method in class com.oracle.truffle.api.debug.DebugStackTraceElement
-
Returns the source section location of this trace element.
- getSourceSection() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the guest language source section of the AST node before/after the execution is suspended.
- getSourceSection() - Method in class com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent
-
Returns the loaded source section that caused this event.
- getSourceSection() - Method in class com.oracle.truffle.api.nodes.Node
-
Retrieves the segment of guest language source code that is represented by this Node.
- getSpecialization(Node, Node, String) - Static method in class com.oracle.truffle.api.dsl.Introspection
-
Like
Introspection.getSpecialization(Node, String)
but must be used for nodes that wereinlined
. - getSpecialization(Node, String) - Static method in class com.oracle.truffle.api.dsl.Introspection
-
Returns introspection information for the first specialization that matches a given method name.
- getSpecializations(Node) - Static method in class com.oracle.truffle.api.dsl.Introspection
-
Returns introspection information for all declared specializations as unmodifiable list.
- getSpecializations(Node, Node) - Static method in class com.oracle.truffle.api.dsl.Introspection
-
Like
Introspection.getSpecializations(Node)
but must be used for nodes that wereinlined
. - getStability() - Method in class org.graalvm.options.OptionDescriptor
-
Returns the stability of this option.
- getStackFrames() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns a list of guest language stack frame objects that indicate the current guest language location.
- getStackTrace() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Gets stack trace elements of guest languages.
- getStackTrace() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Gets stack trace elements for Java and guest languages.
- getStackTrace(Throwable) - Static method in exception class com.oracle.truffle.api.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 exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Returns the number of guest language frames that should be collected for this exception.
- getStartColumn() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the 1-based column number of the first character in this section (inclusive).
- getStartColumn() - Method in class org.graalvm.polyglot.SourceSection
-
Returns the 1-based column number of the first character in this section (inclusive).
- getStartLine() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns 1-based line number of the first character in this section (inclusive).
- getStartLine() - Method in class org.graalvm.polyglot.SourceSection
-
Returns 1-based line number of the first character in this section (inclusive).
- getState(int, int) - Method in class com.oracle.truffle.api.dsl.InlineSupport.InlineTarget
-
Requests a state field for a given field index.
- getStringCompactionLevelUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetStringCompactionLevelNode
. - getSuppliedNodes() - Method in exception class com.oracle.truffle.api.dsl.UnsupportedSpecializationException
-
Returns the children of the
Node
returned byUnsupportedSpecializationException.getNode()
which produced the values returned byUnsupportedSpecializationException.getSuppliedValues()
. - getSuppliedValues() - Method in exception class com.oracle.truffle.api.dsl.UnsupportedSpecializationException
-
Returns the dynamic values that were supplied to the node.The array returned by
UnsupportedSpecializationException.getSuppliedNodes()
has the same length as the array returned byUnsupportedSpecializationException.getSuppliedValues()
. - getSuppliedValues() - Method in exception class com.oracle.truffle.api.interop.UnsupportedTypeException
-
Returns the arguments of the foreign object access that were not supported by the
TruffleObject
. - getSuspendAnchor() - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Returns the suspended position within the guest language source location.
- getSuspendAnchor() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns where, within the guest language
source section
, the suspended position is. - getTag(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Determines the actual
FrameSlotKind
of the value in the slot, and returns it asFrameSlotKind.tag
. - getTarget() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns the call target on the stack.
- getTargetClass() - Method in class com.oracle.truffle.api.dsl.InlineSupport.InlineTarget
-
Returns static target class this inlining specification was applied.
- getTempDirectory() - Method in interface org.graalvm.polyglot.io.FileSystem
-
Returns the default temporary directory.
- getThread() - Method in class com.oracle.truffle.api.ThreadLocalAction.Access
-
Returns the thread where this thread local action is running on.
- getThrowLocation() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Get source code location where this exception was thrown from.
- getTimeZone() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the default time zone of this environment.
- Getting started using the debugger - Search tag in package com.oracle.truffle.api.debug
- Section
- getToolHomes() - Method in class org.graalvm.home.HomeFinder
- getTopScope(String) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Returns a language top scope.
- getTopStackFrame() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the topmost stack frame returned by
SuspendedEvent.getStackFrames()
. - getTruffleFile(TruffleContext, String) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns a
TruffleFile
for given path andcontext
. - getTruffleFile(TruffleContext, URI) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
- getTruffleFile(String) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Deprecated.since 23.0. Use
TruffleInstrument.Env.getTruffleFile(TruffleContext, String)
. - getTruffleFile(URI) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Deprecated.since 23.0. Use
TruffleInstrument.Env.getTruffleFile(TruffleContext, URI)
. - getTruffleFileInternal(String, Predicate<TruffleFile>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a
TruffleFile
for the given path. - getTruffleFileInternal(URI, Predicate<TruffleFile>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a
TruffleFile
for given URI. - getType() - Method in class com.oracle.truffle.api.nodes.NodeClass
- getType() - Method in class com.oracle.truffle.api.object.Layout
-
Deprecated.
- getType() - Method in class org.graalvm.options.OptionKey
-
Returns the option type of this key.
- getType() - Method in class org.graalvm.polyglot.TypeLiteral
-
Returns the type literal including generic type information.
- getUncached() - Static method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the uncached automatically dispatched version of the interop library.
- getUncached() - Static method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns the uncached automatically dispatched version of the node library.
- getUncached() - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns an uncached automatically dispatched version of the library.
- getUncached() - Static method in class com.oracle.truffle.api.library.ReflectionLibrary
-
Returns the uncached automatically dispatched version of the reflection library.
- getUncached() - Static method in class com.oracle.truffle.api.nodes.IndirectCallNode
-
Returns an uncached version of an indirect call node.
- getUncached() - Static method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the shared
DynamicObjectLibrary
instance for uncached accesses. - getUncached() - Static method in class com.oracle.truffle.api.profiles.BranchProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.CountingConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.ValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.AsManagedNode
-
Get the uncached version of
MutableTruffleString.AsManagedNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.AsMutableTruffleStringNode
-
Get the uncached version of
MutableTruffleString.AsMutableTruffleStringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.ConcatNode
-
Get the uncached version of
MutableTruffleString.ConcatNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.ForceEncodingNode
-
Get the uncached version of
MutableTruffleString.ForceEncodingNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.FromByteArrayNode
-
Get the uncached version of
MutableTruffleString.FromByteArrayNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.FromNativePointerNode
-
Get the uncached version of
MutableTruffleString.FromNativePointerNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringByteIndexNode
-
Get the uncached version of
MutableTruffleString.SubstringByteIndexNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringNode
-
Get the uncached version of
MutableTruffleString.SubstringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SwitchEncodingNode
-
Get the uncached version of
MutableTruffleString.SwitchEncodingNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.WriteByteNode
-
Get the uncached version of
MutableTruffleString.WriteByteNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsManagedNode
-
Get the uncached version of
TruffleString.AsManagedNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsNativeNode
-
Get the uncached version of
TruffleString.AsNativeNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsTruffleStringNode
-
Get the uncached version of
TruffleString.AsTruffleStringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfAnyByteNode
-
Get the uncached version of
TruffleString.ByteIndexOfAnyByteNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode
-
Get the uncached version of
TruffleString.ByteIndexOfCodePointNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode
-
Get the uncached version of
TruffleString.ByteIndexOfCodePointSetNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode
-
Get the uncached version of
TruffleString.ByteIndexOfStringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexToCodePointIndexNode
-
Get the uncached version of
TruffleString.ByteIndexToCodePointIndexNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode
-
Get the uncached version of
TruffleString.ByteLengthOfCodePointNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CharIndexOfAnyCharUTF16Node
-
Get the uncached version of
TruffleString.CharIndexOfAnyCharUTF16Node
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode
-
Get the uncached version of
TruffleString.CodePointAtByteIndexNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode
-
Get the uncached version of
TruffleString.CodePointAtIndexNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointIndexToByteIndexNode
-
Get the uncached version of
TruffleString.CodePointIndexToByteIndexNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointLengthNode
-
Get the uncached version of
TruffleString.CodePointLengthNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodeRangeEqualsNode
-
Get the uncached version of
TruffleString.CodeRangeEqualsNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareBytesNode
-
Get the uncached version of
TruffleString.CompareBytesNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node
-
Get the uncached version of
TruffleString.CompareCharsUTF16Node
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareIntsUTF32Node
-
Get the uncached version of
TruffleString.CompareIntsUTF32Node
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ConcatNode
-
Get the uncached version of
TruffleString.ConcatNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode
-
Get the uncached version of
TruffleString.CopyToByteArrayNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CopyToNativeMemoryNode
-
Get the uncached version of
TruffleString.CopyToNativeMemoryNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode
-
Get the uncached version of
TruffleString.CreateBackwardCodePointIteratorNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode
-
Get the uncached version of
TruffleString.CreateCodePointIteratorNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.EqualNode
-
Get the uncached version of
TruffleString.EqualNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ForceEncodingNode
-
Get the uncached version of
TruffleString.ForceEncodingNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode
-
Get the uncached version of
TruffleString.FromByteArrayNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node
-
Get the uncached version of
TruffleString.FromCharArrayUTF16Node
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromCodePointNode
-
Get the uncached version of
TruffleString.FromCodePointNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node
-
Get the uncached version of
TruffleString.FromIntArrayUTF32Node
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode
-
Get the uncached version of
TruffleString.FromJavaStringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromLongNode
-
Get the uncached version of
TruffleString.FromLongNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromNativePointerNode
-
Get the uncached version of
TruffleString.FromNativePointerNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetByteCodeRangeNode
-
Get the uncached version of
TruffleString.GetByteCodeRangeNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeImpreciseNode
-
Get the uncached version of
TruffleString.GetCodeRangeImpreciseNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeNode
-
Get the uncached version of
TruffleString.GetCodeRangeNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetInternalByteArrayNode
-
Get the uncached version of
TruffleString.GetInternalByteArrayNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetInternalNativePointerNode
-
Get the uncached version of
TruffleString.GetInternalNativePointerNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetStringCompactionLevelNode
-
Get the uncached version of
TruffleString.GetStringCompactionLevelNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.HashCodeNode
-
Get the uncached version of
TruffleString.HashCodeNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.IndexOfCodePointNode
-
Get the uncached version of
TruffleString.IndexOfCodePointNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.IndexOfStringNode
-
Get the uncached version of
TruffleString.IndexOfStringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.IntIndexOfAnyIntUTF32Node
-
Get the uncached version of
TruffleString.IntIndexOfAnyIntUTF32Node
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.IsValidNode
-
Get the uncached version of
TruffleString.IsValidNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfCodePointNode
-
Get the uncached version of
TruffleString.LastByteIndexOfCodePointNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode
-
Get the uncached version of
TruffleString.LastByteIndexOfStringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfCodePointNode
-
Get the uncached version of
TruffleString.LastIndexOfCodePointNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfStringNode
-
Get the uncached version of
TruffleString.LastIndexOfStringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.MaterializeNode
-
Get the uncached version of
TruffleString.MaterializeNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseDoubleNode
-
Get the uncached version of
TruffleString.ParseDoubleNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseIntNode
-
Get the uncached version of
TruffleString.ParseIntNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseLongNode
-
Get the uncached version of
TruffleString.ParseLongNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ReadByteNode
-
Get the uncached version of
TruffleString.ReadByteNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node
-
Get the uncached version of
TruffleString.ReadCharUTF16Node
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode
-
Get the uncached version of
TruffleString.RegionEqualByteIndexNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualNode
-
Get the uncached version of
TruffleString.RegionEqualNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.RepeatNode
-
Get the uncached version of
TruffleString.RepeatNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode
-
Get the uncached version of
TruffleString.SubstringByteIndexNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.SubstringNode
-
Get the uncached version of
TruffleString.SubstringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode
-
Get the uncached version of
TruffleString.SwitchEncodingNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode
-
Get the uncached version of
TruffleString.ToJavaStringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ToValidStringNode
-
Get the uncached version of
TruffleString.SwitchEncodingNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateNode
-
Get the uncached version of
TruffleString.WithMask.CreateNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF16Node
-
Get the uncached version of
TruffleString.WithMask.CreateNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF32Node
-
Get the uncached version of
TruffleString.WithMask.CreateNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode
-
Get the uncached version of
TruffleStringBuilder.AppendByteNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node
-
Get the uncached version of
TruffleStringBuilder.AppendCharUTF16Node
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode
-
Get the uncached version of
TruffleStringBuilder.AppendCodePointNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode
-
Get the uncached version of
TruffleStringBuilder.AppendIntNumberNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node
-
Get the uncached version of
TruffleStringBuilder.AppendJavaStringUTF16Node
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode
-
Get the uncached version of
TruffleStringBuilder.AppendLongNumberNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode
-
Get the uncached version of
TruffleStringBuilder.AppendStringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode
-
Get the uncached version of
TruffleStringBuilder.AppendSubstringByteIndexNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode
-
Get the uncached version of
TruffleStringBuilder.ToStringNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringIterator.NextNode
-
Get the uncached version of
TruffleStringIterator.NextNode
. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringIterator.PreviousNode
-
Get the uncached version of
TruffleStringIterator.PreviousNode
. - getUncached(Object) - Static method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the uncached manually dispatched version of the interop library.
- getUncached(Object) - Static method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns the uncached manually dispatched version of the node library.
- getUncached(Object) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns an uncached manually dispatched library for a given receiver.
- getUncached(Object) - Static method in class com.oracle.truffle.api.library.ReflectionLibrary
-
Returns the uncached manually dispatched version of the reflection library.
- getUncachedInstance() - Method in interface com.oracle.truffle.api.dsl.NodeFactory
-
Returns the uncached version of this node or
null
ifGenerateUncached
was not applied to the node. - getUnknownIdentifier() - Method in exception class com.oracle.truffle.api.interop.UnknownIdentifierException
-
Returns the identifier that could not be accessed.
- getUnknownKey() - Method in exception class com.oracle.truffle.api.interop.UnknownKeyException
-
Returns the hash key that could not be accessed.
- getURI() - Method in class com.oracle.truffle.api.source.Source
-
Get URI of the source.
- getURI() - Method in class org.graalvm.polyglot.Source
-
Get the URI of the source.
- getURL() - Method in class com.oracle.truffle.api.source.Source
-
The URL if the source is retrieved via URL.
- getURL() - Method in interface org.graalvm.nativeimage.hosted.Feature
-
A URL to documentation or the sources of the feature.
- getURL() - Method in class org.graalvm.polyglot.Source
-
The URL if the source is retrieved via URL.
- getUsageSyntax() - Method in class org.graalvm.options.OptionDescriptor
-
Specifies a human-readable syntax describing the accepted values for this option.
- getValidAssumption() - Method in class com.oracle.truffle.api.object.Shape
-
Get an assumption that the shape is valid.
- getValue() - Method in class com.oracle.truffle.api.instrumentation.AllocationEvent
-
Returns the value which is a subject of allocation.
- getValue() - Method in interface org.graalvm.collections.UnmodifiableMapCursor
-
The value of the current entry.
- getValue(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of any type.
- getValue(OptionValues) - Method in class org.graalvm.options.OptionKey
-
Returns the value of this key given the
values
. - getValues() - Method in class org.graalvm.collections.EconomicMapWrap
- getValues() - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
-
Returns a
Iterable
view of the values contained in this map. - getVersion() - Method in class com.oracle.truffle.api.InstrumentInfo
-
Gets the version of this instrument.
- getVersion() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
-
Returns the version of the language.
- getVersion() - Method in class org.graalvm.home.HomeFinder
- getVersion() - Method in class org.graalvm.polyglot.Engine
-
Gets the version string of the engine in an unspecified format.
- getVersion() - Method in class org.graalvm.polyglot.Instrument
-
Gets the version of this instrument.
- getVersion() - Method in class org.graalvm.polyglot.Language
-
Gets the version information of the language in an arbitrary language-specific format.
- getView(Object, Frame, Object) - Method in class com.oracle.truffle.api.interop.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 class com.oracle.truffle.api.dsl.InlineSupport.ReferenceField
-
This method returns the value of the target field given a target node using volatile semantics.
- getWebsite() - Method in class org.graalvm.polyglot.Instrument
-
Gets the website of this instrument.
- getWebsite() - Method in class org.graalvm.polyglot.Language
-
Get the URL for the language website.
- getYieldValue() - Method in interface com.oracle.truffle.api.instrumentation.GenerateWrapper.YieldException
-
Get the value provided by the yield.
- greaterOrEqual(int) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- greaterOrEqual(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- greaterThan(int) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- greaterThan(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- guards() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
Declares
boolean
expressions that define whether or not input values are applicable to this specialization instance.
H
- HALT_INSTRUCTION - Enum constant in enum class com.oracle.truffle.api.debug.Breakpoint.Kind
-
Represents breakpoints submitted for a halt instruction in a guest language program.
- HARD - Enum constant in enum class com.oracle.truffle.api.TruffleLanguage.ExitMode
-
Hard exit triggered by
TruffleContext.closeExited(Node, int)
. - hasArrayElements() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this polyglot value has array elements. - hasArrayElements(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver may have array elements. - hasBeenSet(OptionKey<?>) - Method in interface org.graalvm.options.OptionValues
-
Determines if a value for
optionKey
has been set explicitly by theContext
orEngine
, and thereforeOptionValues.get(OptionKey)
does not callOptionKey.getDefaultValue()
. - hasBeenSet(OptionValues) - Method in class org.graalvm.options.OptionKey
-
Returns
true
if a value for this key has been set for the given option values orfalse
if no value has been set. - hasBufferElements() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if the receiver may have buffer elements. - hasBufferElements(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver may have buffer elements. - hasBytecodeIndex() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns
true
if the stack trace element contains a valid bytecode index, elsefalse
. - hasBytes() - Method in class com.oracle.truffle.api.source.Source
-
Returns
true
if this source represents a byte based source, elsefalse
. - hasBytes() - Method in class org.graalvm.polyglot.Source
-
Returns
true
if this source represents a byte based source, elsefalse
. - hasCharacters() - Method in class com.oracle.truffle.api.source.Source
-
Returns
true
if this source represents a character based source, elsefalse
. - hasCharacters() - Method in class org.graalvm.polyglot.Source
-
Returns
true
if this source represents a character based source, elsefalse
. - hasCharIndex() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns
true
if this section has a character index information,false
otherwise. - hasCharIndex() - Method in class org.graalvm.polyglot.SourceSection
-
Returns
true
if this section has a character index information,false
otherwise. - hasColumns() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns
true
if this section has a column number information,false
otherwise. - hasColumns() - Method in class org.graalvm.polyglot.SourceSection
-
Returns
true
if this section has a column number information,false
otherwise. - hasData() - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Returns
true
if the statistics did collect any data, elsefalse
. - hasDeclaringMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver has a declaring meta object. - hasExceptionCause(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver is an exception with an attached internal cause. - hasExceptionMessage(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver is an exception that has an exception message. - hasExceptionStackTrace(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver is an exception and has a stack trace. - hasExecutableName(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver has an executable name. - HASH_TO_JAVA_MAP - Enum constant in enum class org.graalvm.polyglot.HostAccess.MutableTargetMapping
-
Enables default mapping of guest object hashes to host object
Map
. - hasHashEntries() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if the value may have hash map entries. - hasHashEntries() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this polyglot value represents a map. - hasHashEntries(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver may have hash entries. - hasHashEntry(Object) - Method in class org.graalvm.polyglot.Value
-
Returns
true
if mapping for the specified key exists. - hasHashEntry(Value) - Method in interface org.graalvm.polyglot.proxy.ProxyHashMap
-
Returns
true
if the proxy object contains a mapping for the specified key, or elsefalse
. - hashCode() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
- hashCode() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Provides hash code of the value.
- hashCode() - Method in class com.oracle.truffle.api.library.Message
- hashCode() - Method in class com.oracle.truffle.api.object.HiddenKey
- hashCode() - Method in class com.oracle.truffle.api.object.Location
-
Abstract to force overriding.
- hashCode() - Method in class com.oracle.truffle.api.source.Source
- hashCode() - Method in class com.oracle.truffle.api.source.SourceSection
- hashCode() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns this string's hashcode.
- hashCode() - Method in record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Returns a hash code value for this object.
- hashCode() - Method in class com.oracle.truffle.api.TruffleContext
- hashCode() - Method in class com.oracle.truffle.api.TruffleFile
- hashCode() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the hash code value for this bit set.
- hashCode() - Method in class org.graalvm.collections.Pair
- hashCode() - Method in class org.graalvm.home.Version
- hashCode() - Method in class org.graalvm.options.OptionDescriptor
- hashCode() - Method in class org.graalvm.options.OptionMap
- hashCode() - Method in class org.graalvm.polyglot.Context
- hashCode() - Method in class org.graalvm.polyglot.HostAccess
- hashCode() - Method in class org.graalvm.polyglot.Instrument
- hashCode() - Method in class org.graalvm.polyglot.io.IOAccess
- hashCode() - Method in class org.graalvm.polyglot.io.ProcessHandler.Redirect
- hashCode() - Method in class org.graalvm.polyglot.Language
- hashCode() - Method in exception class org.graalvm.polyglot.PolyglotException
- hashCode() - Method in class org.graalvm.polyglot.Source
- hashCode() - Method in class org.graalvm.polyglot.SourceSection
- hashCode() - Method in class org.graalvm.polyglot.TypeLiteral
- hashCode() - Method in class org.graalvm.polyglot.Value
-
Returns the identity hash code of the underlying object.
- hashCode(DynamicObject) - Method in class com.oracle.truffle.api.object.ObjectType
-
Deprecated.
- hashCode(Object) - Method in class org.graalvm.collections.Equivalence
-
Returns the hash code of a non-
null
argumento
. - hashCode(UnmodifiableEconomicMap<K, V>) - Static method in class org.graalvm.collections.EconomicMapUtil
-
Computes an order-independent hash code for an
EconomicMap
. - hashCodeUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.HashCodeNode
. - hasIdentity(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if and only if the receiver specifies identity, elsefalse
. - hasInstanceProperties() - Method in class com.oracle.truffle.api.object.Shape
-
Returns
true
if this shape has instance properties (i.e., stored in the object). - hasIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if the value provides an iterator. - hasIterator() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this polyglot value provides an iterator. - hasIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver provides an iterator. - hasIteratorNextElement() - Method in class com.oracle.truffle.api.debug.DebugValue
- hasIteratorNextElement() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if the value represents an iterator which has more elements, elsefalse
. - hasIteratorNextElement(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver is an iterator which has more elements, elsefalse
. - hasLanguage(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver originates from a language, elsefalse
. - hasLines() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns
true
if this section has a line number information,false
otherwise. - hasLines() - Method in class org.graalvm.polyglot.SourceSection
-
Returns
true
if this section has a line number information,false
otherwise. - hasMember(String) - Method in interface org.graalvm.polyglot.proxy.ProxyObject
-
Returns
true
if the proxy object contains a member with the given key, or elsefalse
. - hasMember(String) - Method in class org.graalvm.polyglot.Value
-
Returns
true
if such a member exists for a givenidentifier
. - hasMemberReadSideEffects(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if reading a member may cause a side-effect. - hasMembers() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this value generally supports containing members. - hasMembers(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver may have members. - hasMemberWriteSideEffects(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if writing a member may cause a side-effect, besides the write operation of the member. - hasMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver value has a metaobject associated. - hasMetaParents() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if the value represents a metaobject and the metaobject has meta parents. - hasMetaParents(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver valueis a metaobject
which has parents (super types). - hasNext() - Method in class com.oracle.truffle.api.strings.TruffleStringIterator
-
Returns
true
if there are more codepoints remaining. - hasNext() - Method in interface org.graalvm.polyglot.proxy.ProxyIterator
-
Returns
true
if the iterator has more elements, elsefalse
. - hasNextTier() - Static method in class com.oracle.truffle.api.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.
- hasPendingSideEffectingActions() - Method in class com.oracle.truffle.api.TruffleSafepoint
-
Returns whether there is any pending side-effecting thread local action on this thread, due to being in a critical section using
TruffleSafepoint.setAllowSideEffects(boolean)
. - hasPrevious() - Method in class com.oracle.truffle.api.strings.TruffleStringIterator
-
Returns
true
if there are more codepoints remaining in reverse direction. - hasProperty(Object) - Method in class com.oracle.truffle.api.object.Shape
-
Check whether the shape has a property with the given key.
- hasReadSideEffects() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if reading of this value can have side-effects, elsefalse
. - hasReceiverMember(Object, Frame) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns
true
, if there is a named receiver object, elsefalse
. - hasRootInstance(Object, Frame) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns
true
, if a current instance of the guest language representation of the root node (e.g. - hasScope(Object, Frame) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns
true
, if the node is in a scope containing local variables, elsefalse
. - hasScopeParent(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if this scope has an enclosing parent scope, elsefalse
. - hasSetOptions() - Method in interface org.graalvm.options.OptionValues
-
Determines if a value for any of the option keys in
option descriptors
has been set
. - hasSourceElement(SourceElement) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns
true
if the underlying guest language source location is denoted as the source element. - hasSourceLocation(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver value has a declared source location attached, elsefalse
. - hasTag(Class<? extends Tag>) - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Returns
true
if the underlying instrumented AST is tagged with a particular tag. - hasTag(Class<? extends Tag>) - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Returns
true
if this node should be considered tagged by a given tag elsefalse
. - hasWriteSideEffects() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if setting a new value can have side-effects, elsefalse
. - HeapAllocator() - Constructor for class org.graalvm.collections.LockFreePrefixTree.HeapAllocator
- help() - Element in annotation interface com.oracle.truffle.api.Option
-
Returns a help message for the option.
- help() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
-
Returns a human-readable description on how to use the option.
- help(String) - Method in class org.graalvm.options.OptionDescriptor.Builder
-
Specifies a human-readable description on how to use the option.
- HiddenKey - Class in com.oracle.truffle.api.object
-
A unique key to be used for private object fields; excluded from enumeration and compared by object identity.
- HiddenKey(String) - Constructor for class com.oracle.truffle.api.object.HiddenKey
- HIGH - Enum constant in enum class org.graalvm.polyglot.HostAccess.TargetMappingPrecedence
-
Defines high or default precedence and conversion order for a target type mapping.
- HIGHEST - Enum constant in enum class org.graalvm.polyglot.HostAccess.TargetMappingPrecedence
-
Defines higher precedence and conversion order as all default mappings and target type mappings with lower precedence.
- HomeFinder - Class in org.graalvm.home
-
A utility class to find various paths of the running GraalVM, as well as the version.
- HomeFinder() - Constructor for class org.graalvm.home.HomeFinder
- HostAccess - Class in org.graalvm.polyglot
-
Represents the host access policy of a polyglot context.
- HostAccess.Builder - Class in org.graalvm.polyglot
-
Builder to create a custom
host access policy
. - HostAccess.DisableMethodScoping - Annotation Interface in org.graalvm.polyglot
-
If
HostAccess.SCOPED
is used, placing this annotation on an exported host function excludes it from parameter scoping, i.e. - HostAccess.Export - Annotation Interface in org.graalvm.polyglot
-
Annotation used by the predefined
HostAccess.EXPLICIT
access policy to mark public constructors, methods and fields in public classes that should be accessible by the guest application. - HostAccess.Implementable - Annotation Interface in org.graalvm.polyglot
-
Allows guest language to implement a Java type.
- HostAccess.MutableTargetMapping - Enum Class in org.graalvm.polyglot
-
List of default host object mappings of mutable target types available in
Value.as(Class)
. - HostAccess.TargetMappingPrecedence - Enum Class in org.graalvm.polyglot
-
Represents the precedence of a target type mapping.
- hostClassFilter(Predicate<String>) - Method in class org.graalvm.polyglot.Context.Builder
-
Deprecated.use
Context.Builder.allowHostClassLookup(Predicate)
instead. - hostClassLoader(ClassLoader) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets a host class loader.
- HostCompilerDirectives - Class in com.oracle.truffle.api
-
Directives that influence the optimizations of the host compiler.
- HostCompilerDirectives.BytecodeInterpreterSwitch - Annotation Interface in com.oracle.truffle.api
-
Marks a method that is an implementation of a Truffle interpreter, and which should receive additional optimization budget.
- HostCompilerDirectives.BytecodeInterpreterSwitchBoundary - Annotation Interface in com.oracle.truffle.api
-
Deprecated.use is no longer needed. boundaries for
HostCompilerDirectives.BytecodeInterpreterSwitch
are mostly determined automatically. To migrate remove all usages. - HostCompilerDirectives.InliningCutoff - Annotation 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.
- Host Interoperability - Search tag in class org.graalvm.polyglot.Context
- Section
I
- IBM037 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM037.
- IBM437 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM437.
- IBM720 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM720.
- IBM737 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM737.
- IBM775 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM775.
- IBM852 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM852.
- IBM855 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM855.
- IBM857 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM857.
- IBM860 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM860.
- IBM861 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM861.
- IBM862 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM862.
- IBM863 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM863.
- IBM864 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM864.
- IBM865 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM865.
- IBM866 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM866.
- IBM869 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM869.
- id() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
A custom machine identifier for this instrument.
- id() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Unique id of your language.
- Idempotent - Annotation 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. - IDENTITY - Static variable in class org.graalvm.collections.Equivalence
-
Identity equivalence using
==
to check equality andObject.hashCode()
for obtaining hash values. - IDENTITY_WITH_SYSTEM_HASHCODE - Static variable in class org.graalvm.collections.Equivalence
-
Identity equivalence using
==
to check equality andSystem.identityHashCode(Object)
for obtaining hash values. - identityHashCode(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns an identity hash code for the receiver if it has
identity
. - ifExported() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary.Abstract
-
Specifies a message to be abstract only if another message is implemented.
- ifExportedAsWarning() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary.Abstract
-
Specifies a message to be abstract only if another message is implemented.
- ignoreCount(int) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies the number of times a breakpoint is ignored until it hits (i.e.
- ignoreLanguageContextInitialization(boolean) - Method in class com.oracle.truffle.api.debug.SuspensionFilter.Builder
-
Set to ignore language initialization code.
- Illegal - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- ImageInfo - Class in org.graalvm.nativeimage
-
Utility class to retrieve information about the context in which code gets executed.
- ImageSingletons - Class in org.graalvm.nativeimage
-
A key-value store of singleton objects.
- implementationName() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Unique name of your language implementation.
- implicit() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
-
Allows implicit creation of this child node.
- ImplicitCast - Annotation Interface in com.oracle.truffle.api.dsl
-
Marks an implicit cast method.
- implicitCreate() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
-
Defines the initializer expression for implicit child node creation.
- ImportStatic - Annotation Interface in com.oracle.truffle.api.dsl
-
Imports all
public
andstatic
methods and fields of the provided classes for the use in DSL expressions of the annotated class or its subclasses. - importSymbol(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Explicitly imports a symbol from the polyglot bindings.
- in() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Input associated with
Engine
thisinstrument
is being executed in. - in() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Input stream provided by
Context.Builder.in(InputStream)
this language is being executed in. - in(InputStream) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets the input stream to be used for the context.
- in(InputStream) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets the input stream to be used for the context.
- in(InputStream) - Method in class org.graalvm.polyglot.Engine.Builder
-
Sets the standard input stream to be used for this engine.
- inBounds(byte[], int, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Checks if an access is in bounds of the given buffer.
- inBounds(byte[], long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Checks if an access is in bounds of the given buffer.
- include() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
If the supplier returns
true
, this entry point is added automatically when building a shared library. - includedIn(Class<? extends Platform>) - Static method in interface org.graalvm.nativeimage.Platform
-
Returns true if the current platform (the platform that the native image is built for) is included in the provided platform group.
- includeInLookup() - Element in annotation interface org.graalvm.nativeimage.c.constant.CEnumConstant
-
Specifies whether the annotated enumeration value is returned by the lookup method annotated with
CEnumLookup
. - includeInternal(boolean) - Method in class com.oracle.truffle.api.debug.SuspensionFilter.Builder
-
Set to include or exclude
internal code
in the filter. - includeInternal(boolean) - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
-
Add a filter that includes or excludes
internal sources
. - includeInternal(boolean) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter that includes or excludes
internal root nodes
. - includes(Node) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter
-
Checks if the filter includes the given node, i.e.
- includes(RootNode, SourceSection, Set<Class<?>>) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter
-
Checks if the filter includes the given root node, i.e.
- incompatibleLocation() - Static method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- IncompatibleLocationException - Exception Class in com.oracle.truffle.api.object
-
Deprecated.
- inCompilationRoot() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Returns a boolean value indicating whether the method is executed in the root of a Truffle compilation.
- inCompiledCode() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Returns a boolean value indicating whether the method is executed in the compiled code.
- inContextPreinitialization() - Method in class com.oracle.truffle.api.InternalResource.Env
-
Returns
true
if the engine causing the resource unpacking is being pre-initialized. - incValue() - Method in class org.graalvm.collections.LockFreePrefixTree.Node
-
Increment value.
- incValue() - Method in class org.graalvm.collections.SeqLockPrefixTree.Node
-
Increment value.
- indexIn(int, int) - Method in class com.oracle.truffle.api.instrumentation.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 class com.oracle.truffle.api.instrumentation.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 class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections which indices are not contained in one of the given index ranges.
- indexOf(byte[], int, int, byte...) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first occurrence of any byte contained in
values
inarray
, bounded byfromIndex
(inclusive) andmaxIndex
(exclusive). - indexOf(char[], int, int, char...) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first occurrence of any character contained in
values
inarray
, bounded byfromIndex
(inclusive) andmaxIndex
(exclusive). - indexOf(String, int, int, char...) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first occurrence of any character contained in
values
instring
, bounded byfromIndex
(inclusive) andmaxIndex
(exclusive). - indexOfCodePointUncached(int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.IndexOfCodePointNode
. - indexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.IndexOfStringNode
. - indexOfWithOrMask(byte[], int, int, byte[], byte[]) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first region of
haystack
that equalsneedle
after being OR'ed withmask
, bounded byfromIndex
(inclusive) andlength
. - indexOfWithOrMask(char[], int, int, char[], char[]) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first region of
haystack
that equalsneedle
after being OR'ed withmask
, bounded byfromIndex
(inclusive) andlength
. - indexOfWithOrMask(String, int, int, String, String) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first region of
haystack
that equalsneedle
after being OR'ed withmask
, bounded byfromIndex
(inclusive) andlength
. - IndirectCallNode - Class in com.oracle.truffle.api.nodes
-
Represents an indirect call to a
CallTarget
. - IndirectCallNode() - Constructor for class com.oracle.truffle.api.nodes.IndirectCallNode
-
Constructor for implementation subclasses.
- info(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor.Builder
-
Adds a user-defined info object to the frame descriptor.
- info(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
info level
. - info(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
info level
. - inherit() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateCached
-
If
true
enables inheritance ofGenerateCached.value()
andGenerateCached.alwaysInlineCached()
to subclasses. - inherit() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateInline
-
If
true
enables inheritance ofGenerateInline.value()
andGenerateInline.inlineByDefault()
to subclasses. - inherit() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateNodeFactory
-
Inherits the semantics of the annotation to subclasses.
- inherit() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateUncached
-
Inherits the semantics of the annotation to subclasses.
- INHERIT - Static variable in class org.graalvm.polyglot.EnvironmentAccess
-
Provides guest languages read access to process environment.
- INHERIT - Static variable in class org.graalvm.polyglot.io.ProcessHandler.Redirect
-
Indicates that subprocess I/O source or destination will be the same as those of the current process.
- inheritAllAccess(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
If set to
true
allows all access privileges that were also granted to the outer context. - inheritIO(boolean) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
If
true
the subprocess standard input, output and error output are the same as those of the current Java process. - inImageBuildtimeCode() - Static method in class org.graalvm.nativeimage.ImageInfo
-
Returns true if (at the time of the call) code is executing in the context of image building (e.g.
- inImageCode() - Static method in class org.graalvm.nativeimage.ImageInfo
-
Returns true if (at the time of the call) code is executing in the context of image building or during image runtime, else false.
- inImageRuntimeCode() - Static method in class org.graalvm.nativeimage.ImageInfo
-
Returns true if (at the time of the call) code is executing at image runtime.
- inInterpreter() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Returns a boolean value indicating whether the method is executed in the interpreter.
- inInterpreterFastPath() - Static method in class com.oracle.truffle.api.HostCompilerDirectives
-
Indicates whether a branch is executed only in the interpreter.
- init() - Static method in class org.graalvm.word.LocationIdentity
-
Location only allowed to be used for writes.
- INIT_LOCATION - Static variable in class org.graalvm.word.LocationIdentity
-
Location only allowed to be used for writes.
- initCause(Throwable) - Method in exception class com.oracle.truffle.api.interop.InteropException
-
Deprecated.Do no longer use the cause will be initialized finally.
- initialize() - Static method in class org.graalvm.nativeimage.VMRuntime
-
Initializes the VM: Runs all startup hooks that were registered during image building.
- initialize(String) - Method in class org.graalvm.polyglot.Context
-
Forces the initialization of a language.
- initializeAtBuildTime(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeClassInitialization
-
Registers the provided classes as eagerly initialized during image-build time.
- initializeAtBuildTime(String...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeClassInitialization
-
Registers all classes in provided packages as eagerly initialized during image-build time.
- initializeAtRunTime(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeClassInitialization
-
Registers the provided classes, and all of their subclasses, for class initialization at runtime.
- initializeAtRunTime(String...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeClassInitialization
-
Registers all classes in provided packages, and all of their subclasses, for class initialization at runtime.
- initializeContext(C) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Perform any complex initialization.
- initializeCreatorContext(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Specifies whether the creating language context should be initialized in the new context.
- initializeInternal(Node, String) - Method in class com.oracle.truffle.api.TruffleContext
-
Forces initialization of an internal or public language.
- initializeLanguage(LanguageInfo) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Ensures that the target language is initialized.
- initializeLong(int, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Initializes the memory at address
(this + offset)
. - initializeLong(WordBase, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Initializes the memory at address
(this + offset)
. - initializeMultipleContexts() - Method in class com.oracle.truffle.api.TruffleLanguage
-
Initializes this language instance for use with multiple contexts.
- initializeMultiThreading(C) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Invoked before the context is accessed from multiple threads at the same time.
- initializePublic(Node, String) - Method in class com.oracle.truffle.api.TruffleContext
-
The same as
TruffleContext.initializeInternal(Node, String)
, but only public languages are accessible. - initializeThread(C, Thread) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Invoked before a context is accessed from a new thread.
- initialLoopStatus() - Method in interface com.oracle.truffle.api.nodes.RepeatingNode
-
Returns a placeholder loop status used internally before the first iteration.
- inject(boolean) - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Provides an alternative way to profile counted loops with less interpreter footprint.
- inject(Node, boolean) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Provides an alternative way to profile counted loops with less interpreter footprint.
- Inject - Annotation Interface in com.oracle.svm.core.annotate
-
Injects the annotated field into the
TargetClass
. - InjectAccessors - Annotation Interface in com.oracle.svm.core.annotate
-
Inject accessor methods for the field denoted using an
Alias
annotation. - injectBranchProbability(double, boolean) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Injects a probability for the given condition into the probability information of the immediately succeeding branch instruction for the condition.
- inline() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Enables inlining of the cached parameter if supported.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.BranchProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.CountingConditionProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.ValueProfile
-
Returns an inlined version of the profile.
- inlineByDefault() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateInline
-
If
true
the inlined version is used by default when the node is used as acached
argument. - InlinedBranchProfile - Class in com.oracle.truffle.api.profiles
-
BranchProfiles are profiles to speculate on branches that are unlikely to be visited.
- InlinedByteValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
byte
runtime values. - InlinedConditionProfile - Class in com.oracle.truffle.api.profiles
-
ConditionProfiles are useful to profile the outcome of conditions.
- InlinedCountingConditionProfile - Class in com.oracle.truffle.api.profiles
-
CountingConditionProfiles are useful to profile the outcome of conditions.
- InlinedDoubleValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
byte
runtime values. - InlinedExactClassProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture the exact class of
reference
runtime values. - InlinedFloatValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
float
runtime values. - InlinedIntValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
int
runtime values. - InlinedLongValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
long
runtime values. - InlinedLoopConditionProfile - Class in com.oracle.truffle.api.profiles
-
InlinedLoopConditionProfiles are designed to profile the outcome of loop conditions.
- InlinedProfile - 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 annotation interface com.oracle.truffle.api.dsl.Cached
-
Specifies an alternative method name for node object inlining.
- InlineSupport - Class in com.oracle.truffle.api.dsl
-
Contains classes to support node object inlining in Truffle.
- InlineSupport.BooleanField - Class in com.oracle.truffle.api.dsl
-
Represents a field for boolean primitives in inlined nodes.
- InlineSupport.ByteField - Class in com.oracle.truffle.api.dsl
-
Represents a field for byte primitives in inlined nodes.
- InlineSupport.CharField - Class in com.oracle.truffle.api.dsl
-
Represents a field for char primitives in inlined nodes.
- InlineSupport.DoubleField - Class in com.oracle.truffle.api.dsl
-
Represents a field for double primitives in inlined nodes.
- InlineSupport.FloatField - Class in com.oracle.truffle.api.dsl
-
Represents a field for float primitives in inlined nodes.
- InlineSupport.InlinableField - Class in com.oracle.truffle.api.dsl
-
Base class for inlined field references.
- InlineSupport.InlineTarget - Class in com.oracle.truffle.api.dsl
-
An inline targert for an inlinable node.
- InlineSupport.IntField - Class in com.oracle.truffle.api.dsl
-
Represents a field for int primitives in inlined nodes.
- InlineSupport.LongField - Class in com.oracle.truffle.api.dsl
-
Represents a field for long primitives in inlined nodes.
- InlineSupport.ReferenceField<T> - Class in com.oracle.truffle.api.dsl
-
Represents a field for references in inlined nodes.
- InlineSupport.RequiredField - Annotation Interface in com.oracle.truffle.api.dsl
-
Used to specify fields for node object inlining in inline methods for the
inline target
. - InlineSupport.RequiredFields - Annotation Interface in com.oracle.truffle.api.dsl
-
Used to specify multiple
InlineSupport.RequiredField
. - InlineSupport.ShortField - Class in com.oracle.truffle.api.dsl
-
Represents a field for short primitives in inlined nodes.
- InlineSupport.StateField - Class in com.oracle.truffle.api.dsl
-
Represents a field for updating state fields in inlined nodes.
- InlineSupport.UnsafeAccessedField - Annotation Interface in com.oracle.truffle.api.dsl
-
Marks a field to be accessed with unsafe.
- inNativeImageBuild() - Method in class com.oracle.truffle.api.InternalResource.Env
-
Returns
true
if resource unpacking happens during the native image build. - innerClass() - Element in annotation interface com.oracle.svm.core.annotate.TargetClass
-
Specifies the suffix of the substitutee class name when it is an inner class.
- insert(T) - Method in class com.oracle.truffle.api.nodes.Node
- insert(T[]) - Method in class com.oracle.truffle.api.nodes.Node
- insertBefore() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
References a specialization of a super class by its method name where this specialization is inserted before.
- install(Breakpoint) - Method in class com.oracle.truffle.api.debug.Debugger
-
Adds a new breakpoint to this Debugger instance and makes it available in all its sessions.
- install(Breakpoint) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Adds a new breakpoint to this session and makes it capable of suspending execution.
- instantiate(Object, Object...) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Instantiates the receiver value with the given arguments.
- Instrument - Class in org.graalvm.polyglot
-
A handle for an instrument installed in an
engine
. - InstrumentableNode - Interface 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. - InstrumentableNode.WrapperNode - Interface 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. - Instrumentation - Search tag in class com.oracle.truffle.api.nodes.RootNode
- Section
- Instrumenter - Class in com.oracle.truffle.api.instrumentation
-
Provides capabilities to attach listeners for execution, load, output and allocation events.
- InstrumentInfo - Class in com.oracle.truffle.api
-
Represents public information about an instrument.
- Int - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- interactive() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Specifies if the language is suitable for interactive evaluation of
sources
. - interactive(boolean) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Marks the source as interactive.
- interactive(boolean) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Marks the source as interactive.
- interactive(boolean) - Method in class org.graalvm.polyglot.Source.Builder
-
Marks the source as interactive.
- internal() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
Specifies whether the instrument is accessible using the polyglot API.
- internal() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Returns
true
if this language is intended for internal use only. - internal(boolean) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Marks the source as internal.
- internal(boolean) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Marks the source as internal.
- internal(boolean) - Method in class org.graalvm.polyglot.Source.Builder
-
Set whether this source has been marked as internal, meaning that it has been provided by the infrastructure, language implementation, or system library.
- INTERNAL - Enum constant in enum class org.graalvm.options.OptionCategory
-
An option only relevant when debugging a language implementation or an instrument.
- InternalByteArray - Class 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. - InternalResource - Interface in com.oracle.truffle.api
-
Represents an internal resource of a language that can be lazily unpacked to a cache user directory.
- InternalResource.CPUArchitecture - Enum Class in com.oracle.truffle.api
-
Represents a supported CPU architecture.
- InternalResource.Env - Class in com.oracle.truffle.api
-
Access to common utilities for unpacking resource files.
- InternalResource.Id - Annotation Interface in com.oracle.truffle.api
-
The annotation used to lookup
InternalResource
by an id. - InternalResource.OS - Enum Class in com.oracle.truffle.api
-
Represents a supported operating system.
- InternalResourceProvider - Class in com.oracle.truffle.api.provider
-
Used to register an optional
InternalResource
using aServiceLoader
. - InternalResourceProvider() - Constructor for class com.oracle.truffle.api.provider.InternalResourceProvider
- internalResources() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
Declarative list of
InternalResource
classes that is associated with this instrument. - internalResources() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Declarative list of
InternalResource
classes that is associated with this language. - InteropException - Exception Class in com.oracle.truffle.api.interop
-
Common super class for exceptions that can occur when sending
interop messages
. - InteropLibrary - Class in com.oracle.truffle.api.interop
-
Represents the library that specifies the interoperability message protocol between Truffle languages, tools and embedders.
- InteropLibrary() - Constructor for class com.oracle.truffle.api.interop.InteropLibrary
- Interpretation - Search tag in com.oracle.truffle.api.TruffleLanguage.getScope(C)
- Section
- interpreterOnly(Runnable) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Directive for the compiler that the given runnable should only be executed in the interpreter and ignored in the compiled code.
- interpreterOnly(Callable<T>) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Directive for the compiler that the given callable should only be executed in the interpreter.
- interrupt(Thread) - Method in interface com.oracle.truffle.api.TruffleSafepoint.Interrupter
-
Sets the interrupted state on a foreign thread.
- interrupt(Duration) - Method in class org.graalvm.polyglot.Context
-
Use this method to interrupt this context.
- INTERRUPT - Enum constant in enum class com.oracle.truffle.api.interop.ExceptionType
-
Indicates that the application thread was interrupted by an
InterruptedException
. - In this example: - Search tag in org.graalvm.polyglot.Context.Builder.allowHostClassLookup(Predicate<String>)
- Section
- intIndexOfAnyIntUTF32Uncached(int, int, int[]) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.IntIndexOfAnyIntUTF32Node
. - IntLocation - Interface in com.oracle.truffle.api.object
-
Deprecated.
- Introspectable - Annotation Interface in com.oracle.truffle.api.dsl
-
Annotate a DSL operation using this annotation to be introspectable.
- Introspection - Class in com.oracle.truffle.api.dsl
-
Contains introspection utilities for Truffle DSL.
- Introspection.Provider - Interface in com.oracle.truffle.api.dsl
-
Internal marker interface for DSL generated code to access reflection information.
- Introspection.SpecializationInfo - Class in com.oracle.truffle.api.dsl
-
Represents dynamic introspection information of a specialization of a DSL operation.
- IntValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
int
runtime values. - InvalidArrayIndexException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if an array does not contain a element with an index.
- InvalidAssumptionException - Exception Class in com.oracle.truffle.api.nodes
-
An exception that should be thrown if an assumption is checked and the check fails.
- InvalidAssumptionException() - Constructor for exception class com.oracle.truffle.api.nodes.InvalidAssumptionException
-
Default constructor.
- invalidate() - Method in interface com.oracle.truffle.api.Assumption
-
Invalidates this assumption.
- invalidate() - Method in class com.oracle.truffle.api.utilities.CyclicAssumption
- invalidate(String) - Method in interface com.oracle.truffle.api.Assumption
-
Invalidates this assumption.
- invalidate(String) - Method in class com.oracle.truffle.api.utilities.CyclicAssumption
- InvalidBufferOffsetException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if a buffer access if out of bounds.
- InvokeCFunctionPointer - Annotation Interface in org.graalvm.nativeimage.c.function
-
Annotation for an invocation method defined in a sub-interface of
CFunctionPointer
. - invokeMember(Object, String, Object...) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Invokes a member for a given receiver and arguments.
- invokeMember(String, Object...) - Method in class org.graalvm.polyglot.Value
-
Invokes the given member of this value.
- IOAccess - Class in org.graalvm.polyglot.io
-
Represents an IO access configuration of a polyglot context.
- IOAccess.Builder - Class in org.graalvm.polyglot.io
-
Builder to create a custom
IO access configuration
. - IOS_AARCH64() - Constructor for class org.graalvm.nativeimage.Platform.IOS_AARCH64
-
Instantiates a marker instance of this platform.
- IOS_AMD64() - Constructor for class org.graalvm.nativeimage.Platform.IOS_AMD64
-
Instantiates a marker instance of this platform.
- IS_DIRECTORY - Static variable in class com.oracle.truffle.api.TruffleFile
-
Represents the file a directory.
- IS_OTHER - Static variable in class com.oracle.truffle.api.TruffleFile
-
Represents the file a special file (device, named pipe).
- IS_REGULAR_FILE - Static variable in class com.oracle.truffle.api.TruffleFile
-
Represents the file a regular file.
- IS_SYMBOLIC_LINK - Static variable in class com.oracle.truffle.api.TruffleFile
-
Represents the file a symbolic link.
- isAbsolute() - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this
TruffleFile
's path is absolute. - isActive() - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
-
Returns
true
if the specialization was active at the time when the introspection was performed. - isActive() - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Test if the reporter instance is actually doing some reporting when notify methods are called.
- isActive() - Method in class com.oracle.truffle.api.TruffleContext
-
Returns
true
if the context is currently active on the current thread, elsefalse
. - isAdoptable() - Method in class com.oracle.truffle.api.nodes.Node
-
Returns
true
if this node can be adopted by a parent. - isAlive(long) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Tests whether the process represented by the given Process ID is alive.
- isAnnotationPresent(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.graalvm.nativeimage.AnnotationAccess
-
Implementation of
AnnotatedElement.isAnnotationPresent(Class)
. - isAny() - Method in class org.graalvm.word.LocationIdentity
-
Returns true if this location identity is
LocationIdentity.any()
. - isArray() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if this value represents an array,false
otherwise. - isArrayElementExisting(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns true if the array element is existing.
- isArrayElementInsertable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if a given array element index is not existing andinsertable
. - isArrayElementModifiable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if a given array element index is existing andwritable
. - isArrayElementReadable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if a given array element isreadable
. - isArrayElementRemovable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if a given array element index is existing andremovable
. - isArrayElementWritable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns true if the array element is
modifiable
orinsertable
. - isAssumedFinal() - Method in class com.oracle.truffle.api.object.Location
-
Returns
true
if this location is assumed to be final. - isAttached() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
-
Test if this binding is attached.
- isAvailable() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns whether this is a special instance that signifies that source information is available.
- isAvailable() - Method in class org.graalvm.polyglot.SourceSection
-
Returns whether this is a special instance that signifies that source information is available.
- isBoolean() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if and only if this value represents a boolean value. - isBoolean() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this value represents a boolean value. - isBoolean(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type boolean.
- isBoolean(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents aboolean
like value, elsefalse
. - isBreakpointHit() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns true if a breakpoint hit was the reason for the suspension.
- isBreakpointsActive() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Deprecated.Use
DebuggerSession.isBreakpointsActive(Breakpoint.Kind)
instead. - isBreakpointsActive(Breakpoint.Kind) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Test whether breakpoints of the given kind are active in this session.
- isBufferWritable() - Method in class org.graalvm.polyglot.Value
-
Returns true if the receiver object is a modifiable buffer.
- isBufferWritable(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver is a modifiable buffer. - isByte(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type byte.
- isCached() - Method in class com.oracle.truffle.api.source.Source
-
Returns
true
if code caching is enabled for this source. - isCallTargetCloned() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns
true
if the target of theDirectCallNode
was cloned by the runtime system or by the guest language implementation. - isCallTargetCloningAllowed() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns
true
if the runtime system supports cloning and theRootNode
returnstrue
inRootNode.isCloningAllowed()
. - isCancelled() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns
true
if the execution was cancelled. - isCancelling() - Method in class com.oracle.truffle.api.TruffleContext
-
Returns
true
if the context is being cancelled elsefalse
. - isCaptureFramesForTrace() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Deprecated.in 24.1, implement and use
RootNode.isCaptureFramesForTrace(boolean)
instead - isCaptureFramesForTrace(boolean) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns
true
if an AbstractTruffleException leaving this node should captureFrame
objects in its stack trace in addition to the default information. - isCaptureFramesForTrace(Node) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Deprecated.in 24.1, implement and use
RootNode.isCaptureFramesForTrace(boolean)
instead - isChildField(Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- isChildrenField(Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- isCloneableField(Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- isCloneUninitializedSupported() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns
true
ifRootNode.cloneUninitialized()
can be used to create uninitialized copies of an already initialized / executed root node. - isCloningAllowed() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns
true
if thisRootNode
is allowed to be cloned. - isClosed() - Method in class com.oracle.truffle.api.TruffleContext
-
Returns
true
if the context was closed elsefalse
. - isCompatibleTo(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Deprecated.
- isCompatibleToUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
true
if this string is compatible to the given encoding. - isCompilationConstant(Object) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Returns a boolean indicating whether or not a given value is seen as constant in optimized code.
- isCompilationRoot() - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
Returns whether or not the current frame is a compilation root.
- isConstant() - Method in class com.oracle.truffle.api.object.Location
-
Returns
true
if this is a constant value location. - isCounted(Node) - Method in interface com.oracle.truffle.api.nodes.NodeUtil.NodeCountFilter
- isCreateProcessAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if the creation of a sub-process is allowed in the current environment. - isCreateThreadAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if the creation of new threads is allowed in the current environment. - isDate() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if this value represents a date, elsefalse
. - isDate() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this object represents a date, elsefalse
. - isDate(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if this object represents a date, elsefalse
. - isDeclared() - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.No longer needed. Declared locations can only be created with deprecated APIs.
- isDelegated(Library, int) - Static method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns
true
if a message is delegated, otherwisefalse
. - isDeprecated() - Method in class com.oracle.truffle.api.library.Message
-
Returns true if this message is deprecated.
- isDeprecated() - Method in class org.graalvm.options.OptionDescriptor
-
Returns
true
if this option was marked deprecated. - isDirectory(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is a directory.
- isDisposed() - Method in class com.oracle.truffle.api.debug.Breakpoint
- isDisposed() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
- isDouble(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type double.
- isDuration() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if this object represents a duration, elsefalse
. - isDuration() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this object represents a duration, elsefalse
. - isDuration(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if this object represents a duration, elsefalse
. - isEmpty() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
true
if this string is empty. - isEmpty() - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Returns true if this string builder is empty.
- isEmpty() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns true if this
FinalBitSet
contains no bits that are set totrue
. - isEmpty() - Method in class org.graalvm.collections.EconomicMapWrap
- isEmpty() - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
-
Returns
true
if this map contains no key-value mappings. - isEmpty() - Method in interface org.graalvm.collections.UnmodifiableEconomicSet
-
Returns
true
if this set contains no elements. - isEnabled() - Method in class com.oracle.truffle.api.debug.Breakpoint
- isEngineRoot(RootNode) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns
true
if the given root node is considered an engine evaluation root for the current execution context. - isEntered() - Method in class com.oracle.truffle.api.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<?>) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Checks the given object to the exact class represented by
clazz
. - isException() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this object represents an exception, elsefalse
. - isException(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver value represents a throwable exception/error}. - isExceptionIncompleteSource(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if receiver value represents an incomplete source exception. - isExcluded() - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
-
Returns
true
if the specialization was excluded at the time when the introspection was performed. - isExecutable() - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is executable.
- isExecutable() - Static method in class org.graalvm.nativeimage.ImageInfo
-
Returns true if the image is built as an executable.
- isExecutable(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents anexecutable
value, elsefalse
. - isExit() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns
true
if this exception is caused by an attempt of a guest language program to exit the application. - isExiting() - Method in class com.oracle.truffle.api.TruffleContext
-
Returns
true
if the context is being hard-exited elsefalse
. - isExpression() - Method in class org.graalvm.polyglot.management.ExecutionEvent
-
Returns
true
if the source location is marked as expression, elsefalse
. - isFileIOAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if access to files is allowed, elsefalse
. - isFinal() - Element in annotation interface com.oracle.svm.core.annotate.RecomputeFieldValue
-
Treat the value as final, to enforce constant folding already during static analysis.
- isFinal() - Method in class com.oracle.truffle.api.object.Location
-
Returns
true
if this is a final location, i.e. - isFloat(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type float.
- isFunctionScope() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Test if this scope represents the function scope at the frame it was
obtained from
. - isGuestException() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns
true
if this exception originates from a Graal guest language. - isGuestFrame() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
-
Returns true if the stack frame originates from the guest language.
- isHashEntryExisting(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if mapping for a given key is existing. - isHashEntryExisting(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if mapping for a given key is existing. - isHashEntryInsertable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if mapping for the specified key does not exist and iswritable
. - isHashEntryInsertable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if mapping for the specified key does not exist and iswritable
. - isHashEntryModifiable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if mapping for the specified key exists and iswritable
. - isHashEntryModifiable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if mapping for the specified key exists and iswritable
. - isHashEntryReadable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if mapping for the specified key exists and is readable. - isHashEntryReadable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if mapping for the specified key exists and isreadable
. - isHashEntryRemovable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if mapping for the specified key exists and is removable. - isHashEntryRemovable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if mapping for the specified key exists and is removable. - isHashEntryWritable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
- isHashEntryWritable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
- isHidden() - Method in class com.oracle.truffle.api.object.Property
-
Is this property hidden from iteration.
- isHost() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Returns
true
if this frame is a host frame. - isHost() - Method in class com.oracle.truffle.api.debug.DebugStackTraceElement
-
Returns
true
if this element is a host element. - isHostException() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns
true
if this exception originates from the Java host language. - isHostException(Throwable) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Tests whether an exception is a host exception thrown by a Java Interop method invocation.
- isHostFrame() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
-
Returns true if the stack frame originates from the host language.
- isHostFunction(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if the argument is a Java host language function wrapped using Truffle interop. - isHostLookupAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if host access is generally allowed. - isHostObject() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if the value originated form the host language Java. - isHostObject(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if the argument is Java host language object wrapped using Truffle interop. - isHostSymbol(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if the argument is a host symbol, representing the constructor and static members of a Java class, as obtained by e.g. - isIdentical(Object, Object, InteropLibrary) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if two values represent the the identical value, elsefalse
. - isIdenticalOrUndefined(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
- isIgnoreLanguageContextInitialization() - Method in class com.oracle.truffle.api.debug.SuspensionFilter
-
Test if execution of language initialization code is to be ignored.
- isImmutable() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
true
if this string is immutable, i.e. - isImmutable() - Method in class org.graalvm.word.LocationIdentity
-
Denotes a location is unchanging in all cases.
- isIncomplete() - Element in annotation interface org.graalvm.nativeimage.c.struct.CStruct
-
If marked as incomplete, we will not try to determine the size of the struct.
- isIncompleteSource() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns
true
if this exception indicates a syntax error that is indicating that the syntax is incomplete. - isInConfiguration() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
-
This method is called immediately after the constructor, to check whether the context is part of the configuration or not.
- isInConfiguration(Feature.IsInConfigurationAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
This method is called immediately after the constructor, to check whether the feature is part of the configuration or not.
- isInit() - Method in class org.graalvm.word.LocationIdentity
-
Returns true if this location identity is
LocationIdentity.init()
. - isInlinable() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns
true
if the underlying runtime system supports inlining for theCallTarget
in thisDirectCallNode
. - isInliningForced() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns
true
if theCallTarget
is forced to be inlined. - isInnerContextOptionsAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if context options are allowed to be modified for inner contexts, orfalse
if not. - isInstant() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if this value represents an instant. - isInstant() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this value represents an instant. - isInstant(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents an instant. - isInstantiable(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents aninstantiable
value, elsefalse
. - isInstrumentable() - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Returns
true
if this node is instrumentable. - isInstrumentable() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Does this contain AST content that it is possible to instrument.
- isInt(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type int.
- isInteractive() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
- isInteractive() - Method in class com.oracle.truffle.api.source.Source
-
Check whether this source has been marked as interactive.
- isInteractive() - Method in class org.graalvm.polyglot.Language
-
Returns
true
if a the language is suitable for interactive evaluation ofsources
. - isInteractive() - Method in class org.graalvm.polyglot.Source
-
Check whether this source has been marked as interactive.
- isInternal() - Method in class com.oracle.truffle.api.debug.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 class com.oracle.truffle.api.debug.DebugStackTraceElement
-
Returns whether this trace element is a language implementation artifact.
- isInternal() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if this value represents an internal variable or property,false
otherwise. - isInternal() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
- isInternal() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns
true
if this root node should be considered internal and not be shown to a guest language programmer. - isInternal() - Method in class com.oracle.truffle.api.source.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() - Method in class org.graalvm.polyglot.Source
-
Gets whether this source has been marked as internal, meaning that it has been provided by the infrastructure, language implementation, or system library.
- isInternalError() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Returns
true
if this exception indicates an internal error. - isInternalError() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns
true
if this exception was caused by an internal implementation error. - isInterrupted() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns
true
if the current application thread was interrupted by anInterruptedException
, or by callingContext.interrupt(Duration)
from the host. - isIntrinsicCandidate(TruffleString.CodeRange) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointSet
-
Returns
true
ifTruffleString.ByteIndexOfCodePointSetNode
may implement the search for this particular code point set in strings with the given code range by dispatching to a compiler intrinsic. - isIntrospectable(Node) - Static method in class com.oracle.truffle.api.dsl.Introspection
-
Returns
true
if the given node is introspectable. - isIOAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.since 23.0; replaced by
TruffleLanguage.Env.isFileIOAllowed()
. - isIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if this value represents an iterator. - isIterator() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if the value represents an iterator object. - isIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents an iterator. - isLanguageContextInitialized() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Test if the language context of the source of the event is initialized.
- isLanguageContextInitialized() - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Test if language context of the source of the event is initialized.
- isLeaf() - Method in class com.oracle.truffle.api.object.Shape
-
Check whether this shape is a leaf in the transition graph, i.e.
- isLoggable(Level) - Method in class com.oracle.truffle.api.TruffleLogger
-
Checks if a message of the given level would be logged by this logger.
- isLong(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type long.
- isManaged() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
true
if this string is not backed by a native pointer. - isMemberExisting(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns true if the member is existing.
- isMemberInsertable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if a given member is not existing andwritable
. - isMemberInternal(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns true if a member is internal.
- isMemberInvocable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if a given member is invocable. - isMemberModifiable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if a given member is existing andwritable
. - isMemberReadable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if a given member isreadable
. - isMemberRemovable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if a given member is existing and removable. - isMemberWritable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns true if the member is
modifiable
orinsertable
. - isMetaInstance(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if the given instance is an instance of this value, elsefalse
. - isMetaInstance(Object) - Method in class org.graalvm.polyglot.Value
-
Returns
true
if the given instance is an instance of this value, elsefalse
. - isMetaInstance(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the given instance is of the provided receiver metaobject, elsefalse
. - isMetaObject() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if the value represents a metaobject. - isMetaObject() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if the value represents a metaobject. - isMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver value represents a metaobject. - isMimeTypeSupported(String) - Method in class com.oracle.truffle.api.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 class com.oracle.truffle.api.debug.Breakpoint
-
Test whether this breakpoint can be modified.
- isMutable() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
true
if this string is mutable, i.e. - isMutable() - Method in class org.graalvm.word.LocationIdentity
-
The inversion of
LocationIdentity.isImmutable()
. - isNative() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
true
if this string is backed by a native pointer. - isNativeAccessAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if access to native code is generally allowed. - isNativePointer() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this value is a native pointer. - isNonNull() - Method in interface org.graalvm.word.PointerBase
-
Returns true if this pointer is not the
null pointer
. - isNull() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Test if the value represents 'null'.
- isNull() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this value is anull
like. - isNull() - Method in interface org.graalvm.word.PointerBase
-
Returns true if this pointer is the
null pointer
. - isNull(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents anull
like value, elsefalse
. - isNumber() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if and only if this value represents a number. - isNumber() - Method in class org.graalvm.polyglot.Value
- isNumber(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents anumber
value, elsefalse
. - ISO_2022_JP - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-2022-JP.
- ISO_2022_JP_2 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-2022-JP-2.
- ISO_2022_JP_KDDI - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-2022-JP-KDDI.
- ISO_8859_1 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-1, also known as LATIN-1, which is equivalent to US-ASCII + the LATIN-1 Supplement Unicode block.
- ISO_8859_10 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-10.
- ISO_8859_11 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-11.
- ISO_8859_13 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-13.
- ISO_8859_14 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-14.
- ISO_8859_15 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-15.
- ISO_8859_16 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-16.
- ISO_8859_2 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-2.
- ISO_8859_3 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-3.
- ISO_8859_4 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-4.
- ISO_8859_5 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-5.
- ISO_8859_6 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-6.
- ISO_8859_7 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-7.
- ISO_8859_8 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-8.
- ISO_8859_9 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-9.
- isObject(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type object.
- Isolate - Interface in org.graalvm.nativeimage
-
Pointer to the runtime data structure for an isolate.
- ISOLATED - Enum constant in enum class org.graalvm.polyglot.SandboxPolicy
-
Policy intended for trusted applications, but which might have security vulnerabilities and optionally that can be mitigated using this policy.
- ISOLATED - Static variable in class org.graalvm.polyglot.HostAccess
-
Predefined host access policy used by Context with an
SandboxPolicy.ISOLATED
sandbox policy when the host access policy is not explicitly specified by the embedder. - IsolateException(String) - Constructor for exception class org.graalvm.nativeimage.Isolates.IsolateException
-
Constructs a new exception with the specified detail message.
- Isolates - Class in org.graalvm.nativeimage
-
Support for the creation, access to, and tear-down of isolates.
- Isolates.CreateIsolateParameters - Class in org.graalvm.nativeimage
-
Parameters for the creation of an isolate.
- Isolates.CreateIsolateParameters.Builder - Class in org.graalvm.nativeimage
-
Builder for a
Isolates.CreateIsolateParameters
instance. - Isolates.IsolateException - Exception Class in org.graalvm.nativeimage
-
An exception thrown in the context of managing isolates.
- Isolates.ProtectionDomain - Interface in org.graalvm.nativeimage
-
Identifies a protection domain for an isolate.
- IsolateThread - Interface in org.graalvm.nativeimage
-
Pointer to the runtime data structure for a thread.
- Isolation - Search tag in class org.graalvm.polyglot.Context
- Section
- isOneShot() - Method in class com.oracle.truffle.api.debug.Breakpoint
- isOptionMap() - Method in class org.graalvm.options.OptionDescriptor
-
Returns
true
if this option is an option map. - isPartialEvaluationConstant(Object) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Returns a boolean indicating whether or not a given value is seen as constant during the initial partial evaluation phase.
- isPointer(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver value represents a native pointer. - isPolyglotBindingsAccessAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if polyglot bindings access is allowed, elsefalse
. - isPolyglotEvalAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.in 24.1 use
isPolyglotEvalAllowed(null) instead
. Note that language implementations should now check whether polyglot eval is allowed also for individual languages, as access could be denied only for an individual language. - isPolyglotEvalAllowed(LanguageInfo) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if the current language is allowed to evaluate guest application provided code of the given language, elsefalse
. - isPreInitialization() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if thisContext
is being pre-initialized. - isPrimitive() - Method in class com.oracle.truffle.api.object.Location
-
Returns
true
if this location can only store primitive types and cannot contain any object references. - isProfilingEnabled() - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Whether or not the
TruffleRuntime
implementation can or wants to use gathered profiling information Truffle compilation. - isProxyObject() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this value represents aProxy
. - isReachable(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
Returns true if the static analysis determined that the provided class is reachable at run time.
- isReachable(Executable) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
Returns true if the static analysis determined that the provided method is reachable at run time.
- isReachable(Field) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
Returns true if the static analysis determined that the provided field is reachable at run time.
- isReadable() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if this value can be read elsefalse
. - isReadable() - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is readable.
- isRedirectErrorStream() - Method in class org.graalvm.polyglot.io.ProcessHandler.ProcessCommand
-
Return whether the standard error output should be merged into standard output.
- isRegularFile(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is a regular file.
- isRelease() - Method in class org.graalvm.home.Version
-
Returns
true
if this is a supported release build of GraalVM elsefalse
. - isReplaceAllowed() - Method in class com.oracle.truffle.api.nodes.NodeClass
-
Returns
true
ifDenyReplace
was not set for this node. - isReplacementSafe(Node, Node, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Determines whether a proposed child replacement would be safe: structurally and type.
- isResolved() - Method in class com.oracle.truffle.api.debug.Breakpoint
- isResourceExhausted() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns
true
if this exception indicates that a resource limit was exceeded, elsefalse
. - isRoot() - Method in class org.graalvm.polyglot.management.ExecutionEvent
-
Returns
true
if the source location is marked as a root of a function, method or closure, elsefalse
. - isSafelyReplaceableBy(Node) - Method in class com.oracle.truffle.api.nodes.Node
-
Checks if this node can be replaced by another node: tree structure & type.
- isSameFile(TruffleFile, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this and the given
TruffleFile
refer to the same physical file. - isSameFile(Path, Path, LinkOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Tests if the given paths refer to the same physical file.
- isSameFrame(Frame, Frame) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Tests if two frames are the same.
- isSameFrame(RootNode, Frame, Frame) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Tests if two frames are the same.
- isScope(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the value represents a scope object, elsefalse
. - isShared() - Method in class com.oracle.truffle.api.object.Shape
-
Returns
true
if this shape is marked as shared. - isShared(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Checks whether this object is marked as shared.
- isSharedLibrary() - Static method in class org.graalvm.nativeimage.ImageInfo
-
Returns true if the image is build as a shared library.
- isSingle() - Method in class org.graalvm.word.LocationIdentity
-
Returns true if this location identity is not
LocationIdentity.any()
. - isSnapshot() - Method in class org.graalvm.home.Version
-
Returns
true
if this is an unsupported snapshot build of GraalVM elsefalse
. - isSocketIOAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
true
if access to network sockets is allowed, elsefalse
. - isStatement() - Method in class org.graalvm.polyglot.management.ExecutionEvent
-
Returns
true
if the source location is marked as a statement, elsefalse
. - isStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Checks whether the given indexed slot is static.
- isStep() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns true if a step was the reason for the suspension.
- isStricterOrEqual(SandboxPolicy) - Method in enum class org.graalvm.polyglot.SandboxPolicy
-
Tests whether this
SandboxPolicy
is stricter or equal toother
. - isStricterThan(SandboxPolicy) - Method in enum class org.graalvm.polyglot.SandboxPolicy
-
Tests whether this
SandboxPolicy
is stricter thanother
. - isString() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if and only if this value represents a string. - isString() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this value represents a string. - isString(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if the receiver represents astring
value, elsefalse
. - isSubsetOf(TruffleString.CodeRange) - Method in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
Returns
true
if this set of potential codepoints is equal to or contained byother
. - isSupersetOf(TruffleString.CodeRange) - Method in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
Returns
true
if this set of potential codepoints is equal to or containsother
. - isSymbolicLink() - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is a symbolic link.
- isSyntaxError() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Returns
true
if this exception indicates a parser or syntax error. - isThreadAccessAllowed(Thread, boolean) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Returns
true
if code of this language is allowed to be executed on this thread. - isTime() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if this value represents a time, elsefalse
. - isTime() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this object represents a time, elsefalse
. - isTime(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if this object represents a time, elsefalse
. - isTimeZone() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if this object represents a timezone, elsefalse
. - isTimeZone() - Method in class org.graalvm.polyglot.Value
-
Returns
true
if this object represents a timezone, elsefalse
. - isTimeZone(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
true
if this object represents a timezone, elsefalse
. - isTracingEnabled() - Method in interface com.oracle.truffle.api.dsl.ExecuteTracingSupport
-
Invoked by the generated code to determine whether tracing is enabled.
- isTrivial() - Method in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.
- isTrivial() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Is this root node to be considered trivial by the runtime.
- isUnwind() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns true if an unwind was the reason for the suspension.
- isValid() - Method in interface com.oracle.truffle.api.Assumption
-
Checks whether the assumption is still valid.
- isValid() - Method in class com.oracle.truffle.api.object.Shape
-
Check whether this shape is valid.
- isValidAssumption(Assumption) - Static method in interface com.oracle.truffle.api.Assumption
-
Checks whether an assumption is not
null
and valid. - isValidAssumption(Assumption[]) - Static method in interface com.oracle.truffle.api.Assumption
-
Checks whether all assumptions in an array are not
null
and valid. - isValidProtocolValue(Object) - Static method in class com.oracle.truffle.api.interop.InteropLibrary
-
Utility to check whether a value is a valid interop protocol value.
- isValidUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.IsValidNode
. - isValidValue(Object) - Static method in class com.oracle.truffle.api.interop.InteropLibrary
-
Utility to check whether a value is a valid interop value.
- isValue() - Method in class com.oracle.truffle.api.object.Location
-
Returns
true
if this is a value location. - isVirtualFrame() - Method in interface com.oracle.truffle.api.frame.FrameInstance
- isVisible(C, Object) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Decides whether the result of evaluating an interactive source should be printed to stdout.
- isWritable() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
true
if this value can be written to, elsefalse
. - isWritable() - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is writable.
- ITERABLE_TO_JAVA_ITERABLE - Enum constant in enum class org.graalvm.polyglot.HostAccess.MutableTargetMapping
-
Enables default mapping of guest object iterables to host object
Iterable
. - iterateFrames(FrameInstanceVisitor<T>) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Accesses the current stack, i.e., the contents of the
Frame
s and the associatedCallTarget
s. - iterateFrames(FrameInstanceVisitor<T>, int) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Accesses the current stack, i.e., the contents of the
Frame
s and the associatedCallTarget
s. - iterator() - Method in interface org.graalvm.options.OptionDescriptors
- ITERATOR_TO_JAVA_ITERATOR - Enum constant in enum class org.graalvm.polyglot.HostAccess.MutableTargetMapping
-
Enables default mapping of guest object iterators to host object
Iterator
.
J
- JSONHelper - Class in com.oracle.truffle.api.utilities
-
Deprecated.This class is deprecated and will be removed in a future version.
- JSONHelper.JSONArrayBuilder - Class in com.oracle.truffle.api.utilities
-
Deprecated.
- JSONHelper.JSONObjectBuilder - Class in com.oracle.truffle.api.utilities
-
Deprecated.
- JSONHelper.JSONStringBuilder - Class in com.oracle.truffle.api.utilities
-
Deprecated.
K
- KeepOriginal - Annotation Interface in com.oracle.svm.core.annotate
-
If a class annotated with
TargetClass
is also annotated withSubstitute
, all non-substituted methods in that class are by default treated asdeleted
. - keySet(EconomicMap<K, V>) - Static method in class org.graalvm.collections.EconomicMapUtil
-
Returns an
EconomicSet
of the keys contained in a map. - kind() - Element in annotation interface com.oracle.svm.core.annotate.RecomputeFieldValue
-
The kind of the recomputation performed.
- kind() - Element in annotation interface com.oracle.truffle.api.nodes.ExplodeLoop
-
The loop explosion kind.
- KOI8_R - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
KOI8-R.
- KOI8_U - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
KOI8-U.
L
- language() - Element in annotation interface com.oracle.truffle.api.nodes.NodeInfo
-
A description, providing a user-readable explanation of the source language of the annotated
Node
. - Language - Class in org.graalvm.polyglot
-
A handle for a Graal language installed in an
engine
. - Language Configuration - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- languageContextCreated(DebugContext, LanguageInfo) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about creation of a language-specific context in an existing polyglot context.
- languageContextDisposed(DebugContext, LanguageInfo) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about disposal of a language-specific context in an existing polyglot context.
- languageContextFinalized(DebugContext, LanguageInfo) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about finalization of a language-specific context in an existing polyglot context.
- languageContextInitialized(DebugContext, LanguageInfo) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about initialization of a language-specific context in an existing polyglot context.
- LanguageInfo - Class in com.oracle.truffle.api.nodes
-
Represents public information about a language.
- languageIs(String...) - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
-
Add a filter for all sources that specify one of the given
language ID
. - LanguageReference() - Constructor for class com.oracle.truffle.api.TruffleLanguage.LanguageReference
-
Constructors for subclasses.
- languages(LanguageInfo...) - Method in class com.oracle.truffle.api.instrumentation.AllocationEventFilter.Builder
-
Specify languages that are instrumented for allocations of guest language values.
- LAST_ACCESS_TIME - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's last access time.
- LAST_MODIFIED_TIME - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's last modified time.
- lastByteIndexOfCodePointUncached(int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.LastByteIndexOfCodePointNode
. - lastByteIndexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.LastByteIndexOfStringNode
. - lastByteIndexOfStringUncached(TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.LastByteIndexOfStringNode
. - lastIndexOfCodePointUncached(int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.LastIndexOfCodePointNode
. - lastIndexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.LastIndexOfStringNode
. - LATIN_1 - Enum constant in enum class com.oracle.truffle.api.strings.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<? extends DynamicObject>) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Sets custom object layout class (default:
DynamicObject
base class). - Layout - Class in com.oracle.truffle.api.object
-
Deprecated.since 21.1. Use
Shape.Builder
instead. - Layout() - Constructor for class com.oracle.truffle.api.object.Layout
-
Deprecated.Constructor for subclasses.
- Layout.Access - Class in com.oracle.truffle.api.object
-
Deprecated.Internal package access helper.
- LayoutFactory - Interface in com.oracle.truffle.api.object
-
Deprecated.Implementation detail.
- leave() - Method in class org.graalvm.polyglot.Context
-
Explicitly leaves the context on the current thread.
- leave(SpecializationStatistics) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Leaves the currently
entered
entered statistics. - leave(Node, Object) - Method in class com.oracle.truffle.api.TruffleContext
-
Leaves this context and sets the previous context as the new current context.
- leaveAndEnter(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.InterruptibleFunction<T, R>, T) - Method in class com.oracle.truffle.api.TruffleContext
-
Leaves this context, runs the passed interruptible function and reenters the context.
- leaveAndEnter(Node, Supplier<T>) - Method in class com.oracle.truffle.api.TruffleContext
-
Deprecated.
- length() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the "logical size" of this
FinalBitSet
: the index of the highest set bit in theFinalBitSet
plus one. - length() - Method in interface org.graalvm.polyglot.io.ByteSequence
-
Returns the length of this byte sequence.
- lessOrEqual(int) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- lessOrEqual(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- lessThan(int) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- lessThan(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- lexicographicalComparator(Comparator<K>, Comparator<V>) - Static method in class org.graalvm.collections.EconomicMapUtil
-
Creates a lexicographical map comparator using the provided key and value comparators.
- library() - Element in annotation interface com.oracle.truffle.api.library.ExportMessage
-
Returns the library to export by this method or class.
- Library - Class in com.oracle.truffle.api.library
-
Base class for all Truffle library specifications.
- Library() - Constructor for class com.oracle.truffle.api.library.Library
-
Default constructor for sub-classes.
- LibraryExport<T> - Class in com.oracle.truffle.api.library
-
Base class for generated export classes.
- LibraryExport(Class<? extends T>, Class<?>, boolean) - Constructor for class com.oracle.truffle.api.library.LibraryExport
-
Constructor for generated code.
- LibraryExport(Class<? extends T>, Class<?>, boolean, boolean, int) - Constructor for class com.oracle.truffle.api.library.LibraryExport
-
Constructor for generated code.
- LibraryExport.DelegateExport - Interface in com.oracle.truffle.api.library
-
Internal interface for generated code only.
- LibraryFactory<T> - Class in com.oracle.truffle.api.library
-
Library factories allow to create instances of libraries used to call library messages.
- LibraryFactory(Class<T>, List<Message>) - Constructor for class com.oracle.truffle.api.library.LibraryFactory
-
Constructor for generated subclasses.
- Lifecycle - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- LIKELY_PROBABILITY - Static variable in class com.oracle.truffle.api.CompilerDirectives
- limit() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
Declares the expression that limits the number of specialization instantiations.
- limit() - Element in annotation interface com.oracle.truffle.api.library.CachedLibrary
-
Sets the limit expression when using dispatched libraries.
- limit() - Element in annotation interface com.oracle.truffle.api.library.ExportMessage
-
Specifies the limit of an exported message.
- lineEndsIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where the line ends in one of the given index ranges.
- lineIn(int, int) - Method in class com.oracle.truffle.api.instrumentation.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 class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where lines are contained in one of the given index ranges.
- lineIs(int) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies the breakpoint's line number.
- lineIs(int) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all sources sections where the line is exactly the given line.
- lineNotIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where lines are not contained in one of the given index ranges.
- lineStartsIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where the line starts in one of the given index ranges.
- LINUX - Enum constant in enum class com.oracle.truffle.api.InternalResource.OS
-
The Linux operating system.
- LINUX_AARCH64() - Constructor for class org.graalvm.nativeimage.Platform.LINUX_AARCH64
-
Instantiates a marker instance of this platform.
- LINUX_AMD64() - Constructor for class org.graalvm.nativeimage.Platform.LINUX_AMD64
-
Instantiates a marker instance of this platform.
- LINUX_RISCV64() - Constructor for class org.graalvm.nativeimage.Platform.LINUX_RISCV64
-
Instantiates a marker instance of this platform.
- list() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns a collection of
TruffleFile
s in the directory denoted by thisTruffleFile
. - listDescriptors() - Static method in class org.graalvm.nativeimage.RuntimeOptions
-
Lists all runtime option descriptors available.
- littleEndian() - Static method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Enables accessing multibyte Java primitives from byte arrays in little-endian order.
- LoadSourceEvent - Class in com.oracle.truffle.api.instrumentation
-
Represents a source load event from a
LoadSourceListener
. - LoadSourceListener - Interface 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. - LoadSourceSectionEvent - Class in com.oracle.truffle.api.instrumentation
-
Represents a source section load event from a
LoadSourceSectionListener
. - LoadSourceSectionListener - Interface 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. - locals - Variable in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Provider for creating context local and context thread local references.
- locals - Variable in class com.oracle.truffle.api.TruffleLanguage
-
Provider for creating context local and context thread local references.
- Location - Class in com.oracle.truffle.api.object
-
Property location.
- Location() - Constructor for class com.oracle.truffle.api.object.Location
-
Constructor for subclasses.
- LocationIdentity - Class in org.graalvm.word
-
Marker interface for location identities.
- LocationIdentity() - Constructor for class org.graalvm.word.LocationIdentity
-
Creates a new location identity.
- LockFreePool<T> - Class in org.graalvm.collections
-
Concurrent lock-free pool data structure.
- LockFreePool() - Constructor for class org.graalvm.collections.LockFreePool
- LockFreePrefixTree - Class in org.graalvm.collections
-
Thread-safe and lock-free prefix-tree implementation in which keys are sequences of 64-bit values, and the values are 64-bit values.
- LockFreePrefixTree(LockFreePrefixTree.Allocator) - Constructor for class org.graalvm.collections.LockFreePrefixTree
-
Create new
LockFreePrefixTree
with root being a Node with key 0. - LockFreePrefixTree.Allocator - Class in org.graalvm.collections
-
Policy for allocating objects of the lock-free prefix tree.
- LockFreePrefixTree.HeapAllocator - Class in org.graalvm.collections
-
Allocator that allocates objects directly on the managed heap.
- LockFreePrefixTree.Node - Class in org.graalvm.collections
- LockFreePrefixTree.ObjectPoolingAllocator - Class in org.graalvm.collections
-
Allocator that internally maintains several pools of preallocated objects, and allocates objects from those pools.
- log(Level, String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message.
- log(Level, String, Object) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with single parameter.
- log(Level, String, Object[]) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with multiple parameters.
- log(Level, String, Throwable) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with an exception.
- log(Level, Throwable, Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with an exception.
- log(Level, Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message.
- log(CCharPointer, UnsignedWord) - Method in interface org.graalvm.nativeimage.LogHandler
-
Write raw bytes to the log.
- logHandler(OutputStream) - Method in class org.graalvm.polyglot.Context.Builder
-
Installs a new logging
Handler
using givenOutputStream
. - logHandler(OutputStream) - Method in class org.graalvm.polyglot.Engine.Builder
-
Installs a new logging
Handler
using givenOutputStream
. - logHandler(Handler) - Method in class org.graalvm.polyglot.Context.Builder
-
Installs a new logging
Handler
. - logHandler(Handler) - Method in class org.graalvm.polyglot.Engine.Builder
-
Installs a new logging
Handler
. - LogHandler - Interface in org.graalvm.nativeimage
-
Low-level handler for log messages of native images.
- logicCompareAndSwapInt(int, int, int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - logicCompareAndSwapInt(WordBase, int, int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - logicCompareAndSwapLong(int, long, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - logicCompareAndSwapLong(WordBase, long, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - logicCompareAndSwapObject(int, Object, Object, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - logicCompareAndSwapObject(WordBase, Object, Object, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - logicCompareAndSwapWord(int, WordBase, WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - logicCompareAndSwapWord(WordBase, WordBase, WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
In a single atomic step, compares the memory at address
(this + offset)
to the expected value, and if equal, exchanges it for the new value. - logp(Level, String, String, String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message, specifying source class and source method.
- logp(Level, String, String, String, Object) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with single parameter, specifying source class and source method.
- logp(Level, String, String, String, Object[]) - Method in class com.oracle.truffle.api.TruffleLogger
-
Log a message with multiple parameters, specifying source class and source method.
- logp(Level, String, String, String, Throwable) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with an exception, specifying source class and source method.
- logp(Level, String, String, Throwable, Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with an exception, specifying source class and source method.
- logp(Level, String, String, Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message, specifying source class and source method.
- Long - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- LongLocation - Interface in com.oracle.truffle.api.object
-
Deprecated.
- LongValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
long
runtime values. - lookup(InstrumentInfo, Class<S>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns an additional service provided by this instrument, specified by type.
- lookup(InstrumentInfo, Class<S>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns an additional service provided by this instrument, specified by type.
- lookup(LanguageInfo, Class<S>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Queries a
language implementation
for a special service. - lookup(LanguageInfo, Class<S>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns an additional service provided by the given language, specified by type.
- lookup(Class<T>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Looks additional service up.
- lookup(Class<T>) - Static method in class org.graalvm.nativeimage.ImageSingletons
-
Lookup a singleton in the registry.
- lookup(Class<T>) - Method in class org.graalvm.polyglot.Instrument
-
Looks up an additional internal service that is provided by this instrument using a Java type.
- lookupEnumConstants(Class<T>) - Static method in class com.oracle.truffle.api.dsl.DSLSupport
-
Looks up shared enum constants for DSL generated code.
- lookupExecutionEventNode(EventBinding<? extends ExecutionEventNodeFactory>) - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Returns the execution event node that was inserted at this location given an event binding.
- lookupExecutionEventNode(Node, EventBinding<?>) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Returns the execution event node that was inserted at the node's location given an event binding, if any.
- lookupExecutionEventNodes(Collection<EventBinding<? extends ExecutionEventNodeFactory>>) - Method in class com.oracle.truffle.api.instrumentation.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 class com.oracle.truffle.api.TruffleLanguage.Env
-
Looks up a Java class in the top-most scope the host environment.
- LoopConditionProfile - Class in com.oracle.truffle.api.profiles
-
LoopConditionProfiles are designed to profile the outcome of loop conditions.
- LoopNode - Class in com.oracle.truffle.api.nodes
-
A loop node calls
repeating nodes
as long as it returnstrue
. - LoopNode() - Constructor for class com.oracle.truffle.api.nodes.LoopNode
-
Constructor for subclasses.
- LOW - Enum constant in enum class org.graalvm.polyglot.HostAccess.TargetMappingPrecedence
-
Defines low precedence and conversion order for a target type mapping.
- LOWEST - Enum constant in enum class org.graalvm.polyglot.HostAccess.TargetMappingPrecedence
-
Defines lowest precedence and conversion order for a target type mapping.
M
- MacCentEuro - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacCentEuro.
- MacCroatian - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacCroatian.
- MacCyrillic - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacCyrillic.
- MacGreek - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacGreek.
- MacIceland - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacIceland.
- MacJapanese - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacJapanese.
- MACOS_AARCH64() - Constructor for class org.graalvm.nativeimage.Platform.MACOS_AARCH64
-
Instantiates a marker instance of this platform.
- MACOS_AMD64() - Constructor for class org.graalvm.nativeimage.Platform.MACOS_AMD64
-
Instantiates a marker instance of this platform.
- MacRoman - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacRoman.
- MacRomania - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacRomania.
- MacThai - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacThai.
- MacTurkish - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacTurkish.
- MacUkraine - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacUkraine.
- makeIterator(Node) - Method in class com.oracle.truffle.api.nodes.NodeClass
- makePropertyGetter(Object) - Method in class com.oracle.truffle.api.object.Shape
-
Makes a property getter for this shape and the given property key, if it exists.
- makeSharedShape() - Method in class com.oracle.truffle.api.object.Shape
-
Make a shared variant of this shape, to allow safe usage of this object between threads.
- malloc(int) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
-
Allocates
size
bytes of unmanaged memory. - malloc(UnsignedWord) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
-
Allocates
size
bytes of unmanaged memory. - Manual - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
Marker value that the field is intercepted by some manual logic.
- MapCursor<K,
V> - Interface in org.graalvm.collections -
Cursor to iterate over a mutable map.
- mapOf(Class<V>) - Static method in class org.graalvm.options.OptionKey
-
Constructs a new option key to group/accumulate options with common prefixes.
- Mapping to Java methods and fields - Search tag in org.graalvm.polyglot.Context.asValue(Object)
- Section
- markShared(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Marks this object as shared.
- materialize() - Method in interface com.oracle.truffle.api.frame.Frame
-
Materializes this frame, which allows it to be stored in a field or cast to
Object
. - materialize(Object) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Ensures that the given object is not virtual, i.e., not removed by Escape Analysis at the point of this call.
- MATERIALIZE - Enum constant in enum class com.oracle.truffle.api.frame.FrameInstance.FrameAccess
-
This mode allows to read a materialized version of the frame and provides read and write access to its local variables.
- MaterializedFrame - Interface in com.oracle.truffle.api.frame
-
Represents a materialized frame containing values of local variables of the guest language.
- materializeInstrumentableNodes(Set<Class<? extends Tag>>) - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Removes optimizations performed in this AST node to restore the syntactic AST structure.
- materializeUncached(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.MaterializeNode
. - MathUtils - Class 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. - maybeInsert(Node, T) - Static method in class com.oracle.truffle.api.dsl.DSLSupport
-
Inserts a node if a
NodeInterface
dynamically implementsNode
. - maybeInsert(Node, T[]) - Static method in class com.oracle.truffle.api.dsl.DSLSupport
-
Inserts a node array if a
NodeInterface
[] dynamically implementsNode
[]. - MEGAMORPHIC - Enum constant in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.This node represents a megamorphic version of an operation.
- MEMBERS_TO_JAVA_INTERFACE - Enum constant in enum class org.graalvm.polyglot.HostAccess.MutableTargetMapping
-
Enables default mapping of guest objects with members to a Java interface.
- MEMBERS_TO_JAVA_MAP - Enum constant in enum class org.graalvm.polyglot.HostAccess.MutableTargetMapping
-
Enables default mapping of guest objects with members to
Map
. - MERGE_EXPLODE - Enum constant in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
like
ExplodeLoop.LoopExplosionKind.FULL_EXPLODE
, but copies of the loop body that have the exact same state (all local variables have the same value) are merged. - Message - Class in com.oracle.truffle.api.library
-
Represents a description of library message.
- Message(Class<? extends Library>, String, int, boolean, Class<?>, Class<?>...) - Constructor for class com.oracle.truffle.api.library.Message
- Message(Class<? extends Library>, String, int, Class<?>, Class<?>...) - Constructor for class com.oracle.truffle.api.library.Message
- MessageEndpoint - Interface in org.graalvm.polyglot.io
-
An endpoint representing one side of
message transport
. - MessageTransport - Interface in org.graalvm.polyglot.io
-
Allows to take over transport of message communication initiated by an instrument.
- MessageTransport.VetoException - Exception Class in org.graalvm.polyglot.io
-
Thrown when a transport connection is vetoed.
- Method Exports - Search tag in annotation interface com.oracle.truffle.api.library.ExportLibrary
- Section
- methodName() - Element in annotation interface com.oracle.truffle.api.dsl.GeneratedBy
- methodScoping(boolean) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Sets the default scoping of callback function parameters.
- mimeType(String) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
- mimeType(String) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
- mimeType(String) - Method in class org.graalvm.polyglot.Source.Builder
- mimeTypeIs(String...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections that declare one of the given mime-types.
- MissingJNIRegistrationError - Exception Class in org.graalvm.nativeimage
-
This exception is thrown when a JNI query tries to access an element that was not registered for JNI access in the program.
- MissingJNIRegistrationError(String, Class<?>, Class<?>, String, String) - Constructor for exception class org.graalvm.nativeimage.MissingJNIRegistrationError
- MissingReflectionRegistrationError - Exception Class in org.graalvm.nativeimage
-
This exception is thrown when a reflective query (such as
Class.getMethod(String, Class[])
) tries to access an element that was not registered for reflection in the program. - MissingReflectionRegistrationError(String, Class<?>, Class<?>, String, Class<?>[]) - Constructor for exception class org.graalvm.nativeimage.MissingReflectionRegistrationError
- MONOMORPHIC - Enum constant in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.This node represents a specialized monomorphic version of an operation.
- move(TruffleFile, CopyOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Moves or renames the file.
- move(Path, Path, CopyOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Moves (renames) source file to target file.
- Multiple sessions - Search tag in class com.oracle.truffle.api.debug.DebuggerSession
- Section
- multiply(int) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this * val)
. - multiply(int) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this * val)
. - multiply(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this * val)
. - multiply(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this * val)
. - multiplyHigh(int, int) - Static method in class com.oracle.truffle.api.ExactMath
- multiplyHigh(long, long) - Static method in class com.oracle.truffle.api.ExactMath
- multiplyHighUnsigned(int, int) - Static method in class com.oracle.truffle.api.ExactMath
- multiplyHighUnsigned(long, long) - Static method in class com.oracle.truffle.api.ExactMath
- Multi-threading - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- MutableTruffleString - Class in com.oracle.truffle.api.strings
-
Represents a mutable variant of a
TruffleString
. - MutableTruffleString.AsManagedNode - Class in com.oracle.truffle.api.strings
-
Node to get the given
AbstractTruffleString
as a managedMutableTruffleString
, meaning that the resulting string's backing memory is not a native pointer. - MutableTruffleString.AsMutableTruffleStringNode - Class in com.oracle.truffle.api.strings
-
Node to get a
AbstractTruffleString
as aMutableTruffleString
. - MutableTruffleString.ConcatNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
MutableTruffleString
by concatenating two strings. - MutableTruffleString.ForceEncodingNode - Class in com.oracle.truffle.api.strings
-
Node to forcibly assign any encoding to a string.
- MutableTruffleString.FromByteArrayNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
MutableTruffleString
from a byte array. - MutableTruffleString.FromNativePointerNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
MutableTruffleString
from an interop object representing a native pointer. - MutableTruffleString.SubstringByteIndexNode - Class in com.oracle.truffle.api.strings
-
MutableTruffleString.SubstringNode
, but with byte indices. - MutableTruffleString.SubstringNode - Class in com.oracle.truffle.api.strings
-
Node to create a new mutable substring of a string.
- MutableTruffleString.SwitchEncodingNode - Class in com.oracle.truffle.api.strings
-
Node to get a given string in a specific encoding.
- MutableTruffleString.WriteByteNode - Class in com.oracle.truffle.api.strings
-
Node to write a byte into a mutable string.
N
- Naive and aware dates and times - Search tag in class com.oracle.truffle.api.interop.InteropLibrary
- Section
- Naive and aware dates and times - Search tag in class org.graalvm.polyglot.Value
- Section
- name() - Element in annotation interface com.oracle.svm.core.annotate.RecomputeFieldValue
-
The name parameter for the recomputation.
- name() - Element in annotation interface com.oracle.svm.core.annotate.TargetElement
-
The name of the field or method in the original class.
- name() - Element in annotation interface com.oracle.truffle.api.dsl.NodeField
- name() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
The name of the instrument in an arbitrary format for humans.
- name() - Element in annotation interface com.oracle.truffle.api.library.ExportMessage
-
Returns the message simple name to export.
- name() - Element in annotation interface com.oracle.truffle.api.Option
-
Returns a custom name for the option.
- name() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Unique name of your language.
- name() - Method in interface org.graalvm.nativeimage.c.CHeader.Header
-
Name of the header file.
- name() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
The symbol name to use for this entry point.
- name() - Element in annotation interface org.graalvm.nativeimage.c.type.CTypedef
-
Name to be used for this C type.
- name() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
-
Returns the name of the option that this descriptor represents.
- name(String) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Specifies a name to the
to-be-built
Source
. - name(String) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Specifies a name to the
to-be-built
Source
. - name(String) - Method in class org.graalvm.polyglot.Source.Builder
-
Specifies a name to the
to-be-built
Source
. - NAME - Static variable in class com.oracle.truffle.api.instrumentation.StandardTags.ReadVariableTag
-
Property of the node object that contains name of the variable.
- NAME - Static variable in class com.oracle.truffle.api.instrumentation.StandardTags.WriteVariableTag
-
Property of the node object that contains name of the variable.
- nameOfCType() - Element in annotation interface org.graalvm.nativeimage.c.struct.CPointerTo
-
The value type, as C type name.
- NativeAllocator - Interface in com.oracle.truffle.api.strings
-
An allocation function for native buffers.
- NATURAL - Enum constant in enum class com.oracle.truffle.api.TruffleLanguage.ExitMode
-
Natural exit that occurs during normal context close.
- NearestSectionFilter - Class 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.
- NearestSectionFilter.Builder - Class in com.oracle.truffle.api.instrumentation
-
Builder to configure
NearestSectionFilter
before creating its instance. - needsAllEncodings() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Deprecated.To enable all
TruffleString
encodings, it is sufficient to add theorg.graalvm.shadowed.jcodings
module to the language's module-inforequires
and ensure it is on the module path when languages are loaded. If the module can be found, and at least one languages requires it, all encodings are automatically enabled. When languages are loaded from the class path (i.e. as an unnamed module), having jcodings on the class path is enough to enable it. - NEVER_VALID - Static variable in interface com.oracle.truffle.api.Assumption
-
An assumption that is never valid.
- neverDefault() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Returns
true
if the cache initializer never returns the default value of its parameter type at runtime. - NeverDefault - Annotation 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. - neverPartOfCompilation() - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Assertion that this code position should never be reached during compilation.
- neverPartOfCompilation(String) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Assertion that this code position should never be reached during compilation.
- NEW_DOMAIN - Static variable in interface org.graalvm.nativeimage.Isolates.ProtectionDomain
-
Creates a new protection domain if passed to the
Isolates.CreateIsolateParameters.Builder
. - newBufferedReader() - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for reading returning a
BufferedReader
to access the file content. - newBufferedReader(Charset) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for reading returning a
BufferedReader
to access the file content. - newBufferedWriter(Charset, OpenOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for writing returning an
BufferedWriter
. - newBufferedWriter(OpenOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for writing returning an
BufferedWriter
. - newBuilder() - Static method in class com.oracle.truffle.api.debug.StepConfig
-
Create a new step configuration builder.
- newBuilder() - Static method in class com.oracle.truffle.api.debug.SuspensionFilter
-
Returns a builder for creating a new suspension filter.
- newBuilder() - Static method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Builds a new frame descriptor with index-based frame slots.
- newBuilder() - Static method in class com.oracle.truffle.api.instrumentation.AllocationEventFilter
-
Creates a new
AllocationEventFilter
instance through aAllocationEventFilter.Builder
. - newBuilder() - Static method in class com.oracle.truffle.api.instrumentation.SourceFilter
-
Creates a new
SourceFilter
expression using abuilder
pattern. - newBuilder() - Static method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter
-
Creates a new
SourceSectionFilter
expression using abuilder
pattern. - newBuilder() - Static method in class com.oracle.truffle.api.object.Shape
-
Creates a new initial shape builder.
- newBuilder() - Static method in class org.graalvm.polyglot.Engine
-
Creates a new engine builder that allows to configure an engine instance.
- newBuilder() - Static method in class org.graalvm.polyglot.HostAccess
-
Creates a new builder that allows to create a custom host access policy.
- newBuilder() - Static method in class org.graalvm.polyglot.io.IOAccess
-
Creates a new builder that allows to create a custom IO access configuration.
- newBuilder() - Static method in class org.graalvm.polyglot.management.ExecutionListener
-
Creates a builder that can be used to attach execution listeners.
- newBuilder() - Static method in class org.graalvm.polyglot.PolyglotAccess
-
Creates a new custom polyglot access configuration builder.
- newBuilder() - Static method in class org.graalvm.polyglot.ResourceLimits
-
Creates a new builder to construct
ResourceLimits
instances. - newBuilder(int) - Static method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Builds a new frame descriptor with index-based frame slots.
- newBuilder(int, int) - Static method in class com.oracle.truffle.api.instrumentation.NearestSectionFilter
-
Creates a new
NearestSectionFilter
using abuilder
pattern. - newBuilder(Shape) - Static method in class com.oracle.truffle.api.object.Shape
-
Creates a new derived shape builder that allows changing a root shape's flags and dynamic type and adding constant properties.
- newBuilder(Source) - Static method in class com.oracle.truffle.api.debug.Breakpoint
-
Creates a new breakpoint builder based on a
Source
. - newBuilder(Source) - Static method in class com.oracle.truffle.api.source.Source
-
Creates a new source builder that inherits from the given Source.
- newBuilder(SourceSection) - Static method in class com.oracle.truffle.api.debug.Breakpoint
-
Creates a new breakpoint builder based on the textual region of a guest language source element.
- newBuilder(TruffleLanguage<?>) - Static method in class com.oracle.truffle.api.staticobject.StaticShape
-
Creates a new static shape builder.
- newBuilder(String...) - Static method in class org.graalvm.polyglot.Context
-
Creates a builder for constructing a context with custom configuration.
- newBuilder(String...) - Static method in class org.graalvm.polyglot.Engine
-
Creates a new engine builder that allows to configure an engine instance.
- newBuilder(String, TruffleFile) - Static method in class com.oracle.truffle.api.source.Source
-
Creates a new file based source builder from a given file.
- newBuilder(String, File) - Static method in class org.graalvm.polyglot.Source
-
Creates a new file based source builder from a given file.
- newBuilder(String, Reader, String) - Static method in class com.oracle.truffle.api.source.Source
-
Creates new character based literal source from a reader.
- newBuilder(String, Reader, String) - Static method in class org.graalvm.polyglot.Source
-
Creates new character based literal source from a reader.
- newBuilder(String, CharSequence, String) - Static method in class com.oracle.truffle.api.source.Source
-
Creates a new character based literal source from a character sequence.
- newBuilder(String, CharSequence, String) - Static method in class org.graalvm.polyglot.Source
-
Creates a new character based literal source from a character sequence.
- newBuilder(String, URL) - Static method in class com.oracle.truffle.api.source.Source
-
Creates a new URL based source builder from a given URL.
- newBuilder(String, URL) - Static method in class org.graalvm.polyglot.Source
-
Creates a new URL based source builder from a given URL.
- newBuilder(String, ByteSequence, String) - Static method in class com.oracle.truffle.api.source.Source
-
Creates a new byte based literal source from a byte sequence.
- newBuilder(String, ByteSequence, String) - Static method in class org.graalvm.polyglot.Source
-
Creates a new byte based literal source from a byte sequence.
- newBuilder(URI) - Static method in class com.oracle.truffle.api.debug.Breakpoint
-
Creates a new breakpoint builder based on a URI location.
- newBuilder(OptionKey<T>, String) - Static method in class org.graalvm.options.OptionDescriptor
-
Creates a new option descriptor builder by key.
- newBuilder(HostAccess) - Static method in class org.graalvm.polyglot.HostAccess
-
Creates a new builder that allows to create a custom host access policy based of a preset configuration.
- newBuilder(IOAccess) - Static method in class org.graalvm.polyglot.io.IOAccess
-
Creates a new builder that allows to create a custom IO access configuration based of a preset configuration.
- newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Opens or creates a file returning a
SeekableByteChannel
to access the file content. - newByteChannel(Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens or creates a file returning a
SeekableByteChannel
to access the file content. - newContextBuilder() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.use
TruffleLanguage.Env.newInnerContextBuilder(String...)
instead. Note that the replacement method configures the context differently by default. To restore the old behavior:newInnerContextBuilder() .initializeCreatorContext(true).inheritAllAccess(true).build()
- newDefaultFileSystem() - Static method in interface org.graalvm.polyglot.io.FileSystem
-
Creates a
FileSystem
implementation based on the host Java NIO. - newDirectoryStream() - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a directory, returning a
DirectoryStream
to iterate over all entries in the directory. - newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Returns directory entries.
- newExceptionBuilder(boolean, boolean) - Static method in class com.oracle.truffle.api.debug.Breakpoint
-
Creates a new exception breakpoint builder.
- newFileSystem(FileSystem) - Static method in interface org.graalvm.polyglot.io.FileSystem
-
Creates a
FileSystem
implementation based on the given Java NIO filesystem. - newHashChildren(int) - Method in class org.graalvm.collections.LockFreePrefixTree.Allocator
-
Allocates a new reference array of child nodes stored as a hash table.
- newHashChildren(int) - Method in class org.graalvm.collections.LockFreePrefixTree.HeapAllocator
- newHashChildren(int) - Method in class org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator
- newInnerContextBuilder(String...) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a new context builder useful to create inner context instances.
- newInputStream(OpenOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for reading returning an
InputStream
to access the file content. - newInstance(Object...) - Method in class org.graalvm.polyglot.Value
-
Instantiates this value if it
can
be instantiated. - newInstance(Value...) - Method in interface org.graalvm.polyglot.proxy.ProxyInstantiable
-
Creates a new instance of the object with the given arguments.
- NewInstance - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The object field is set to a instance of
RecomputeFieldValue.declClass()
created by calling the default constructor. - NewInstanceWhenNotNull - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The object field is set to a instance of
RecomputeFieldValue.declClass()
created by calling the default constructor when the target field value is not null. - newLinearChildren(int) - Method in class org.graalvm.collections.LockFreePrefixTree.Allocator
-
Allocates a new reference array of child nodes stored linearly.
- newLinearChildren(int) - Method in class org.graalvm.collections.LockFreePrefixTree.HeapAllocator
- newLinearChildren(int) - Method in class org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator
- newNode(long) - Method in class org.graalvm.collections.LockFreePrefixTree.Allocator
-
Allocates a new Node object.
- newNode(long) - Method in class org.graalvm.collections.LockFreePrefixTree.HeapAllocator
- newNode(long) - Method in class org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator
- newOutputStream(OpenOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for writing returning an
OutputStream
. - newProcessBuilder(String...) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a new process builder with the specified operating program and arguments.
- newReadOnlyFileSystem(FileSystem) - Static method in interface org.graalvm.polyglot.io.FileSystem
-
Decorates the given
fileSystem
by an implementation that makes the passedfileSystem
read-only by forbidding all write operations. - newTruffleThreadBuilder(Runnable) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a builder for threads that have access to the given context.
- nextClearBit(int) - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the index of the first bit that is set to
false
that occurs on or after the specified starting index. - Next debugging action - Search tag in class com.oracle.truffle.api.debug.SuspendedEvent
- Section
- nextSetBit(int) - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the index of the first bit that is set to
true
that occurs on or after the specified starting index. - nextUncached() - Method in class com.oracle.truffle.api.strings.TruffleStringIterator
-
Shorthand for calling the uncached version of
TruffleStringIterator.NextNode
. - NO_ARGUMENT - Static variable in class com.oracle.truffle.api.nodes.BlockNode
-
Use when no argument is needed for the block node.
- NO_BUILTIN - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method is not an alias for a built-in method.
- NO_DOMAIN - Static variable in interface org.graalvm.nativeimage.Isolates.ProtectionDomain
-
Do not use a protection domain.
- NO_FILTER - Static variable in interface com.oracle.truffle.api.nodes.NodeUtil.NodeCountFilter
- NO_TRANSITION - Enum constant in enum class org.graalvm.nativeimage.c.function.CFunction.Transition
-
No prologue and epilogue is emitted.
- Node - Class in com.oracle.truffle.api.nodes
-
Abstract base class for all Truffle nodes.
- Node() - Constructor for class com.oracle.truffle.api.nodes.Node
- Node.Child - Annotation Interface in com.oracle.truffle.api.nodes
-
Marks fields that represent child nodes of this node.
- Node.Children - Annotation Interface in com.oracle.truffle.api.nodes
-
Marks array fields that are children of this node.
- NodeChild - Annotation Interface in com.oracle.truffle.api.dsl
- NodeChildren - Annotation Interface in com.oracle.truffle.api.dsl
- NodeClass - Class in com.oracle.truffle.api.nodes
-
Information about a
Node
class. - NodeClass(Class<? extends Node>) - Constructor for class com.oracle.truffle.api.nodes.NodeClass
- NodeCloneable - 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 for class com.oracle.truffle.api.nodes.NodeCloneable
-
Constructor for subclasses.
- NodeCost - Enum Class in com.oracle.truffle.api.nodes
-
Deprecated.in 24.1 without replacement
- NodeFactory<T> - Interface in com.oracle.truffle.api.dsl
-
Enables the dynamic creation of generated nodes.
- NodeField - Annotation Interface in com.oracle.truffle.api.dsl
- NodeFields - Annotation Interface in com.oracle.truffle.api.dsl
-
A
NodeFields
element defines a field for the generatedNode
. - NodeInfo - Annotation Interface in com.oracle.truffle.api.nodes
-
Annotation for providing additional information on nodes.
- NodeInterface - Interface in com.oracle.truffle.api.nodes
-
Common base interface for all Truffle nodes.
- NodeLibrary - Class in com.oracle.truffle.api.interop
-
Node Library provides access to guest language information associated with a particular
Node
location. - NodeLibrary() - Constructor for class com.oracle.truffle.api.interop.NodeLibrary
- nodeReplaced(Node, Node, CharSequence) - Method in interface com.oracle.truffle.api.ReplaceObserver
-
Returns
true
if the event is consumed and no parent nodes should be notified by for replaces. - NodeUtil - Class in com.oracle.truffle.api.nodes
-
Utility class that manages the special access methods for node instances.
- NodeUtil.NodeCountFilter - Interface in com.oracle.truffle.api.nodes
- NodeVisitor - Interface in com.oracle.truffle.api.nodes
-
Visitor for trees of nodes.
- nonAtomicReplace(Node, T, CharSequence) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- None - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The initial field value is not modified.
- NONE - Enum constant in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.This node has literally no costs and should be ignored for heuristics.
- NONE - Static variable in class org.graalvm.polyglot.EnvironmentAccess
-
Provides guest languages no access to process environment.
- NONE - Static variable in class org.graalvm.polyglot.HostAccess
-
Predefined host access policy that disallows any access to public host methods or fields.
- NONE - Static variable in class org.graalvm.polyglot.io.IOAccess
-
Provides guest language no access to IO.
- NONE - Static variable in class org.graalvm.polyglot.PolyglotAccess
-
Provides guest languages no access to other languages using polyglot builtins evaluation and binding builtins.
- NonIdempotent - Annotation 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. - normalize() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns a
TruffleFile
with removed redundant name elements in it's path. - not() - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(~this)
. - not() - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(~this)
. - notEqual(int) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- notEqual(int) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- notEqual(ComparableWord) - Method in interface org.graalvm.word.ComparableWord
-
Compares this word with the specified value.
- notEqual(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Compares this Signed with the specified value.
- notEqual(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Compares this Unsigned with the specified value.
- notifyBlocked(ThreadLocalAction.Access) - Method in class com.oracle.truffle.api.ThreadLocalAction
-
Callback for notifying the thread local action that its processing has been blocked due to
a blocked call
. - notifyExternalMutation() - Method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Notify this mutable string of an external modification of its internal content.
- notifyInserted(Node) - Method in class com.oracle.truffle.api.nodes.Node
-
Notifies the framework about the insertion of one or more nodes during execution.
- notifyTransferToInterpreter() - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Internal API method.
- notifyUnblocked(ThreadLocalAction.Access) - Method in class com.oracle.truffle.api.ThreadLocalAction
-
Callback for notifying the thread local action that its processing has been unblocked during or while leaving
a blocked call
. - NotPublished - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Publish
-
Do not publish the entry point method.
- nullPointer() - Static method in class org.graalvm.word.WordFactory
-
The null pointer, i.e., the pointer with no bits set.
O
- object() - Static method in class com.oracle.truffle.api.utilities.JSONHelper
-
Deprecated.
- Object - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- objectFieldOffset(Field) - Method in interface org.graalvm.nativeimage.hosted.Feature.CompilationAccess
-
Returns the field offset of the provided instance field.
- ObjectHandle - Interface in org.graalvm.nativeimage
-
The opaque representation of a handle to a Java object given out to unmanaged code.
- ObjectHandles - Interface in org.graalvm.nativeimage
-
Manages a set of
ObjectHandles
. - Object Identity - Search tag in org.graalvm.polyglot.Value.as(Class<T>)
- Section
- ObjectPoolingAllocator() - Constructor for class org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator
- ObjectPoolingAllocator(int) - Constructor for class org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator
- Object target type mapping - Search tag in org.graalvm.polyglot.Value.as(Class<T>)
- Section
- ObjectType - Class in com.oracle.truffle.api.object
-
Deprecated.no replacement; dynamic type no longer needs to inherit from
ObjectType
. - ObjectType() - Constructor for class com.oracle.truffle.api.object.ObjectType
-
Deprecated.
- of(K, V) - Static method in interface org.graalvm.collections.EconomicMap
-
Creates an
EconomicMap
with one mapping. - of(K, V, K, V) - Static method in interface org.graalvm.collections.EconomicMap
-
Creates an
EconomicMap
with two mappings. - onAnalysisExit(Feature.OnAnalysisExitAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for code that needs to run after the analysis, even if an error has occurred, e.g., like reporting code.
- onCancelled(Runnable) - Method in class com.oracle.truffle.api.TruffleContext.Builder
- onClosed(Runnable) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Specifies a
Runnable
that will be executed when some operation on the new context attenmpted while the context is alreadyTruffleContext.close()
closed}. - onContextClosed(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about close of a polyglot context.
- onContextCreated(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about creation of a new polyglot context.
- onContextResetLimits(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Invoked when the resource consumption limits were reset for a particular context.
- onCreate(TruffleInstrument.Env) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Invoked once on each newly allocated
TruffleInstrument
instance. - onDispose(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked when an event node is removed from the AST.
- onDispose(TruffleInstrument.Env) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
- onEnter(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked immediately before the
instrumented node
is executed. - onEnter(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Should get invoked before the node is invoked.
- onEnter(AllocationEvent) - Method in interface com.oracle.truffle.api.instrumentation.AllocationListener
-
Notifies about an intent to allocate or re-allocate a guest language value.
- onEnter(EventContext, VirtualFrame) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked immediately before the
instrumented node
is executed. - onEnter(Object, long, long) - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Report an intent to allocate a new guest language value, or re-allocate an existing one.
- onEnter(Consumer<ExecutionEvent>) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
-
Set a listener that is notified when an execution of an element is entered.
- onEnterThread(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.ThreadsActivationListener
-
Notified when a context is entered on the
current thread
. - oneShot() - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies that the breakpoint will disable itself after suspending execution, i.e.
- onExecute(ExecuteSourceEvent) - Method in interface com.oracle.truffle.api.instrumentation.ExecuteSourceListener
-
Invoked whenever a new
source
is executed. - onExited(Consumer<Integer>) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Specifies a
Consumer
that will be executed when the new context ishard-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 class com.oracle.truffle.api.instrumentation.TruffleInstrument
- onInputValue(VirtualFrame, EventContext, int, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked immediately after each return value event of instrumented input child node that match the
input filter
. - onInputValue(EventContext, VirtualFrame, EventContext, int, Object) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Deprecated.in 20.0. input value notifications are not functional for
listeners
. Useevent node factories
instead. - onLanguageContextCreate(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies before creation of a language-specific context in an existing polyglot context.
- onLanguageContextCreated(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about creation of a language-specific context in an existing polyglot context.
- onLanguageContextCreateFailed(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies after failed creation of a language-specific context in an existing polyglot context.
- onLanguageContextDisposed(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about disposal of a language-specific context in an existing polyglot context.
- onLanguageContextFinalized(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about finalization of a language-specific context in an existing polyglot context.
- onLanguageContextInitialize(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies before initialization of a language-specific context in an existing polyglot context.
- onLanguageContextInitialized(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about initialization of a language-specific context in an existing polyglot context.
- onLanguageContextInitializeFailed(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies after failed initialization of a language-specific context in an existing polyglot context.
- onLeaveThread(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.ThreadsActivationListener
-
Notified when a context is entered on the
current thread
. - onLimit(Consumer<ResourceLimitEvent>) - Method in class org.graalvm.polyglot.ResourceLimits.Builder
-
Notified when a resource limit is reached.
- onLoad(LoadSourceEvent) - Method in interface com.oracle.truffle.api.instrumentation.LoadSourceListener
-
Invoked whenever a new
source
is loaded. - onLoad(LoadSourceSectionEvent) - Method in interface com.oracle.truffle.api.instrumentation.LoadSourceSectionListener
-
Invoked whenever a new
source section
is loaded. - onlyWith() - Element in annotation interface com.oracle.svm.core.annotate.TargetClass
-
Substitute only if all provided predicates are true (default: unconditional substitution that is always included).
- onlyWith() - Element in annotation interface com.oracle.svm.core.annotate.TargetElement
-
Substitute only if all provided predicates are true (default: unconditional substitution that is always included).
- onReplace(Node, CharSequence) - Method in class com.oracle.truffle.api.nodes.Node
-
Intended to be implemented by subclasses of
Node
to receive a notification when the node is rewritten. - onResume(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked on a resume of the execution on the current thread after a
yield
. - onResume(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Should be invoked when execution is resumed after a
yield
. - onResume(EventContext, VirtualFrame) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked on a resume of the execution on the current thread after a
yield
. - onReturn(Consumer<ExecutionEvent>) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
-
Set a listener that is notified when an execution of an element was entered and completed.
- onReturnExceptional(VirtualFrame, Throwable) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked immediately after the execution of an
instrumented node
resulted in an exception. - onReturnExceptional(EventContext, VirtualFrame, Throwable) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked immediately after an
instrumented node
did not successfully execute. - onReturnExceptionalOrUnwind(VirtualFrame, Throwable, boolean) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Should get invoked if the node did not complete successfully and handle a possible unwind.
- onReturnValue(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked immediately after an
instrumented node
is successfully executed. - onReturnValue(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Should get invoked after the node is invoked successfully.
- onReturnValue(AllocationEvent) - Method in interface com.oracle.truffle.api.instrumentation.AllocationListener
-
Notifies about an allocated guest language value.
- onReturnValue(EventContext, VirtualFrame, Object) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked immediately after an
instrumented node
is successfully executed. - onReturnValue(Object, long, long) - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Report an allocation of a new one or re-allocation of an existing guest language value.
- onSuspend(SuspendedEvent) - Method in interface com.oracle.truffle.api.debug.SuspendedCallback
- onThreadDisposed(TruffleContext, Thread) - Method in interface com.oracle.truffle.api.instrumentation.ThreadsListener
-
Notifies about disposal of thread-related resources that were used for a guest language execution in a
TruffleContext
. - onThreadInitialized(TruffleContext, Thread) - Method in interface com.oracle.truffle.api.instrumentation.ThreadsListener
-
Notifies about initialization of a thread to be used for a guest language execution in a
TruffleContext
. - onUnwind(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked when an
instrumented node
is unwound from the execution stack byunwind throwable
thrown in this node implementation. - onUnwind(EventContext, VirtualFrame, Object) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked when an
instrumented node
is unwound from the execution stack byunwind throwable
thrown in this listener instance. - onYield(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked on a yield of the current thread.
- onYield(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Should be invoked when the node yields execution.
- onYield(EventContext, VirtualFrame, Object) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked on a yield of the current thread.
- open(URI, MessageEndpoint) - Method in interface org.graalvm.polyglot.io.MessageTransport
-
Called when a connection to an URI is to be established.
- OptimizationFailedException - Exception Class in com.oracle.truffle.api
- OptimizationFailedException(Throwable, RootCallTarget) - Constructor for exception class com.oracle.truffle.api.OptimizationFailedException
- option(String, String) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Overrides an option of the inner context.
- option(String, String) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets an option for this
context
. - option(String, String) - Method in class org.graalvm.polyglot.Engine.Builder
- Option - Annotation Interface in com.oracle.truffle.api
-
Describes the attributes of an option whose
value
is in a static field annotated by this annotation. - OPTION_PREFIX - Static variable in class com.oracle.truffle.api.object.Layout
-
Deprecated.
- Option.Group - Annotation 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. - optional() - Element in annotation interface com.oracle.truffle.api.InternalResource.Id
-
Marks the annotated resource as optional.
- OptionCategory - Enum Class in org.graalvm.options
-
Categorizes options according to user relevance.
- OptionDescriptor - Class in org.graalvm.options
-
Represents metadata for a single option.
- OptionDescriptor.Builder - Class in org.graalvm.options
-
Represents an option descriptor builder.
- OptionDescriptors - Interface in org.graalvm.options
-
An interface to a set of
OptionDescriptor
s. - OptionKey<T> - Class in org.graalvm.options
-
Represents the option key for an option specification.
- OptionKey(T) - Constructor for class org.graalvm.options.OptionKey
-
Constructs a new option key given a default value.
- OptionKey(T, OptionType<T>) - Constructor for class org.graalvm.options.OptionKey
-
Constructs a new option key given a default value and option key.
- OptionMap<T> - Class in org.graalvm.options
-
Represents a mapping between
String
keys and values. - options(Map<String, String>) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets multiple options using a map.
- options(Map<String, String>) - Method in class org.graalvm.polyglot.Context.Builder
-
Shortcut for setting multiple
options
using a map. - options(Map<String, String>) - Method in class org.graalvm.polyglot.Engine.Builder
-
Shortcut for setting multiple
options
using a map. - OptionStability - Enum Class in org.graalvm.options
-
Categorizes options according to their stability.
- OptionType<T> - Class in org.graalvm.options
-
Represents a type of an option that allows to convert string values to Java values.
- OptionType(String, Function<String, T>) - Constructor for class org.graalvm.options.OptionType
-
Constructs a new option type with name and function that allows to convert a string to the option type.
- OptionType(String, Function<String, T>, Consumer<T>) - Constructor for class org.graalvm.options.OptionType
-
Constructs a new option type with name and function that allows to convert a string to the option type and validator of the option values.
- OptionType(String, T, Function<String, T>) - Constructor for class org.graalvm.options.OptionType
-
Deprecated.
- OptionType(String, T, Function<String, T>, Consumer<T>) - Constructor for class org.graalvm.options.OptionType
-
Deprecated.
- OptionValues - Interface in org.graalvm.options
-
Represents a set of option values based on an
OptionDescriptor
. - or(int) - Method in interface org.graalvm.word.Pointer
-
Returns a Pointer whose value is
(this | val)
. - or(int) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this | val)
. - or(int) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this | val)
. - or(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this | val)
. - or(UnsignedWord) - Method in interface org.graalvm.word.Pointer
-
Returns a Pointer whose value is
(this | val)
. - or(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this | val)
. - org.graalvm.collections - package org.graalvm.collections
-
The GraalVM SDK collections package contains memory efficient data structures.
- org.graalvm.home - package org.graalvm.home
-
The GraalVM SDK home API allows query home paths for the GraalVM, its languages and its tools.
- org.graalvm.nativeimage - package org.graalvm.nativeimage
-
The GraalVM SDK Native Image API allows to customize the native image generation, i.e., the ahead-of-time compilation of Java code to standalone executables.
- org.graalvm.nativeimage.c - package org.graalvm.nativeimage.c
-
This package and its sub-packages provide a fast and lightweight interface between Java code and C code.
- org.graalvm.nativeimage.c.constant - package org.graalvm.nativeimage.c.constant
-
This package provides parts of the Java / C interface that are related to C constants.
- org.graalvm.nativeimage.c.function - package org.graalvm.nativeimage.c.function
-
This package provides parts of the Java / C interface that are related to C functions.
- org.graalvm.nativeimage.c.struct - package org.graalvm.nativeimage.c.struct
-
This package provides parts of the Java / C interface that are related to C structures.
- org.graalvm.nativeimage.c.type - package org.graalvm.nativeimage.c.type
-
This package provides parts of the Java / C interface that are related to standard C pointer types, as well as utility functions to convert between Java types and C types.
- org.graalvm.nativeimage.hosted - package org.graalvm.nativeimage.hosted
-
The GraalVM SDK Native Image API allows to customize the native image generation, i.e., the ahead-of-time compilation of Java code to standalone executables:
Feature
s allow clients to intercept the native image generation and run custom initialization code at various stages.RuntimeClassInitialization
is used to configure when classes are initialized.RuntimeReflection
to register classes, methods, and fields for reflection at run time. - org.graalvm.options - package org.graalvm.options
-
The GraalVM SDK options package contains reusable collection classes for options.
- org.graalvm.polyglot - package org.graalvm.polyglot
-
The GraalVM SDK polyglot API allows to embed Graal languages in Java applications.
- org.graalvm.polyglot.io - package org.graalvm.polyglot.io
-
Input/Output support for the GraalVM SDK polyglot API.
- org.graalvm.polyglot.management - package org.graalvm.polyglot.management
-
The management package provides tools that monitor and instrument the behavior of guest language programs.
- org.graalvm.polyglot.proxy - package org.graalvm.polyglot.proxy
-
The GraalVM SDK proxy interfaces allow to mimic guest language objects, arrays, executables, primitives and native objects in Graal languages.
- org.graalvm.word - package org.graalvm.word
-
This package provides a low-level mechanism to use machine-word-sized values in Java.
- out() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Standard output writer for
Engine
thisinstrument
is being executed in. - out() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Standard output writer provided by
Context.Builder.out(OutputStream)
this language is being executed in. - out(OutputStream) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets the standard output stream to be used for the context.
- out(OutputStream) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets the standard output stream to be used for the context.
- out(OutputStream) - Method in class org.graalvm.polyglot.Engine.Builder
-
Sets the standard output stream to be used for this engine.
- overlaps(LocationIdentity) - Method in class org.graalvm.word.LocationIdentity
-
Returns true if the memory slice denoted by this location identity may overlap with the provided other location identity.
P
- Pair<L,
R> - Class in org.graalvm.collections -
Utility class representing a pair of values.
- parameters() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Specifies the bindings used for the $parameters variable in cached or uncached initializers.
- parse(Source, String...) - Method in class com.oracle.truffle.api.instrumentation.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 toCallTarget.call(java.lang.Object...)
. - parse(TruffleLanguage.InlineParsingRequest) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Parses the
provided source snippet
at theprovided location
and generates its appropriate AST representation. - parse(TruffleLanguage.ParsingRequest) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Parses the
provided source
and generates its appropriate AST representation. - parse(String) - Static method in class org.graalvm.home.Version
-
Parses a GraalVM version from its String raw format.
- parse(String, CharSequence) - Method in class org.graalvm.polyglot.Context
-
Parses but does not evaluate a guest language code literal using a provided
language id
and character sequence and returns avalue
that can beexecuted
. - parse(Source) - Method in class org.graalvm.polyglot.Context
- PARSE_ERROR - Enum constant in enum class com.oracle.truffle.api.interop.ExceptionType
-
Indicates a parser or syntax error.
- Parse Caching - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- parseDoubleUncached() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ParseDoubleNode
. - parseInline(Source, Node, MaterializedFrame) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Parses source snippet of the node's language at the provided node location.
- parseInternal(Source, String...) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Parses the source of a public or internal language and returns the parse result as
CallTarget
. - parseIntUncached() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ParseIntNode
. - parseIntUncached(int) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ParseIntNode
. - parseLongUncached() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ParseLongNode
. - parseLongUncached(int) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ParseLongNode
. - parsePath(String) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Parses a path from a
String
. - parsePath(URI) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Parses a path from an
URI
. - parsePublic(Source, String...) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Parses the source of a public language and returns the parse result as
CallTarget
. - partialEvaluationConstant(boolean) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Specialized version of
CompilerAsserts.compilationConstant(Object)
forboolean
values. - partialEvaluationConstant(double) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Specialized version of
CompilerAsserts.compilationConstant(Object)
fordouble
values. - partialEvaluationConstant(float) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Specialized version of
CompilerAsserts.compilationConstant(Object)
forfloat
values. - partialEvaluationConstant(int) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Specialized version of
CompilerAsserts.compilationConstant(Object)
forint
values. - partialEvaluationConstant(long) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Specialized version of
CompilerAsserts.compilationConstant(Object)
forlong
values. - partialEvaluationConstant(Object) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Assertion that the corresponding value is reduced to a constant during the initial partial evaluation phase.
- patchContext(C, TruffleLanguage.Env) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Notifies the language with pre-initialized context about
TruffleLanguage.Env
change. - pause() - Method in class com.oracle.truffle.api.TruffleContext
-
Pause execution on all threads for this context.
- perform(ThreadLocalAction.Access) - Method in class com.oracle.truffle.api.ThreadLocalAction
-
Performs the thread local action on a given thread.
- Performance - Search tag in class org.graalvm.polyglot.management.ExecutionListener
- Section
- pin() - Method in class org.graalvm.polyglot.Value
-
Pins a scoped value such that it can be used beyond the scope of a scoped host method call.
- PinnedObject - Interface in org.graalvm.nativeimage
-
Holder for a pinned object, such that the object doesn't move until the pin is removed.
- PIPE - Static variable in class org.graalvm.polyglot.io.ProcessHandler.Redirect
-
Indicates that subprocess I/O will be connected to the current Java process using a pipe.
- Platform - Interface in org.graalvm.nativeimage
-
Root of the interface hierarchy for architectures, OS, and supported combinations of them.
- PLATFORM_PROPERTY_NAME - Static variable in interface org.graalvm.nativeimage.Platform
-
The system property name that specifies the fully qualified name of the
Platform
implementation class that should be used. - Platform.AARCH64 - Interface in org.graalvm.nativeimage
-
Supported architecture: ARMv8 64-bit.
- Platform.AMD64 - Interface in org.graalvm.nativeimage
-
Supported architecture: x86 64-bit.
- Platform.ANDROID - Interface in org.graalvm.nativeimage
-
Supported operating system: Android.
- Platform.ANDROID_AARCH64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Android on AArch64 64-bit.
- Platform.DARWIN - Interface in org.graalvm.nativeimage
-
Basis for all Apple operating systems (MacOS and iOS).
- Platform.DARWIN_AARCH64 - Interface in org.graalvm.nativeimage
-
Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64).
- Platform.DARWIN_AMD64 - Interface in org.graalvm.nativeimage
-
Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64).
- Platform.HOSTED_ONLY - Class in org.graalvm.nativeimage
-
Marker for elements (types, methods, or fields) that are only visible during native image generation and cannot be used at run time, regardless of the actual platform.
- Platform.IOS - Interface in org.graalvm.nativeimage
-
Supported operating system: iOS.
- Platform.IOS_AARCH64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: iOS on AArch 64-bit.
- Platform.IOS_AMD64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: iOS on x86 64-bit.
- Platform.LINUX - Interface in org.graalvm.nativeimage
-
Supported operating system: Linux.
- Platform.LINUX_AARCH64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Linux on AArch64 64-bit.
- Platform.LINUX_AARCH64_BASE - Interface in org.graalvm.nativeimage
-
Basis for all Linux operating systems on AARCH64 (LINUX_AARCH64 & ANDROID_AARCH64).
- Platform.LINUX_AMD64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Linux on x86 64-bit.
- Platform.LINUX_AMD64_BASE - Interface in org.graalvm.nativeimage
-
Basis for all Linux operating systems on AMD64 (LINUX_AMD64).
- Platform.LINUX_RISCV64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Linux on RISC-V 64-bit.
- Platform.MACOS - Interface in org.graalvm.nativeimage
-
Supported operating system: MacOS.
- Platform.MACOS_AARCH64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: MacOS on AArch 64-bit.
- Platform.MACOS_AMD64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: MacOS on x86 64-bit.
- Platform.RISCV64 - Interface in org.graalvm.nativeimage
-
Supported architecture: RISC-V 64-bit.
- Platform.WINDOWS - Interface in org.graalvm.nativeimage
-
Supported operating system: Windows.
- Platform.WINDOWS_AARCH64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Windows on AArch 64-bit.
- Platform.WINDOWS_AMD64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Windows on x86 64-bit.
- Platforms - Annotation Interface in org.graalvm.nativeimage
-
Restricts the annotated element (type, method, or field) to the specified
Platform
groups. - pointer(long) - Static method in class org.graalvm.word.WordFactory
-
Unsafe conversion from a Java long value to a
pointer
. - Pointer - Interface in org.graalvm.word
-
Lowest-level memory access of native C memory.
- PointerBase - Interface in org.graalvm.word
-
Marker interface for all
word types
that have the semantic of a pointer (but not necessarily all the memory access methods defined inPointer
). - poll(Node) - Static method in class com.oracle.truffle.api.TruffleSafepoint
-
Polls a safepoint at the provided location.
- pollHere(Node) - Static method in class com.oracle.truffle.api.TruffleSafepoint
-
Similar to
TruffleSafepoint.poll(Node)
but with exact location. - pollOSRBackEdge(BytecodeOSRNode) - Static method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Reports a back edge, returning whether to try performing OSR.
- PolyglotAccess - Class in org.graalvm.polyglot
-
Represents an access policy for polyglot builtins in the guest languages.
- PolyglotAccess.Builder - Class in org.graalvm.polyglot
-
A builder for a polyglot access configuration.
- Polyglot Bindings - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- PolyglotException - Exception Class in org.graalvm.polyglot
-
A polyglot exception represents errors that contain Graal guest languages on the stack trace.
- PolyglotException.StackFrame - Class in org.graalvm.polyglot
-
Represents a polyglot stack frame originating from a guest language or the host language Java.
- POLYMORPHIC - Enum constant in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.This node represents a polymorphic version of an operation.
- polymorphicSignature() - Element in annotation interface com.oracle.svm.core.annotate.Substitute
- Pre-Initialization - Search tag in class org.graalvm.polyglot.Context
- Section
- prepareContinue() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in Continue mode when guest language program execution resumes.
- prepareForAOT() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Allows languages to perform actions before a root node is attempted to be compiled without prior call to
RootNode.execute(VirtualFrame)
. - prepareForAOT(RootNode) - Static method in class com.oracle.truffle.api.dsl.AOTSupport
-
Recursively prepares an AST for AOT compilation.
- prepareForAOT(TruffleLanguage<?>, RootNode) - Method in interface com.oracle.truffle.api.dsl.GenerateAOT.Provider
-
Called and implemented by framework code.
- prepareForAOT(TruffleLanguage<?>, RootNode, Node) - Method in interface com.oracle.truffle.api.dsl.GenerateAOT.Provider
-
Called and implemented by framework code.
- prepareKill() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to terminate the suspended execution represented by this event.
- prepareOSR(int) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Initialization hook which will be invoked before OSR compilation.
- prepareOSR(long) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Overload of
BytecodeOSRNode.prepareOSR(int)
with along
target. - prepareStepInto(int) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step into mode when guest language program execution resumes.
- prepareStepInto(StepConfig) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step into mode when guest language program execution resumes.
- prepareStepOut(int) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step out mode when guest language program execution resumes.
- prepareStepOut(StepConfig) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step out mode when guest language program execution resumes.
- prepareStepOver(int) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step over mode when guest language program execution resumes.
- prepareStepOver(StepConfig) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step over mode when guest language program execution resumes.
- prepareUnwindFrame(DebugStackFrame) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to unwind a frame.
- prepareUnwindFrame(DebugStackFrame, DebugValue) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to unwind a frame.
- previousUncached() - Method in class com.oracle.truffle.api.strings.TruffleStringIterator
-
Shorthand for calling the uncached version of
TruffleStringIterator.PreviousNode
. - PrimitiveValueProfile - Class in com.oracle.truffle.api.profiles
-
Represents a
ValueProfile
that speculates on the primitive equality or object identity of values. - printCompactTree(OutputStream, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printCompactTreeToString(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printHistogram(PrintStream) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Prints the specialization histogram to the provided stream.
- printHistogram(PrintWriter) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Prints the specialization histogram to the provided writer.
- printSourceAttributionTree(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printSourceAttributionTree(OutputStream, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printSourceAttributionTree(PrintWriter, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printStackTrace() - Method in exception class com.oracle.truffle.api.debug.DebugException
- printStackTrace() - Method in exception class org.graalvm.polyglot.PolyglotException
-
Prints host and guest language stack frames to the standard
error output
. - printStackTrace(PrintStream) - Method in exception class com.oracle.truffle.api.debug.DebugException
- printStackTrace(PrintStream) - Method in exception class org.graalvm.polyglot.PolyglotException
-
Prints host and guest language stack frames to specified print stream.
- printStackTrace(PrintWriter) - Method in exception class com.oracle.truffle.api.debug.DebugException
- printStackTrace(PrintWriter) - Method in exception class org.graalvm.polyglot.PolyglotException
-
Prints host and guest language stack frames to specified print writer.
- printSyntaxTags(Object) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Originally returned the tags if any, associated with a node; now unsupported.
- printTree(OutputStream, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Prints a human readable form of a
Node
AST to the givenPrintStream
. - printTree(PrintWriter, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printTreeToString(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- priority() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
Specifies the priority for service provider lookup based default exports.
- ProbeNode - Class in com.oracle.truffle.api.instrumentation
-
Represents an event sink for instrumentation events that is embedded in the AST using wrappers if needed.
- processHandler(ProcessHandler) - Method in class org.graalvm.polyglot.Context.Builder
-
Installs a
ProcessHandler
responsible for external process creation. - ProcessHandler - Interface in org.graalvm.polyglot.io
-
Service-provider for guest languages process builder.
- ProcessHandler.ProcessCommand - Class in org.graalvm.polyglot.io
-
Subprocess attributes passed to
start
method. - ProcessHandler.Redirect - Class in org.graalvm.polyglot.io
-
Represents a source of subprocess input or a destination of subprocess output.
- ProcessProperties - Class in org.graalvm.nativeimage
-
Utility class to get and set properties of the OS process at run time.
- profile(boolean) - Method in class com.oracle.truffle.api.profiles.ConditionProfile
- profile(boolean) - Method in class com.oracle.truffle.api.profiles.CountingConditionProfile
- profile(boolean) - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
- profile(boolean) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(byte) - Method in class com.oracle.truffle.api.profiles.ByteValueProfile
- profile(byte) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(char) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(double) - Method in class com.oracle.truffle.api.profiles.DoubleValueProfile
- profile(double) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(float) - Method in class com.oracle.truffle.api.profiles.FloatValueProfile
- profile(float) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(int) - Method in class com.oracle.truffle.api.profiles.IntValueProfile
- profile(int) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(long) - Method in class com.oracle.truffle.api.profiles.LongValueProfile
- profile(long) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(short) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(Node, boolean) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
- profile(Node, boolean) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
- profile(Node, boolean) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
- profile(Node, byte) - Method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- profile(Node, double) - Method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- profile(Node, float) - Method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- profile(Node, int) - Method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- profile(Node, long) - Method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- profile(Node, T) - Method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- profile(T) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(T) - Method in class com.oracle.truffle.api.profiles.ValueProfile
- Profile - 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. - profileCounted(long) - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Provides an alternative way to profile counted loops with less interpreter footprint.
- profileCounted(Node, long) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Provides an alternative way to profile counted loops with less interpreter footprint.
- property(StaticProperty, Class<?>, boolean) - Method in class com.oracle.truffle.api.staticobject.StaticShape.Builder
-
Adds a
StaticProperty
to the static shape to be constructed. - Property - Class in com.oracle.truffle.api.object
-
Property objects represent the mapping between property identifiers (keys) and storage locations.
- Property() - Constructor for class com.oracle.truffle.api.object.Property
-
Deprecated.do not use.
- PROPERTY_IMAGE_CODE_KEY - Static variable in class org.graalvm.nativeimage.ImageInfo
-
Holds the string that is the name of the system property providing information about the context in which code is currently executing.
- PROPERTY_IMAGE_CODE_VALUE_BUILDTIME - Static variable in class org.graalvm.nativeimage.ImageInfo
-
Holds the string that will be returned by the system property for
ImageInfo.PROPERTY_IMAGE_CODE_KEY
if code is executing in the context of image building (e.g. - PROPERTY_IMAGE_CODE_VALUE_RUNTIME - Static variable in class org.graalvm.nativeimage.ImageInfo
-
Holds the string that will be returned by the system property for
ImageInfo.PROPERTY_IMAGE_CODE_KEY
if code is executing at image runtime. - PROPERTY_IMAGE_KIND_KEY - Static variable in class org.graalvm.nativeimage.ImageInfo
-
Name of the system property that holds if this image is built as a shared library or an executable.
- PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE - Static variable in class org.graalvm.nativeimage.ImageInfo
-
Holds the string that will be returned by the system property for
ImageInfo.PROPERTY_IMAGE_KIND_KEY
if image is an executable. - PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY - Static variable in class org.graalvm.nativeimage.ImageInfo
-
Holds the string that will be returned by the system property for
ImageInfo.PROPERTY_IMAGE_KIND_KEY
if image is a shared library. - propertyAssumptions(boolean) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
If
true
, enables the use of property assumptions for this object shape and any derived shapes (default:false
). - PropertyGetter - Class in com.oracle.truffle.api.object
-
A lightweight property getter that allows getting the value of a
DynamicObject
property without any lookup or cache dispatch. - ProvidedTags - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Specifies a set of tags that are provided by a
language
implementation. - Proxies - Search tag in class com.oracle.truffle.api.library.ReflectionLibrary
- Section
- Proxies - Search tag in class org.graalvm.polyglot.Context
- Section
- Proxy - Interface in org.graalvm.polyglot.proxy
-
Proxy interfaces allow to mimic guest language objects, arrays, executables, primitives and native objects in Graal languages.
- ProxyArray - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language arrays.
- ProxyDate - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language objects that represents dates.
- ProxyDuration - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language objects that represents durations.
- ProxyExecutable - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language objects that are executable.
- ProxyHashMap - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language hash maps.
- ProxyInstant - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language objects that represents timestamps.
- ProxyInstantiable - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language objects that are instantiable.
- ProxyIterable - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language iterables.
- ProxyIterator - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language iterators.
- ProxyNativeObject - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic native pointers.
- ProxyObject - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language objects that contain members.
- ProxyTime - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language objects that represents times.
- ProxyTimeZone - Interface in org.graalvm.polyglot.proxy
-
Interface to be implemented to mimic guest language objects that represents timezones.
- publishAs() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
Whether the entry point is part of the symbols and header files produced by Native Image.
- pushEncapsulatingNode() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary
-
Enables push and pop of the encapsulating node when a library transitions from cached to uncached.
- put(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Sets the value of an existing property or adds a new property if no such property exists.
- put(K, V) - Method in interface org.graalvm.collections.EconomicMap
-
Associates
value
withkey
in this map. - put(K, V) - Method in class org.graalvm.collections.EconomicMapWrap
- putAll(EconomicMap<K, V>) - Method in interface org.graalvm.collections.EconomicMap
-
Copies all of the mappings from
other
to this map. - putAll(UnmodifiableEconomicMap<? extends K, ? extends V>) - Method in interface org.graalvm.collections.EconomicMap
-
Copies all of the mappings from
other
to this map. - putByte(byte[], int, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given byte at the given byte offset from the start of the buffer.
- putByte(byte[], long, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given byte at the given byte offset from the start of the buffer.
- putByteVolatile(byte[], long, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.putByte(byte[], long, byte)
. - putConstant(DynamicObject, Object, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Adds a property with a constant value or replaces an existing one.
- putDouble(byte[], int, double) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given double at the given byte offset from the start of the buffer.
- putDouble(byte[], long, double) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given double at the given byte offset from the start of the buffer.
- putDouble(DynamicObject, Object, double) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
- putFieldObject(Object, Node, Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- putFloat(byte[], int, float) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given float at the given byte offset from the start of the buffer.
- putFloat(byte[], long, float) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given float at the given byte offset from the start of the buffer.
- putHashEntry(DebugValue, DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Associates the specified value with the specified key in the hash map.
- putHashEntry(Object, Object) - Method in class org.graalvm.polyglot.Value
-
Associates the specified value with the specified key.
- putHashEntry(Value, Value) - Method in interface org.graalvm.polyglot.proxy.ProxyHashMap
-
Associates the specified value with the specified key.
- putIfAbsent(K, V) - Method in interface org.graalvm.collections.EconomicMap
-
If the specified key is not already associated with a value (or is mapped to
null
) associates it with the given value and returnsnull
, else returns the current value. - putIfAbsent(K, V) - Method in class org.graalvm.collections.EconomicMapWrap
- putIfPresent(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Sets the value of the property if present, otherwise returns
false
. - putInt(byte[], int, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given int at the given byte offset from the start of the buffer.
- putInt(byte[], long, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given int at the given byte offset from the start of the buffer.
- putInt(DynamicObject, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
- putIntVolatile(byte[], long, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.putInt(byte[], long, int)
. - putLong(byte[], int, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given long at the given byte offset from the start of the buffer.
- putLong(byte[], long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given long at the given byte offset from the start of the buffer.
- putLong(DynamicObject, Object, long) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
- putLongVolatile(byte[], long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.putLong(byte[], long, long)
. - putMember(String, Object) - Method in class org.graalvm.polyglot.Value
-
Sets the value of a member using an identifier.
- putMember(String, Value) - Method in interface org.graalvm.polyglot.proxy.ProxyObject
-
Sets the value associated with a member.
- putShort(byte[], int, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given short at the given byte offset from the start of the buffer.
- putShort(byte[], long, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given short at the given byte offset from the start of the buffer.
- putShortVolatile(byte[], long, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.putShort(byte[], long, short)
. - putWithFlags(DynamicObject, Object, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Like
DynamicObjectLibrary.put(com.oracle.truffle.api.object.DynamicObject, java.lang.Object, java.lang.Object)
, but additionally assigns flags to the property.
Q
- querySourceSections(SourceSectionFilter) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Returns a filtered list of loaded
SourceSection
instances. - queryTags(Node) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Returns an unmodifiable
Set
of tag classes which where associated with this node.
R
- RawField - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field access of a
structured C memory
. - RawFieldAddress - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field address computation of a
RawStructure
. - RawFieldOffset - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field offset access of a
RawStructure
. - RawPointerTo - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a Java interface that is a pointer to a
RawStructure
. - RawStructure - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes Java interface that represents C memory, but without a
C struct
definition. - rawValue() - Method in interface org.graalvm.word.WordBase
-
Conversion to a Java primitive value.
- reachableMethodOverrides(Executable) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
Returns all method overrides of the given {param baseMethod} that the static analysis determined to be reachable at run time (including the {param baseMethod} itself).
- reachableSubtypes(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
Returns all subtypes of the given {param baseClass} that the static analysis determined to be reachable at run time (including the {param baseClass} itself).
- read() - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Reads the value at the pointer address.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- READ_ONLY - Enum constant in enum class com.oracle.truffle.api.frame.FrameInstance.FrameAccess
-
This mode allows to read the frame and provides read only access to its local variables.
- READ_WRITE - Enum constant in enum class com.oracle.truffle.api.frame.FrameInstance.FrameAccess
-
This mode allows to read the frame and provides read and write access to its local variables.
- readAllBytes() - Method in class com.oracle.truffle.api.TruffleFile
-
Reads a file content as bytes.
- readArrayElement(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the value of an array element by index.
- readAttributes(Path, String, LinkOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Reads a file's attributes as a bulk operation.
- readBuffer(long, byte[], int, int) - Method in class org.graalvm.polyglot.Value
-
Reads bytes from the receiver object into the specified byte array.
- readBuffer(Object, long, byte[], int, int) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads bytes from the receiver object into the specified byte array.
- readBufferByte(long) - Method in class org.graalvm.polyglot.Value
-
Reads the byte at the given byte offset from the start of the buffer.
- readBufferByte(Object, long) - Method in class com.oracle.truffle.api.interop.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 class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the double from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- readBufferDouble(ByteOrder, long) - Method in class org.graalvm.polyglot.Value
-
Reads the double at the given byte offset from the start of the buffer in the given byte order.
- readBufferFloat(Object, ByteOrder, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the float from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- readBufferFloat(ByteOrder, long) - Method in class org.graalvm.polyglot.Value
-
Reads the float at the given byte offset from the start of the buffer in the given byte order.
- readBufferInt(Object, ByteOrder, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the int from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- readBufferInt(ByteOrder, long) - Method in class org.graalvm.polyglot.Value
-
Reads the int at the given byte offset from the start of the buffer in the given byte order.
- readBufferLong(Object, ByteOrder, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the long from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- readBufferLong(ByteOrder, long) - Method in class org.graalvm.polyglot.Value
-
Reads the long at the given byte offset from the start of the buffer in the given byte order.
- readBufferShort(Object, ByteOrder, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the short from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- readBufferShort(ByteOrder, long) - Method in class org.graalvm.polyglot.Value
-
Reads the short at the given byte offset from the start of the buffer in the given byte order.
- readByte(int) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readByte(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readByte(WordBase) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readByte(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readByteUncached(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ReadByteNode
. - readChar(int) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readChar(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readChar(WordBase) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readChar(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readCharUTF16Uncached(int) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ReadCharUTF16Node
. - readDelegate(Library, Object) - Static method in class com.oracle.truffle.api.library.LibraryFactory
-
Reads the delegate for a receiver.
- readDelegateExport(Object) - Method in interface com.oracle.truffle.api.library.LibraryExport.DelegateExport
-
Internal method for generated code only.
- readDouble(int) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readDouble(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readDouble(WordBase) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readDouble(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readFloat(int) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readFloat(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readFloat(WordBase) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readFloat(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - Read from a URL - Search tag in class com.oracle.truffle.api.source.Source
- Section
- Read from a URL - Search tag in class org.graalvm.polyglot.Source
- Section
- readHashValue(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the value for the specified key.
- readHashValueOrDefault(Object, Object, Object) - Method in class com.oracle.truffle.api.interop.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. - Reading from a stream - Search tag in class com.oracle.truffle.api.source.Source
- Section
- Reading from a stream - Search tag in class org.graalvm.polyglot.Source
- Section
- Reading from bytes - Search tag in class com.oracle.truffle.api.source.Source
- Section
- Reading from bytes - Search tag in class org.graalvm.polyglot.Source
- Section
- readInt(int) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readInt(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readInt(WordBase) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readInt(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readLong(int) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readLong(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readLong(WordBase) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readLong(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readMember(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the value of a given member.
- readObject(int) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readObject(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readObject(WordBase) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readObject(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readResourceLines(Path) - Method in class com.oracle.truffle.api.InternalResource.Env
-
Reads a resource from the module, which owns the
InternalResource
implementation class. - readShort(int) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readShort(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readShort(WordBase) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readShort(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readSymbolicLink() - Method in class com.oracle.truffle.api.TruffleFile
-
Reads the target of a symbolic link.
- readSymbolicLink(Path) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Reads the target of the symbolic link.
- readWord(int) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readWord(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readWord(WordBase) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readWord(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
. - readWordVolatile(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Reads the memory at address
(this + offset)
in accordance with the volatile semantics. - realloc(T, UnsignedWord) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
-
Changes the size of the provided unmanaged memory to
size
bytes of unmanaged memory. - receiverType() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
The explicit receiver type to use if specified.
- receiverType() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary
-
Restricts the receiver type for exports that implement this library.
- RecomputeFieldValue - Annotation Interface in com.oracle.svm.core.annotate
-
Supported API is available to replace this non-API annotation: Use
Feature.BeforeAnalysisAccess.registerFieldValueTransformer(java.lang.reflect.Field, org.graalvm.nativeimage.hosted.FieldValueTransformer)
. - RecomputeFieldValue.Kind - Enum Class in com.oracle.svm.core.annotate
- redirectError(ProcessHandler.Redirect) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the standard error output destination.
- redirectErrorStream(boolean) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
If
true
the standard error output is merged into standard output. - redirectInput(ProcessHandler.Redirect) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the standard input source.
- redirectOutput(ProcessHandler.Redirect) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the standard output destination.
- ReflectionLibrary - Class in com.oracle.truffle.api.library
-
The reflection library allows to send to and proxy messages of receivers.
- ReflectionLibrary() - Constructor for class com.oracle.truffle.api.library.ReflectionLibrary
-
Constructor for generated subclasses.
- regionEqualByteIndexUncached(int, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.RegionEqualByteIndexNode
. - regionEqualByteIndexUncached(int, TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.RegionEqualByteIndexNode
. - regionEqualsUncached(int, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.RegionEqualNode
. - regionEqualsWithOrMask(byte[], int, byte[], int, int, byte[]) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns
true
iff for all indicesi
from0
(inclusive) tolength
(exclusive),(a[offsetA + i] | mask[i]) == b[offsetB + i]
holds. - regionEqualsWithOrMask(char[], int, char[], int, int, char[]) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns
true
iff for all indicesi
from0
(inclusive) tolength
(exclusive),(a[offsetA + i] | mask[i]) == b[offsetB + i]
holds. - regionEqualsWithOrMask(String, int, String, int, int, String) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns
true
iff for all indicesi
from0
(inclusive) tolength
(exclusive),(a.charAt(offsetA + i) | mask.charAt(i)) == b.charAt(offsetB + i)
holds. - register(boolean, boolean, Field...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Deprecated.Use
RuntimeReflection.register(Field...)
instead. ParametersfinalIsWritable
andallowUnsafeAccess
no longer serve a purpose. - register(boolean, Field...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Deprecated.Use
RuntimeReflection.register(Field...)
instead. ParameterfinalIsWritable
no longer serves a purpose. - register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeJNIAccess
-
Makes the provided classes available for JNI access at run time.
- register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeProxyCreation
-
Enables registering specifications of
Proxy
classes during the image build so that matching proxy objects can be created at runtime. - register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided classes available for reflection at run time.
- register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
-
Makes the provided classes available for serialization at runtime.
- register(Class<?>, LibraryExport<?>...) - Static method in class com.oracle.truffle.api.library.LibraryExport
-
Called only by code generated by
ExportLibrary
. - register(Class<T>, LibraryFactory<T>) - Static method in class com.oracle.truffle.api.library.LibraryFactory
- register(Executable...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeJNIAccess
-
Makes the provided methods available for JNI access at run time.
- register(Executable...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided methods available for reflection at run time.
- register(Field...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeJNIAccess
-
Makes the provided fields available for JNI access at run time.
- register(Field...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided fields available for reflection at run time.
- register(String, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSystemProperties
-
Define a system property setting for image runtime.
- registerAllClasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getClasses()
on the provided class at run time. - registerAllConstructors(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getConstructors()
on the provided class at run time. - registerAllDeclaredClasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getDeclaredClasses()
on the provided class at run time. - registerAllDeclaredConstructors(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getDeclaredConstructors()
on the provided class at run time. - registerAllDeclaredFields(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getDeclaredFields()
on the provided class at run time. - registerAllDeclaredMethods(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getDeclaredMethods()
on the provided class at run time. - registerAllFields(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getFields()
on the provided class at run time. - registerAllMethods(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getMethods()
on the provided class at run time. - registerAllNestMembers(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getNestMembers()
on the provided class at run time. - registerAllPermittedSubclasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getPermittedSubclasses()
on the provided class at run time. - registerAllRecordComponents(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getRecordComponents()
on the provided class at run time. - registerAllSigners(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getSigners()
on the provided class at run time. - registerAsAccessed(Field) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers the provided field as accesses, i.e., the static analysis assumes the field is used even if there are no explicit reads or writes in the bytecodes.
- registerAsImmutable(Object) - Method in interface org.graalvm.nativeimage.hosted.Feature.CompilationAccess
-
Hint to the native image generator that the given object is immutable at runtime, i.e., can be placed in a read-only section of the native image heap.
- registerAsImmutable(Object, Predicate<Object>) - Method in interface org.graalvm.nativeimage.hosted.Feature.CompilationAccess
-
Register the object, and everything it transitively references, as immutable.
- registerAsInHeap(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers the provided type as instantiated, i.e., the static analysis assumes that instances of this type exist at run time even if there is no explicit instantiation in the bytecodes.
- registerAsQueried(Executable...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided methods available for reflection queries at run time.
- registerAsUnsafeAccessed(Field) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers the provided field as written or read by
Unsafe
, i.e., the static analysis merges together all values of unsafe accessed fields of a specific type. - registerAsUnsafeAllocated(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers the provided type as allocatable without running a constructor, via Unsafe.allocateInstance or via the JNI function AllocObject.
- registerAsUsed(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers the provided type a used, i.e., metadata for the type is put into the native image.
- registerClassInitializerReachabilityHandler(Consumer<Feature.DuringAnalysisAccess>, Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers a callback that is invoked once
during analysis
when the class initializer for the given type is determined to be reachable at run time. - registerClassLookup(String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided class available for reflection at run time.
- registerConstructorLookup(Class<?>, Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided constructor available for reflection queries at run time.
- registerFieldLookup(Class<?>, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided field available for reflection at run time.
- registerFieldValueTransformer(Field, FieldValueTransformer) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers a field value transformer for the provided field.
- registerForDowncall(Object, Object...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeForeignAccess
-
Registers the provided function descriptor and options pair at image build time for downcalls into foreign code.
- registerForReflectiveInstantiation(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided classes available for reflective instantiation by
Class.newInstance()
. - registerForUpcall(Object, Object...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeForeignAccess
-
Registers the provided function descriptor and options pair at image build time for upcalls from foreign code.
- registerIncludingAssociatedClasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
-
Register the specified serialization target class itself and all associated classes.
- registerLambdaCapturingClass(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
-
Makes a class available for serialization at runtime that is created for the lambda expressions (a class that has a $deserializeLambda$ method) specified by the lambdaCapturingClass.
- registerMethodLookup(Class<?>, String, Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided method available for reflection queries at run time.
- registerMethodOverrideReachabilityHandler(BiConsumer<Feature.DuringAnalysisAccess, Executable>, Executable) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers a callback that is invoked once during analysis for each time a method that overrides the specified {param baseMethod} is determined to be reachable at run time.
- registerObjectReachabilityHandler(Consumer<T>, Class<T>) - Method in interface org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess
-
Register a callback that is executed when an object of type
clazz
, or any of its subtypes, is marked as reachable during heap scanning. - registerObjectReplacer(Function<Object, Object>) - Method in interface org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess
-
Registers the provided function to replace objects.
- registerOnDispose(Closeable) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Registers
Closeable
for automatic close on context dispose. - registerProxyClass(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
-
Makes a dynamic proxy class (class that extends
Proxy
) available for serialization at runtime that is specified by the given interfaces the proxy class implements. - registerReachabilityHandler(Consumer<Feature.DuringAnalysisAccess>, Object...) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers a callback that is invoked once
during analysis
when any of the provided elements is determined to be reachable at run time. - registerRecurringCallback(long, TimeUnit, Threading.RecurringCallback) - Static method in class org.graalvm.nativeimage.Threading
-
Registers a
callback handler
that is called by the current thread approximately at the provided interval. - registerService(Object) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Registers additional service.
- registerService(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Registers additional services provided by the language.
- registerSubtypeReachabilityHandler(BiConsumer<Feature.DuringAnalysisAccess, Class<?>>, Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers a callback that is invoked once
during analysis
for each time a subtype of the class specified by {param baseClass} is determined to be reachable at run time. - registerWithTargetConstructorClass(Class<?>, Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
-
Makes the provided class available for serialization at runtime but uses the provided customTargetConstructorClazz for deserialization.
- relativize(TruffleFile) - Method in class com.oracle.truffle.api.TruffleFile
- RelocatedPointer - Interface in org.graalvm.nativeimage.c.function
-
A pointer which is relocated when the native image is loaded at runtime.
- remove() - Method in interface org.graalvm.collections.MapCursor
-
Remove the current entry from the map.
- remove(long) - Method in interface org.graalvm.polyglot.proxy.ProxyArray
-
Removes the element at the given index.
- remove(E) - Method in interface org.graalvm.collections.EconomicSet
-
Removes
element
from this set if it is present. - removeActiveListener(Consumer<Boolean>) - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Remove a listener that is notified when
active
value of this reporter changes. - removeAll(Iterable<E>) - Method in interface org.graalvm.collections.EconomicSet
-
Removes from this set all of its elements that are contained in
values
. - removeAll(Iterator<E>) - Method in interface org.graalvm.collections.EconomicSet
-
Removes from this set all of its elements that are enumerated by
iterator
. - removeAll(EconomicSet<E>) - Method in interface org.graalvm.collections.EconomicSet
-
Removes from this set all of its elements that are contained in
other
. - removeArrayElement(long) - Method in class org.graalvm.polyglot.Value
-
Removes an array element at a given index.
- removeArrayElement(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Remove an array element from the receiver object.
- removeBreakpointAddedListener(Consumer<Breakpoint>) - Method in class com.oracle.truffle.api.debug.Debugger
-
Remove a listener that was added by
Debugger.addBreakpointAddedListener(Consumer)
. - removeBreakpointRemovedListener(Consumer<Breakpoint>) - Method in class com.oracle.truffle.api.debug.Debugger
-
Remove a listener that was added by
Debugger.addBreakpointRemovedListener(Consumer)
. - removeHashEntry(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Removes the mapping for a given key from the hash map.
- removeHashEntry(Object) - Method in class org.graalvm.polyglot.Value
-
Removes the mapping for a given key.
- removeHashEntry(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Removes the mapping for a given key from the receiver.
- removeHashEntry(Value) - Method in interface org.graalvm.polyglot.proxy.ProxyHashMap
-
Removes the mapping for a given key.
- removeKey(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Removes the property with the given key from the object.
- removeKey(K) - Method in interface org.graalvm.collections.EconomicMap
-
Removes the mapping for
key
from this map if it is present. - removeKey(K) - Method in class org.graalvm.collections.EconomicMapWrap
- removeMember(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Removes a member from the receiver object.
- removeMember(String) - Method in interface org.graalvm.polyglot.proxy.ProxyObject
-
Removes a member key and its value.
- removeMember(String) - Method in class org.graalvm.polyglot.Value
-
Removes a single member from the object.
- removeProperty(Property) - Method in class com.oracle.truffle.api.object.Shape
-
Remove the given property from the shape.
- RepeatingNode - Interface in com.oracle.truffle.api.nodes
-
A node that is repeatedly invoked as part of a Truffle loop control structure.
- repeatUncached(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.RepeatNode
. - replace(T) - Method in class com.oracle.truffle.api.nodes.Node
-
Replaces this node with another node.
- replace(T, CharSequence) - Method in class com.oracle.truffle.api.nodes.Node
-
Replaces this node with another node.
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in interface org.graalvm.collections.EconomicMap
-
Replaces each entry's value with the result of invoking
function
on that entry until all entries have been processed or the function throws an exception. - replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class org.graalvm.collections.EconomicMapWrap
- replaceChild(Node, Node, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- replacement() - Method in record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Returns the value of the
replacement
record component. - ReplacementString(TruffleString, int) - Constructor for record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Creates an instance of a
ReplacementString
record class. - ReplaceObserver - Interface in com.oracle.truffle.api
-
An observer that is notified whenever a child node is replaced.
- replaceProperty(Property, Property) - Method in class com.oracle.truffle.api.object.Shape
-
Replace a property in the shape.
- replaces() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
Declares other specializations of the same operation to be replaced by this specialization.
- reportLoopCount(Node, int) - Static method in class com.oracle.truffle.api.nodes.LoopNode
-
Reports the execution count of a loop for which no
LoopNode
was used. - reportPolymorphicSpecialize() - Method in class com.oracle.truffle.api.nodes.Node
-
Notifies the runtime that this node specialized to a polymorphic state.
- ReportPolymorphism - Annotation Interface in com.oracle.truffle.api.dsl
-
Enables reporting of polymorphic specializations from this node or exported message to the runtime.
- ReportPolymorphism.Exclude - Annotation 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
. - ReportPolymorphism.Megamorphic - Annotation Interface in com.oracle.truffle.api.dsl
-
Specializations annotated with this annotation are considered megamorphic.
- requireAnalysisIteration() - Method in interface org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess
-
Notifies the static analysis that changes are made that enforce a new iteration of the analysis.
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- requireStatic() - Element in annotation interface org.graalvm.nativeimage.c.function.CLibrary
-
Specifies if static linking is required.
- reservedAddressSpaceSize(UnsignedWord) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
-
Sets the size in bytes for the reserved virtual address space of the new isolate.
- reset() - Method in class com.oracle.truffle.api.profiles.BranchProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.CountingConditionProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.Profile
-
Resets this profile to its uninitialized state.
- reset() - Method in class org.graalvm.collections.LockFreePrefixTree
-
Resets the tree.
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
-
Resets this profile to its uninitialized state.
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Resets this profile to its uninitialized state.
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Resets this profile to its uninitialized state.
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Resets this profile to its uninitialized state.
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedProfile
-
Resets this profile to its uninitialized state.
- Reset - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The field is reset to the default value (null, 0, false).
- resetInterrupted() - Method in interface com.oracle.truffle.api.TruffleSafepoint.Interrupter
-
Resets the interrupted state when executing on a thread after the thread was interrupted.
- resetLimits() - Method in class org.graalvm.polyglot.Context
-
Resets all accumulators of resource limits for the associated context to zero.
- resetShape(DynamicObject, Shape) - Method in class com.oracle.truffle.api.object.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).
- resolve(Class<? extends Library>, String) - Static method in class com.oracle.truffle.api.library.Message
-
Resolves a message globally for a given library class and message name.
- resolve(Class<? extends Library>, String, boolean) - Static method in class com.oracle.truffle.api.library.Message
-
Resolves a message globally for a given library class and message name.
- resolve(Class<T>) - Static method in class com.oracle.truffle.api.library.LibraryFactory
-
Looks up the resolved library instance for a library class.
- resolve(String) - Method in class com.oracle.truffle.api.TruffleFile
-
Resolves given string path representation against this
TruffleFile
. - resolveListener(Breakpoint.ResolveListener) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Set a resolve listener.
- resolveSibling(String) - Method in class com.oracle.truffle.api.TruffleFile
-
Resolves given string path representation against the parent of this
TruffleFile
. - resolveSource(Source) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Resolve the source with respect to the actual
source path
. - resolveValueClass(Object) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
-
Called to resolve the class of a value provided in
SpecializationStatistics.NodeStatistics.acceptExecute(int, Class)
. - ResourceLimitEvent - Class in org.graalvm.polyglot
-
Event triggered by a resource limit for a context.
- resourceLimits(ResourceLimits) - Method in class org.graalvm.polyglot.Context.Builder
-
Assigns resource limit configuration to a context.
- ResourceLimits - Class in org.graalvm.polyglot
-
Represents resource limits configuration that is used to configure contexts.
- ResourceLimits.Builder - Class in org.graalvm.polyglot
-
A builder used to construct resource limits.
- restoreParentFrame(VirtualFrame, VirtualFrame) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Restores the contents of the
osrFrame
back into theparentFrame
after OSR. - restoreParentFrameFromArguments(Object[]) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Return the parent frame that was stored in an arguments array by a previous call to
BytecodeOSRNode.storeParentFrameInArguments(com.oracle.truffle.api.frame.VirtualFrame)
. - restoreStepping() - Method in class com.oracle.truffle.api.debug.Debugger
-
Restore the stepping on the current thread.
- Resumable Usage: - Search tag in class com.oracle.truffle.api.nodes.BlockNode
- Section
- resume(Thread) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Resumes the execution on a given thread if it has not been suspended yet.
- resume(Future<Void>) - Method in class com.oracle.truffle.api.TruffleContext
-
Resume previously paused execution on all threads for this context.
- resumeAll() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Resumes all suspended executions that have not yet been notified.
- resumeMethodPrefix() - Element in annotation interface com.oracle.truffle.api.instrumentation.GenerateWrapper
-
Prefix of methods that resume execution after
yield
. - retainAll(EconomicSet<E>) - Method in interface org.graalvm.collections.EconomicSet
-
Removes from this set all of its elements that are not contained in
other
. - RETURN_NEGATIVE - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.ErrorHandling
-
This mode will cause a negative value to be returned in all error cases.
- REUSE - Enum constant in enum class com.oracle.truffle.api.TruffleLanguage.ContextPolicy
-
Use a single
TruffleLanguage
instance per context instance, but allow the reuse of a language instance when a context wasdisposed
. - rewriteOn() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
Declares an event guards that trigger re-specialization in case an exception is thrown in the specialization body.
- root() - Method in class org.graalvm.collections.LockFreePrefixTree
-
The root node of the tree.
- root() - Method in class org.graalvm.collections.SeqLockPrefixTree
-
The root node of the tree.
- ROOT - Enum constant in enum class com.oracle.truffle.api.debug.SourceElement
-
Denotes program locations that represent a function of a guest language.
- RootCallTarget - Interface in com.oracle.truffle.api
-
Represents the target of a call to a
RootNode
, i.e., to another tree of nodes. - rootInstance(DebugValue) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies the breakpoint's root instance.
- rootNameFilter(Predicate<String>) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
-
Set an addition filter execution events by root name.
- rootNameIs(Predicate<String>) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Adds custom predicate to filter inclusion for
root names
. - RootNode - Class in com.oracle.truffle.api.nodes
-
Represents the root node in a Truffle AST.
- RootNode(TruffleLanguage<?>) - Constructor for class com.oracle.truffle.api.nodes.RootNode
-
Creates new root node with a given language instance.
- RootNode(TruffleLanguage<?>, FrameDescriptor) - Constructor for class com.oracle.truffle.api.nodes.RootNode
-
Creates new root node given an language environment and frame descriptor.
- roots(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
-
Include program locations that are marked as root of a function, method or closure.
- rootSourceSectionEquals(SourceSection...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all root source sections that equal one of the given source sections.
- run(Threading.RecurringCallbackAccess) - Method in interface org.graalvm.nativeimage.Threading.RecurringCallback
-
Method that is called recurringly when the callback handler is installed.
- runInContext(Supplier<T>) - Method in class com.oracle.truffle.api.debug.DebugContext
-
Run supplied operations in this context.
- RUNTIME_ERROR - Enum constant in enum class com.oracle.truffle.api.interop.ExceptionType
-
Indicates a guest language error.
- RuntimeClassInitialization - Class in org.graalvm.nativeimage.hosted
-
This class provides methods that can be called during native-image building to configure class initialization behavior.
- RuntimeForeignAccess - Class in org.graalvm.nativeimage.hosted
- RuntimeJNIAccess - Class in org.graalvm.nativeimage.hosted
-
This class provides methods that can be called during native image generation to register classes, methods, and fields for JNI access at run time.
- RuntimeOptions - Class in org.graalvm.nativeimage
-
Used for manipulating options at run time.
- RuntimeOptions.Descriptor - Interface in org.graalvm.nativeimage
- RuntimeProxyCreation - Class in org.graalvm.nativeimage.hosted
-
This class can be used to make creating dynamic proxy classes at run time valid.
- RuntimeReflection - Class in org.graalvm.nativeimage.hosted
-
This class provides methods that can be called during native image generation to register classes, methods, and fields for reflection at run time.
- RuntimeResourceAccess - Class in org.graalvm.nativeimage.hosted
-
This class can be used to register Java resources and ResourceBundles that should be accessible at run time.
- RuntimeSerialization - Class in org.graalvm.nativeimage.hosted
-
This class provides methods that can be called before and during analysis, to register classes for serialization at image runtime.
- RuntimeSystemProperties - Class in org.graalvm.nativeimage.hosted
-
This class provides methods that can be called during native image generation to define system property setting for image runtime.
S
- S1 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
One byte per array element.
- S2 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Two bytes per array element.
- S4 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Four bytes per array element.
- safepoint() - Method in class org.graalvm.polyglot.Context
-
Polls safepoints events and executes them for the current thread.
- sandbox() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
Specifies the most strict sandbox policy in which the instrument can be used.
- sandbox() - Element in annotation interface com.oracle.truffle.api.Option
-
Specifies the most strict sandbox policy in which the option can be used.
- sandbox() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Specifies the most strict sandbox policy in which the language can be used.
- sandbox(SandboxPolicy) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets a code sandbox policy to a context.
- sandbox(SandboxPolicy) - Method in class org.graalvm.polyglot.Engine.Builder
-
Sets a code sandbox policy to an engine.
- SandboxPolicy - Enum Class in org.graalvm.polyglot
- saveInputValue(VirtualFrame, int, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Saves an input value reported by
ExecutionEventNode.onInputValue(VirtualFrame, EventContext, int, Object)
for use in later events. - SCOPED - Static variable in class org.graalvm.polyglot.HostAccess
-
Predefined host access policy that is the same as EXPLICIT and enables method scoping of callback parameter values on top.
- Scoped Values - Search tag in class org.graalvm.polyglot.Value
- Section
- send(Object, Message, Object...) - Method in class com.oracle.truffle.api.library.ReflectionLibrary
-
Sends a given message to the target receiver with the provided arguments.
- sendBinary(ByteBuffer) - Method in interface org.graalvm.polyglot.io.MessageEndpoint
-
Send a binary message.
- sendClose() - Method in interface org.graalvm.polyglot.io.MessageEndpoint
-
Close the connection.
- Sending Messages - Search tag in class com.oracle.truffle.api.library.ReflectionLibrary
- Section
- sendPing(ByteBuffer) - Method in interface org.graalvm.polyglot.io.MessageEndpoint
-
Send a ping request.
- sendPong(ByteBuffer) - Method in interface org.graalvm.polyglot.io.MessageEndpoint
-
Send a pong reply as a response to ping.
- sendText(String) - Method in interface org.graalvm.polyglot.io.MessageEndpoint
-
Send a text message.
- SeqLockPrefixTree - Class in org.graalvm.collections
-
Thread-safe prefix-tree implementation in which keys are sequences of 64-bit values, and the values are 64-bit values.
- SeqLockPrefixTree() - Constructor for class org.graalvm.collections.SeqLockPrefixTree
-
Create new
SeqLockPrefixTree
with root being a Node with key 0. - SeqLockPrefixTree.Node - Class in org.graalvm.collections
- seqlockValue() - Method in class org.graalvm.collections.SeqLockPrefixTree.Node
- serverTransport(MessageTransport) - Method in class org.graalvm.polyglot.Context.Builder
-
Take over the transport of messages communication with a server peer.
- serverTransport(MessageTransport) - Method in class org.graalvm.polyglot.Engine.Builder
-
Take over transport of message communication with a server peer.
- services() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
Declarative list of classes this instrument is known to provide.
- services() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Declarative list of classes this language is known to provide.
- Session lifetime - Search tag in class com.oracle.truffle.api.debug.DebuggerSession
- Section
- set(long, Value) - Method in interface org.graalvm.polyglot.proxy.ProxyArray
-
Sets the element at the given index.
- set(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Sets the value using another
DebugValue
. - set(Node) - Method in class com.oracle.truffle.api.nodes.EncapsulatingNodeReference
-
Sets the current encapsulating node for the current thread and returns its previous value.
- set(Node, boolean) - Method in class com.oracle.truffle.api.dsl.InlineSupport.BooleanField
-
This method sets the value of the target field giving the a target node.
- set(Node, byte) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ByteField
-
This method sets the value of the target field giving the a target node.
- set(Node, char) - Method in class com.oracle.truffle.api.dsl.InlineSupport.CharField
-
This method sets the value of the target field giving the a target node.
- set(Node, double) - Method in class com.oracle.truffle.api.dsl.InlineSupport.DoubleField
-
This method sets the value of the target field giving the a target node.
- set(Node, float) - Method in class com.oracle.truffle.api.dsl.InlineSupport.FloatField
-
This method sets the value of the target field giving the a target node.
- set(Node, int) - Method in class com.oracle.truffle.api.dsl.InlineSupport.IntField
-
This method sets the value of the target field giving the a target node.
- set(Node, int) - Method in class com.oracle.truffle.api.dsl.InlineSupport.StateField
-
This method sets the value of the target field giving the a target node.
- set(Node, long) - Method in class com.oracle.truffle.api.dsl.InlineSupport.LongField
-
This method sets the value of the target field giving the a target node.
- set(Node, short) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ShortField
-
This method sets the value of the target field giving the a target node.
- set(Node, T) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ReferenceField
-
This method sets the value of the target field giving the a target node.
- set(DynamicObject, Object, Shape) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- set(DynamicObject, Object, Shape, Shape) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- set(Object) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Deprecated.
- set(String, Object) - Static method in class org.graalvm.nativeimage.RuntimeOptions
-
Set the value of the option with the provided name to the new value.
- set(OptionKey<T>, T) - Method in interface org.graalvm.options.OptionValues
-
Deprecated.
OptionValues
should be read-only. If the value of an option needs to be altered after options are set, then the new value should be stored in the language's context or instrument fields and read from there. - set(T) - Method in class com.oracle.truffle.api.utilities.AssumedValue
-
Set a new value, which will be picked up the next time
AssumedValue.get()
is called. - setAllowActions(boolean) - Method in class com.oracle.truffle.api.TruffleSafepoint
-
Allows to temporarily delay all thread local actions on the current thread.
- setAllowSideEffects(boolean) - Method in class com.oracle.truffle.api.TruffleSafepoint
-
Allows to temporarily delay side-effecting thread local actions on the current thread.
- setArgumentVectorProgramName(String) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
If the running image is an executable the program name that is stored in the argument vector of the running process gets replaced with the given name.
- setArrayElement(long, Object) - Method in class org.graalvm.polyglot.Value
-
Sets the value at a given index.
- setAsynchronousStackDepth(int) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Request for languages to provide stack frames of scheduled asynchronous execution.
- setAsynchronousStackDepth(int) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Request for languages to provide stack frames of scheduled asynchronous execution.
- setAttribute(TruffleFile.AttributeDescriptor<T>, T, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Sets a single file's attribute.
- setAttribute(Path, String, Object, LinkOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Sets a file's attribute.
- setAuxiliarySlot(int, Object) - Method in interface com.oracle.truffle.api.frame.Frame
-
Sets the value of the given auxiliary slot.
- setBlocked(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.Interruptible<T>, T, Runnable, Consumer<Throwable>) - Method in class com.oracle.truffle.api.TruffleSafepoint
- setBlockedFunction(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.InterruptibleFunction<T, R>, T, Runnable, Consumer<Throwable>) - Method in class com.oracle.truffle.api.TruffleSafepoint
-
Transitions the current thread into a blocked state and calls an interruptible functional method.
- setBlockedThreadInterruptible(Node, TruffleSafepoint.Interruptible<T>, T) - Static method in class com.oracle.truffle.api.TruffleSafepoint
-
Short-cut method to allow setting the blocked status for methods that throw
InterruptedException
and support interrupting usingThread.interrupt()
. - setBlockedThreadInterruptibleFunction(Node, TruffleSafepoint.InterruptibleFunction<T, R>, T) - Static method in class com.oracle.truffle.api.TruffleSafepoint
-
Short-cut method to allow setting the blocked status for methods that throw
InterruptedException
and support interrupting usingThread.interrupt()
. - setBlockedWithException(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.Interruptible<T>, T, Runnable, Consumer<Throwable>) - Method in class com.oracle.truffle.api.TruffleSafepoint
- setBoolean(int, boolean) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type boolean.
- setBoolean(DynamicObject, boolean, Shape) - Method in interface com.oracle.truffle.api.object.BooleanLocation
-
Deprecated.
- setBoolean(Object, boolean) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the boolean value represented by this StaticProperty and stored in the specified static object.
- setBooleanStatic(int, boolean) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type boolean.
- setBooleanVolatile(Object, boolean) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the boolean value represented by this StaticProperty and stored in the specified static object.
- setBreakpointsActive(boolean) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Deprecated.
- setBreakpointsActive(Breakpoint.Kind, boolean) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set whether breakpoints of the given kind are active in this session.
- setByte(int, byte) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type byte.
- setByte(Object, byte) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the byte value represented by this StaticProperty and stored in the specified static object.
- setByteStatic(int, byte) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type byte.
- setByteVolatile(Object, byte) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the byte value represented by this StaticProperty and stored in the specified static object.
- setChar(Object, char) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the char value represented by this StaticProperty and stored in the specified static object.
- setCharVolatile(Object, char) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the char value represented by this StaticProperty and stored in the specified static object.
- setCondition(String) - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Assigns to this breakpoint a boolean expression whose evaluation will determine whether the breakpoint suspends execution (i.e.
- setContextsListener(DebugContextsListener, boolean) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set a
listener
to be notified about changes in contexts in guest language application. - setCreationTime(FileTime, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Sets the file's creation time.
- setCurrentWorkingDirectory(TruffleFile) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Sets the current working directory.
- setCurrentWorkingDirectory(Path) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Sets the current working directory.
- setDouble(int, double) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type double.
- setDouble(DynamicObject, double, Shape) - Method in interface com.oracle.truffle.api.object.DoubleLocation
-
Deprecated.
- setDouble(Object, double) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the double value represented by this StaticProperty and stored in the specified static object.
- setDoubleStatic(int, double) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type double.
- setDoubleVolatile(Object, double) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the double value represented by this StaticProperty and stored in the specified static object.
- setDynamicType(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Sets the object's dynamic type identifier.
- setDynamicType(Object) - Method in class com.oracle.truffle.api.object.Shape
-
Returns a copy of the shape, with the dynamic object type identifier set to
dynamicType
. - setEnabled(boolean) - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Controls whether this breakpoint is currently allowed to suspend execution (true by default).
- setFlags(int) - Method in class com.oracle.truffle.api.object.Shape
-
Returns a copy of the shape, with the shape flags set to
newFlags
. - setFloat(int, float) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type float.
- setFloat(Object, float) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the float value represented by this StaticProperty and stored in the specified static object.
- setFloatStatic(int, float) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type float.
- setFloatVolatile(Object, float) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the float value represented by this StaticProperty and stored in the specified static object.
- setIgnoreCount(int) - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Changes the number of times the breakpoint must be executed before it hits (i.e.
- setInt(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type int.
- setInt(DynamicObject, int, Shape) - Method in interface com.oracle.truffle.api.object.IntLocation
-
Deprecated.
- setInt(Object, int) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the int value represented by this StaticProperty and stored in the specified static object.
- setIntStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type int.
- setIntVolatile(Object, int) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the int value represented by this StaticProperty and stored in the specified static object.
- setLastAccessTime(FileTime, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Sets the file's last access time.
- setLastModifiedTime(FileTime, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Sets the file's last modified time.
- setLocale(String, String) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Set the program locale.
- setLong(int, long) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type long.
- setLong(DynamicObject, long, Shape) - Method in interface com.oracle.truffle.api.object.LongLocation
-
Deprecated.
- setLong(Object, long) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the long value represented by this StaticProperty and stored in the specified static object.
- setLongStatic(int, long) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type long.
- setLongVolatile(Object, long) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the long value represented by this StaticProperty and stored in the specified static object.
- setObject(int, Object) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type
Object
. - setObject(Object, Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the
Object
value represented by this StaticProperty and stored in the specified static object. - setObjectArray(DynamicObject, Object[]) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- setObjectStatic(int, Object) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type
Object
. - setObjectVolatile(Object, Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the
Object
value represented by this StaticProperty and stored in the specified static object. - setOSRMetadata(Object) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Sets the OSR metadata for this instance.
- setPosixPermissions(Set<? extends PosixFilePermission>, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Sets the file's Posix permissions.
- setPrimitiveArray(DynamicObject, int[]) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- setPropertyFlags(DynamicObject, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Sets the property flags associated with the requested property.
- setProtectionDomain(Isolates.ProtectionDomain) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
-
Sets the
Isolates.ProtectionDomain
for an isolate. - setReturnValue(DebugValue) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Change the return value.
- setShape(DynamicObject, Shape) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- setShapeFlags(DynamicObject, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Sets language-specific object shape flags, changing the object's shape if need be.
- setShort(Object, short) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the short value represented by this StaticProperty and stored in the specified static object.
- setShortVolatile(Object, short) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the short value represented by this StaticProperty and stored in the specified static object.
- setShowHostStackFrames(boolean) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set to provide host information in stack traces.
- setSlotKind(int, FrameSlotKind) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Sets the
FrameSlotKind
of the given indexed slot. - setSourcePath(Iterable<URI>) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set a list of source path roots that are used to resolve relative
source URIs
. - setStackTrace(StackTraceElement[]) - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Unsupported,
DebugException
instances are not writable therefore setting the stack trace has no effect for them. - setStackTrace(StackTraceElement[]) - Method in exception class org.graalvm.polyglot.PolyglotException
-
Unsupported,
PolyglotException
instances are not writable therefore setting the stack trace has no effect for them. - setSteppingFilter(SuspensionFilter) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set a stepping suspension filter.
- setThreadsListener(DebugThreadsListener, boolean) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set a
listener
to be notified about changes in threads in guest language application. - setValue(long) - Method in class org.graalvm.collections.LockFreePrefixTree.Node
-
Set the value for the
LockFreePrefixTree.Node
. - setValue(long) - Method in class org.graalvm.collections.SeqLockPrefixTree.Node
-
Set the value for the
LockFreePrefixTree.Node
. - setValue(V) - Method in interface org.graalvm.collections.MapCursor
-
Set the value of the current entry.
- severe(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
severe level
. - severe(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
severe level
. - Shape - Class 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.
- Shape() - Constructor for class com.oracle.truffle.api.object.Shape
-
Constructor for subclasses.
- Shape.Builder - Class in com.oracle.truffle.api.object
-
Builder class to construct initial
Shape
instances. - Shape.DerivedBuilder - Class in com.oracle.truffle.api.object
-
Builder class to construct derived
Shape
instances. - shapeFlags(int) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Sets initial shape flags (default: 0).
- shapeFlags(int) - Method in class com.oracle.truffle.api.object.Shape.DerivedBuilder
-
Sets initial shape flags (default: 0).
- shared(boolean) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
If
true
, makes the object shared (default:false
). - SHARED - Enum constant in enum class com.oracle.truffle.api.TruffleLanguage.ContextPolicy
-
Use one
TruffleLanguage
instance for many language context instances. - sharedData(Object) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Sets shared data to be associated with the root shape and any derived shapes (e.g.
- Shift_JIS - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Shift-JIS.
- shiftLeft(int) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this << n)
. - shiftLeft(int) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this << n)
. - shiftLeft(UnsignedWord) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this << n)
. - shiftLeft(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this << n)
. - shortName() - Element in annotation interface com.oracle.truffle.api.nodes.NodeInfo
-
Short name representing the node that can be used for debugging.
- shouldContinue(Object) - Method in interface com.oracle.truffle.api.nodes.RepeatingNode
-
Predicate called on values returned by
executeRepeatingWithValue()
. - shouldNotReachHere() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Indicates a code path that is not supposed to be reached during compilation or interpretation.
- shouldNotReachHere(String) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Indicates a code path that is not supposed to be reached during compilation or interpretation.
- shouldNotReachHere(String, Throwable) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Indicates a code path that is not supposed to be reached during compilation or interpretation.
- shouldNotReachHere(Throwable) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Indicates a code path that is not supposed to be reached during compilation or interpretation.
- shutdown() - Method in class org.graalvm.collections.LockFreePrefixTree.Allocator
-
Releases the allocator's resources.
- shutdown() - Method in class org.graalvm.collections.LockFreePrefixTree.HeapAllocator
- shutdown() - Method in class org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator
- shutdown() - Static method in class org.graalvm.nativeimage.VMRuntime
-
Shuts down the VM: Runs all shutdown hooks and waits for all finalization to complete.
- signed(int) - Static method in class org.graalvm.word.WordFactory
-
Unsafe conversion from a Java int value to a Word.
- signed(long) - Static method in class org.graalvm.word.WordFactory
-
Unsafe conversion from a Java long value to a Word.
- signedDivide(int) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this / val)
. - signedDivide(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this / val)
. - signedRemainder(int) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this % val)
. - signedRemainder(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this % val)
. - signedShiftRight(int) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this >> n)
. - signedShiftRight(UnsignedWord) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this >> n)
. - SignedWord - Interface in org.graalvm.word
-
Represents a signed word-sized value.
- Simple Usage: - Search tag in class com.oracle.truffle.api.nodes.BlockNode
- Section
- singleContextAssumption(Assumption) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Sets an assumption that allows specializations on constant object instances with this shape, as long as the assumption is valid.
- size() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the number of bits of space actually in use by this
FinalBitSet
to represent bit values. - size() - Method in class org.graalvm.collections.EconomicMapWrap
- size() - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
-
Returns the number of key-value mappings in this map.
- size() - Method in interface org.graalvm.collections.UnmodifiableEconomicSet
-
Returns the number of elements in this set.
- size(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the size of a file.
- SIZE - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's size in bytes.
- SIZE_UNKNOWN - Static variable in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Constant specifying an unknown size.
- SizeOf - Class in org.graalvm.nativeimage.c.struct
-
Contains static methods that provide access to the size of dereferenced SystemJava pointer types (i.e.
- sizeProvider() - Element in annotation interface org.graalvm.nativeimage.c.struct.RawStructure
-
Class of a function that computes the size of the structure.
- SJIS_DoCoMo - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
SJIS-DoCoMo.
- SJIS_KDDI - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
SJIS-KDDI.
- SJIS_SoftBank - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
SJIS-SoftBank.
- SLOWPATH_PROBABILITY - Static variable in class com.oracle.truffle.api.CompilerDirectives
- SlowPathException - Exception Class in com.oracle.truffle.api.nodes
-
An exception thrown to enter a slow path.
- SlowPathException() - Constructor for exception class com.oracle.truffle.api.nodes.SlowPathException
-
Creates an exception thrown to enter a slow path.
- SlowPathException(String) - Constructor for exception class com.oracle.truffle.api.nodes.SlowPathException
-
Creates an exception thrown to enter a slow path.
- SlowPathException(String, Throwable) - Constructor for exception class com.oracle.truffle.api.nodes.SlowPathException
-
Creates an exception thrown to enter a slow path.
- SlowPathException(Throwable) - Constructor for exception class com.oracle.truffle.api.nodes.SlowPathException
-
Creates an exception thrown to enter a slow path.
- Source - Class in com.oracle.truffle.api.source
-
Representation of a source code unit and its contents that can be evaluated in a language.
- Source - Class in org.graalvm.polyglot
-
Representation of a source code unit and its contents that can be evaluated in an execution
context
. - SOURCE_LOCATION - Enum constant in enum class com.oracle.truffle.api.debug.Breakpoint.Kind
-
Represents breakpoints submitted for a particular source code location.
- Source.Builder - Class in org.graalvm.polyglot
-
Represents a builder to build
Source
objects. - Source.LiteralBuilder - Class in com.oracle.truffle.api.source
- Source.SourceBuilder - Class in com.oracle.truffle.api.source
- SourceElement - Enum Class in com.oracle.truffle.api.debug
-
Representation of a guest language source syntax element, that is used for debugging purposes.
- sourceElements(SourceElement...) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies which source elements will this breakpoint adhere to.
- sourceElements(SourceElement...) - Method in class com.oracle.truffle.api.debug.Breakpoint.ExceptionBuilder
-
Specifies which source elements will this breakpoint adhere to.
- sourceElements(SourceElement...) - Method in class com.oracle.truffle.api.debug.StepConfig.Builder
-
Provide a list of
SourceElement
s that are enabled for the step. - sourceFilter(SourceFilter) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a source filter.
- sourceFilter(Predicate<Source>) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
-
Set an addition filter that filters execution events by source.
- SourceFilter - Class 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.
- SourceFilter.Builder - Class in com.oracle.truffle.api.instrumentation
-
Configure your own
SourceFilter
before creating its instance. - Source from a literal text - Search tag in class com.oracle.truffle.api.source.Source
- Section
- Source from a literal text - Search tag in class org.graalvm.polyglot.Source
- Section
- sourceIs(SourceSectionFilter.SourcePredicate) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Adds custom predicate to filter inclusion of
sources
. - sourceIs(Source...) - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
-
Add a filter for one of the given sources.
- sourceIs(Source...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections that reference one of the given sources.
- sourceIs(Predicate<Source>) - Method in class com.oracle.truffle.api.debug.SuspensionFilter.Builder
- sourceIs(Predicate<Source>) - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
-
Adds custom predicate to filter inclusion of
sources
. - SourceSection - 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. - SourceSection - Class in org.graalvm.polyglot
-
Description of contiguous section of text within a
Source
of program code.; supports multiple modes of access to the text and its location. - sourceSectionAvailableOnly(boolean) - Method in class com.oracle.truffle.api.debug.SuspensionFilter.Builder
-
Set to suspend on available source sections only.
- sourceSectionAvailableOnly(boolean) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for available source sections.
- sourceSectionEquals(SourceSection...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections that equal one of the given source sections.
- SourceSectionFilter - Class 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.
- SourceSectionFilter.Builder - Class in com.oracle.truffle.api.instrumentation
-
Configure your own
SourceSectionFilter
before creating its instance. - SourceSectionFilter.IndexRange - Class in com.oracle.truffle.api.instrumentation
-
Represents a range between two indices within a
source section filter
. - SourceSectionFilter.SourcePredicate - Interface in com.oracle.truffle.api.instrumentation
-
Represents a predicate for source objects.
- Specialization - Annotation Interface in com.oracle.truffle.api.dsl
-
Defines a method of a node subclass to represent one specialization of an operation.
- SpecializationStatistics - Class in com.oracle.truffle.api.dsl
-
Represents a specialization statistics utiltiy that can be
entered
to collect additional statistics about Truffle DSL nodes. - SpecializationStatistics.AlwaysEnabled - Annotation Interface in com.oracle.truffle.api.dsl
-
Used on nodes to always enable specialization statistics.
- SpecializationStatistics.NodeStatistics - Class in com.oracle.truffle.api.dsl
-
Class to collect statistics information per node.
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- stability() - Element in annotation interface com.oracle.truffle.api.Option
-
Defines the stability of this option.
- stability(OptionStability) - Method in class org.graalvm.options.OptionDescriptor.Builder
-
Defines the stability of this option.
- STABLE - Enum constant in enum class org.graalvm.options.OptionStability
-
A stable option is expected to remain available for many releases.
- stackSize(long) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies stack size for the threads created by this builder.
- StackValue - Class in org.graalvm.nativeimage
-
Contains static methods for memory allocation in the stack frame.
- StandardTags - Class in com.oracle.truffle.api.instrumentation
-
Set of standard tags usable by language agnostic tools.
- StandardTags.CallTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations that represent a call to other guest language functions, methods or closures.
- StandardTags.ExpressionTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations as to be considered expressions of the languages.
- StandardTags.ReadVariableTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations to be considered as reads of variables of the languages.
- StandardTags.RootBodyTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations as bodies of a function, method or closure.
- StandardTags.RootTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations as root of a function, method or closure.
- StandardTags.StatementTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations that represent a statement of a language.
- StandardTags.TryBlockTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations to be considered as try blocks, that are followed by catch.
- StandardTags.WriteVariableTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations to be considered as writes of variables of the languages.
- start() - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Starts a new subprocess using the attributes of this builder.
- start(ProcessHandler.ProcessCommand) - Method in interface org.graalvm.polyglot.io.ProcessHandler
-
A request to start a new subprocess with given attributes.
- startServer(URI, MessageEndpoint) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Start a server at the provided URI via the
MessageTransport
service. - startSession(SuspendedCallback) - Method in class com.oracle.truffle.api.debug.Debugger
-
Starts a new
session
provided with a callback that gets notified whenever the execution is suspended. - startSession(SuspendedCallback, SourceElement...) - Method in class com.oracle.truffle.api.debug.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. - startsWith(TruffleFile) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this
TruffleFile
path starts with the givenTruffleFile
path. - startsWith(String) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this
TruffleFile
path starts with the given path. - state - Variable in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- state - Variable in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- state - Variable in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- state - Variable in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- state - Variable in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- state - Variable in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- Stateless_ISO_2022_JP - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Stateless-ISO-2022-JP.
- Stateless_ISO_2022_JP_KDDI - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Stateless-ISO-2022-JP-KDDI.
- STATEMENT - Enum constant in enum class com.oracle.truffle.api.debug.SourceElement
-
Denotes program locations that represent a statement of a guest language.
- statementLimit(long, Predicate<Source>) - Method in class org.graalvm.polyglot.ResourceLimits.Builder
-
Specifies the maximum number of statements a context may execute until the onLimit event is notified and the context will be
closed
. - Statement Limit Example - Search tag in class org.graalvm.polyglot.ResourceLimits
- Section
- statements(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
-
Include program locations that are marked as statements.
- Static - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- StaticFieldBase - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The static field base Object as it would be computed by
Unsafe.staticFieldBase(Field)
. - StaticProperty - Class in com.oracle.truffle.api.staticobject
-
StaticProperty objects represent the mapping between property identifiers and storage locations within static objects.
- StaticProperty() - Constructor for class com.oracle.truffle.api.staticobject.StaticProperty
-
Constructor for subclasses.
- StaticShape<T> - 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.
- StaticShape.Builder - Class in com.oracle.truffle.api.staticobject
-
Builder class to construct
StaticShape
instances. - status() - Method in class org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator
- StepConfig - Class in com.oracle.truffle.api.debug
-
Represents a debugger step configuration.
- StepConfig.Builder - Class in com.oracle.truffle.api.debug
-
Builder of
StepConfig
. - StopIterationException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if an iterator is finished.
- storeParentFrameInArguments(VirtualFrame) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Produce the arguments that will be used to perform the call to the new OSR root.
- submitThreadLocal(TruffleContext, Thread[], ThreadLocalAction) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.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.
- submitThreadLocal(Thread[], ThreadLocalAction) - Method in class com.oracle.truffle.api.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.
- Submitting thread local actions - Search tag in class com.oracle.truffle.api.TruffleSafepoint
- Section
- subSequence(int, int) - Method in interface org.graalvm.polyglot.io.ByteSequence
-
Returns a
ByteSequence
that is a subsequence of this sequence. - subSource(int, int) - Method in class com.oracle.truffle.api.source.Source
- Substitute - Annotation Interface in com.oracle.svm.core.annotate
-
When used to annotate a method, it indicates that a method declaration is intended to be a substitute for a method declaration in another class.
- substringByteIndexUncached(int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.SubstringByteIndexNode
. - substringByteIndexUncached(int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.SubstringByteIndexNode
. - substringUncached(int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.SubstringNode
. - substringUncached(int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.SubstringNode
. - subtract(int) - Method in interface org.graalvm.word.Pointer
-
Returns a Pointer whose value is
(this - val)
. - subtract(int) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this - val)
. - subtract(int) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this - val)
. - subtract(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this - val)
. - subtract(UnsignedWord) - Method in interface org.graalvm.word.Pointer
-
Returns a Pointer whose value is
(this - val)
. - subtract(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this - val)
. - subUpdater(int, int) - Method in class com.oracle.truffle.api.dsl.InlineSupport.StateField
-
Creates a sub updater for a subset of bits in a state field.
- Supporting Safepoints in a Language - Search tag in class com.oracle.truffle.api.TruffleSafepoint
- Section
- SuppressPackageWarnings - Annotation 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 class com.oracle.truffle.api.debug.DebuggerSession
-
Suspends the current or the next execution of a given thread.
- suspendAll() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Suspends the current or the next execution on all threads.
- suspendAnchor(SuspendAnchor) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specify the breakpoint suspension anchor within the guest language source location.
- SuspendAnchor - Enum Class in com.oracle.truffle.api.debug
-
Describes where, within a guest language source section, the suspend position is.
- suspendAnchors(SourceElement, SuspendAnchor...) - Method in class com.oracle.truffle.api.debug.StepConfig.Builder
-
Provide a list of
SuspendAnchor
s for individualSourceElement
s. - SuspendedCallback - Interface in com.oracle.truffle.api.debug
- SuspendedEvent - Class 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 aBreakpoint
or stepping action. - suspendHere(Node) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Suspend immediately at the current location of the current execution thread.
- suspendNextExecution() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Suspends the next execution on the first thread that is encountered.
- suspensionFilter(SuspensionFilter) - Method in class com.oracle.truffle.api.debug.Breakpoint.ExceptionBuilder
-
A filter to limit source locations which intercept exceptions.
- SuspensionFilter - Class in com.oracle.truffle.api.debug
-
A filter to limit the suspension locations.
- SuspensionFilter.Builder - Class in com.oracle.truffle.api.debug
-
A builder for creating a suspension filter.
- swap(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Swaps, including the type, the contents of two slots.
- swapObjectStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Swaps the object values of two slots.
- swapPrimitiveStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Swaps the primitive values of two slots.
- swapStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Swaps the contents of two slots.
- switchEncodingUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.SwitchEncodingNode
. - switchEncodingUncached(TruffleString.Encoding, TranscodingErrorHandler) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.SwitchEncodingNode
. - SymbolAndHeader - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Publish
-
Create a symbol for the entry point method in the native image, and if building a shared library image, also include a C declaration in the generated C header file.
- SymbolOnly - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Publish
-
Create a symbol for the entry point method in the native image.
T
- tag - Variable in enum class com.oracle.truffle.api.frame.FrameSlotKind
- Tag - Class in com.oracle.truffle.api.instrumentation
-
Base class for tags used in the Truffle instrumentation framework.
- Tag() - Constructor for class com.oracle.truffle.api.instrumentation.Tag
-
No instances of tags allowed.
- Tag.Identifier - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Annotation applied to
Tag
subclasses to specify the tag identifier. - tagIs(Class<?>...) - Method in class com.oracle.truffle.api.instrumentation.NearestSectionFilter.Builder
-
Specify tags of the nearest source section.
- tagIs(Class<?>...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections that are tagged with one of the given tags.
- tagIsNot(Class<?>...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections that are not tagged with one of the given tags.
- TargetClass - Annotation Interface in com.oracle.svm.core.annotate
-
A class annotated with this annotation denotes a class that modifies methods of fields of another class, called the "original" class.
- TargetClass.AlwaysIncluded - Class in com.oracle.svm.core.annotate
-
The default value for the
TargetClass.onlyWith()
attribute. - TargetClass.NoClassLoaderProvider - Interface in com.oracle.svm.core.annotate
-
Marker value for
TargetClass.classLoader()
that no custom classloader should be used. - TargetClass.NoClassNameProvider - Interface in com.oracle.svm.core.annotate
-
Marker value for
TargetClass.classNameProvider()
that no class name provider should be used. - TargetElement - Annotation Interface in com.oracle.svm.core.annotate
-
Specifies additional properties for an element also annotated with
Alias
,Delete
,Substitute
,AnnotateOriginal
, orKeepOriginal
. - targetTypeMapping(Class<S>, Class<T>, Predicate<S>, Function<S, T>) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Adds a custom source to target type mapping for Java host calls, host field assignments and
explicit value conversions
. - targetTypeMapping(Class<S>, Class<T>, Predicate<S>, Function<S, T>, HostAccess.TargetMappingPrecedence) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Adds a custom source to target type mapping for Java host calls, host field assignments and
explicit value conversions
. - Target type mapping - Search tag in org.graalvm.polyglot.Value.as(Class<T>)
- Section
- TEAR_DOWN_ISOLATE - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method tears down the specified isolate.
- tearDownIsolate(IsolateThread) - Static method in class org.graalvm.nativeimage.Isolates
-
Tears down an isolate.
- Terminology - Search tag in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
- Section
- test(Source) - Method in interface com.oracle.truffle.api.instrumentation.SourceSectionFilter.SourcePredicate
-
Returns
true
if the given source should be tested positive andfalse
if the sources should be filtered. - THREAD_INTERRUPT - Static variable in interface com.oracle.truffle.api.TruffleSafepoint.Interrupter
-
A thread interrupter implementation that uses
Thread.interrupt()
andThread.interrupted()
to clear the thread state. - threadAccessDeniedHandler(Consumer<String>) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Installs handler to control what happens on multiple thread access.
- threadDisposed(DebugContext, Thread) - Method in interface com.oracle.truffle.api.debug.DebugThreadsListener
-
Notifies about disposal of thread-related resources that were used for a guest language execution in a
DebugContext
. - threadGroup(ThreadGroup) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies thread group for the threads created by this builder.
- Threading - Class in org.graalvm.nativeimage
-
Functionality related to execution in threads.
- Threading.RecurringCallback - Interface in org.graalvm.nativeimage
-
Interface that a callback handler needs to implement.
- Threading.RecurringCallbackAccess - Interface in org.graalvm.nativeimage
-
Provides methods that are available during the execution of a
Threading.RecurringCallback
. - threadInitialized(DebugContext, Thread) - Method in interface com.oracle.truffle.api.debug.DebugThreadsListener
-
Notifies about initialization of a thread to be used for a guest language execution in a
DebugContext
. - ThreadLocalAction - Class in com.oracle.truffle.api
-
Represents an action that is executed at a
safepoint
location of the guest language execution. - ThreadLocalAction(boolean, boolean) - Constructor for class com.oracle.truffle.api.ThreadLocalAction
-
Creates a new thread local action.
- ThreadLocalAction(boolean, boolean, boolean) - Constructor for class com.oracle.truffle.api.ThreadLocalAction
-
Creates a new thread local action.
- ThreadLocalAction.Access - Class in com.oracle.truffle.api
-
Argument class for
ThreadLocalAction.perform(Access)
. - ThreadsActivationListener - Interface in com.oracle.truffle.api.instrumentation
-
Listener that allows to be notified when threads become active and deactivated.
- Thread safety - Search tag in class com.oracle.truffle.api.memory.ByteArraySupport
- Section
- Thread-Safety - Search tag in class org.graalvm.polyglot.Context
- Section
- ThreadsListener - Interface in com.oracle.truffle.api.instrumentation
-
Listener to be notified about changes of threads in guest language application.
- throwException() - Method in class org.graalvm.polyglot.Value
-
Throws this value if this object represents an
exception
. - throwException(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Throws the receiver object as an exception of the source language, as if it was thrown by the source language itself.
- throwException(Throwable) - Method in interface org.graalvm.nativeimage.Threading.RecurringCallbackAccess
-
Throws an exception from the recurring callback to the code that is regularly executing in the thread.
- throwing(String, String, T) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs throwing an exception.
- timeZone(ZoneId) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets the default time zone to be used for this context.
- timeZone(ZoneId) - Method in class org.graalvm.polyglot.Context.Builder
-
Sets the default time zone to be used for this context.
- TIS_620 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
TIS-620.
- TO_NATIVE - Enum constant in enum class org.graalvm.nativeimage.c.function.CFunction.Transition
-
The thread state is transitioned from Java to C, and the Java parts of the stack are made walkable.
- toAbsolutePath(Path) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Resolves given path to an absolute path.
- toArray(E[]) - Method in interface org.graalvm.collections.UnmodifiableEconomicSet
-
Stores all of the elements in this set into
target
. - toBoolean(int) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Converts a C int containing boolean values into a Java boolean.
- toBoolean(PointerBase) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Converts a C pointer into a Java boolean.
- toByteArray() - Method in interface org.graalvm.polyglot.io.ByteSequence
-
Returns a
byte[]
containing the bytes in this sequence in the same order as this sequence. - toCBoolean(boolean) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Converts a Java boolean into a C int containing boolean values.
- toCBytes(byte[]) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Provides access to a C pointer for the provided Java byte array.
- toCString(CharSequence) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Provides access to a C pointer for the provided Java String, encoded with the default charset.
- toCString(CharSequence, Charset, CCharPointer, UnsignedWord) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Copies the
javaString
into the buffer as a 0 terminated C string encoded with thecharset
character set. - toCString(CharSequence, CCharPointer, UnsignedWord) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Copies the
javaString
into the buffer as a 0 terminated C string encoded with the default character set. - toCStrings(CharSequence[]) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Provides access to C pointers for the provided Java Strings, encoded with the default charset.
- toDisplayString() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Converts the value to a language-specific string representation.
- toDisplayString(boolean) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Converts the value to a language-specific string representation.
- toDisplayString(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Converts the receiver to a human readable
string
of the language. - toDisplayString(Object, boolean) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Converts the receiver to a human readable
string
. - toHostFrame() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
-
Returns a Java stack trace element representation of the polyglot stack trace element.
- toJavaString(CCharPointer) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Decodes a 0 terminated C
char*
to a Java string using the platform's default charset. - toJavaString(CCharPointer, UnsignedWord) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Decodes a C
char*
of lengthlength
to a Java string using the platform's default charset. - toJavaString(CCharPointer, UnsignedWord, Charset) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Decodes a C
char*
of lengthlength
to a Java string usingcharset
. - toJavaStringUncached() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ToJavaStringNode
. - toLongArray() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns a new long array containing all the bits in this bit set.
- toNative(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Attempts to transform a
receiver
to a value that represents a raw native pointer. - toObject() - Method in interface org.graalvm.word.Pointer
-
Unsafe conversion of this Pointer to a Java language object.
- toObject(Class<T>, boolean) - Method in interface org.graalvm.word.Pointer
-
Convert pointer to the type specified by the clazz argument.
- toObjectNonNull() - Method in interface org.graalvm.word.Pointer
-
Unsafe conversion of this Pointer to a Java language object.
- topDown(C, BiFunction<C, Long, C>, BiConsumer<C, Long>) - Method in class org.graalvm.collections.LockFreePrefixTree
-
Traverse the tree top-down while maintaining a context.
- topDown(C, BiFunction<C, Long, C>, BiConsumer<C, Long>) - Method in class org.graalvm.collections.SeqLockPrefixTree.Node
-
Traverse the tree top-down while maintaining a context.
- toRealPath(Path, LinkOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
-
Returns the real (canonical) path of an existing file.
- toRelativeUri() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns a relative
URI
representation of non absoluteTruffleFile
. - toString() - Method in class com.oracle.truffle.api.debug.Breakpoint
- toString() - Method in class com.oracle.truffle.api.debug.DebuggerSession
- toString() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns a string representation of the debug value.
- toString() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
- toString() - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
- toString() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
- toString() - Method in class com.oracle.truffle.api.instrumentation.EventContext
- toString() - Method in class com.oracle.truffle.api.instrumentation.NearestSectionFilter
- toString() - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange
- toString() - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter
- toString() - Method in class com.oracle.truffle.api.InstrumentInfo
- toString() - Method in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
Returns the string representing CPU architecture name.
- toString() - Method in enum class com.oracle.truffle.api.InternalResource.OS
-
Returns the string representing operating system name.
- toString() - Method in class com.oracle.truffle.api.library.LibraryExport
- toString() - Method in class com.oracle.truffle.api.library.LibraryFactory
- toString() - Method in class com.oracle.truffle.api.library.Message
- toString() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
- toString() - Method in class com.oracle.truffle.api.nodes.Node
-
Converts this node to a textual representation useful for debugging.
- toString() - Method in class com.oracle.truffle.api.object.HiddenKey
- toString() - Method in class com.oracle.truffle.api.profiles.BranchProfile
- toString() - Method in class com.oracle.truffle.api.profiles.ByteValueProfile
- toString() - Method in class com.oracle.truffle.api.profiles.ConditionProfile
- toString() - Method in class com.oracle.truffle.api.profiles.CountingConditionProfile
- toString() - Method in class com.oracle.truffle.api.profiles.DoubleValueProfile
- toString() - Method in class com.oracle.truffle.api.profiles.FloatValueProfile
- toString() - Method in class com.oracle.truffle.api.profiles.InlinedProfile
- toString() - Method in class com.oracle.truffle.api.profiles.IntValueProfile
- toString() - Method in class com.oracle.truffle.api.profiles.LongValueProfile
- toString() - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
- toString() - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- toString() - Method in class com.oracle.truffle.api.source.Source
- toString() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns an implementation-defined string representation of this source section to be used for debugging purposes only.
- toString() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns a
String
representation of this string. - toString() - Method in record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Returns a string representation of this record class.
- toString() - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Convert the string builder's content to a java string.
- toString() - Method in class com.oracle.truffle.api.TruffleFile.AttributeDescriptor
- toString() - Method in class com.oracle.truffle.api.TruffleFile
- toString() - Method in exception class com.oracle.truffle.api.TruffleStackTrace
- toString() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
- toString() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns a string representation of this bit set.
- toString() - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder
-
Deprecated.
- toString() - Method in class org.graalvm.collections.EconomicMapWrap
- toString() - Method in class org.graalvm.collections.LockFreePrefixTree.Node
- toString() - Method in class org.graalvm.collections.Pair
- toString() - Method in class org.graalvm.collections.SeqLockPrefixTree.Node
- toString() - Method in class org.graalvm.home.Version
- toString() - Method in class org.graalvm.options.OptionDescriptor
- toString() - Method in class org.graalvm.options.OptionType
- toString() - Method in class org.graalvm.polyglot.EnvironmentAccess
- toString() - Method in class org.graalvm.polyglot.HostAccess
- toString() - Method in class org.graalvm.polyglot.io.IOAccess
- toString() - Method in class org.graalvm.polyglot.io.ProcessHandler.Redirect
- toString() - Method in class org.graalvm.polyglot.management.ExecutionEvent
- toString() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
-
Returns a string representation of this stack frame.
- toString() - Method in class org.graalvm.polyglot.ResourceLimitEvent
- toString() - Method in class org.graalvm.polyglot.Source
- toString() - Method in class org.graalvm.polyglot.SourceSection
-
Returns an implementation-defined string representation of this source section to be used for debugging purposes only.
- toString() - Method in class org.graalvm.polyglot.TypeLiteral
- toString() - Method in class org.graalvm.polyglot.Value
-
Converts this value to a human readable string.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(DynamicObject) - Method in class com.oracle.truffle.api.object.ObjectType
-
Deprecated.
- toStringDebug() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns debug information about this string.
- toStringUncached() - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.ToStringNode
. - toUri() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the absolute
URI
representation of thisTruffleFile
. - toValidStringUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ToValidStringNode
. - traceOnEnter(Object[]) - Method in interface com.oracle.truffle.api.dsl.ExecuteTracingSupport
-
Invoked by the generated
execute
methods before anySpecialization
is called, but after allNodeChildren
are evaluated. - traceOnException(Throwable) - Method in interface com.oracle.truffle.api.dsl.ExecuteTracingSupport
-
Invoked by the generated
execute
methods when aSpecialization
throws an exception. - traceOnReturn(Object) - Method in interface com.oracle.truffle.api.dsl.ExecuteTracingSupport
-
Invoked by the generated
execute
methods when aSpecialization
returns normally. - TraceRewrites - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Enables/disables the rewriting of traces in the Truffle runtime to stdout.
- TraceRewritesFilterClass - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Filters rewrites that do not contain the given string in the qualified name of the source or target class hierarchy.
- TraceRewritesFilterFromCost - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Deprecated.in 24.1 without replacement
- TraceRewritesFilterToCost - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Deprecated.in 24.1 without replacement
- TranscodingErrorHandler - Interface in com.oracle.truffle.api.strings
-
An error handler for transcoding operations such as
TruffleString.SwitchEncodingNode
. - TranscodingErrorHandler.ReplacementString - Record Class in com.oracle.truffle.api.strings
- transferOSRFrame(VirtualFrame, VirtualFrame, long, Object) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Helper method that can be called by implementations of
BytecodeOSRNode.copyIntoOSRFrame(VirtualFrame, VirtualFrame, long, Object)
. - transferToInterpreter() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Directive for the compiler to discontinue compilation at this code position and instead insert a transfer to the interpreter.
- transferToInterpreterAndInvalidate() - Static method in class com.oracle.truffle.api.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 annotation interface com.oracle.truffle.api.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.
- transform(Object, Object) - Method in interface org.graalvm.nativeimage.hosted.FieldValueTransformer
-
Transforms the field value for the provided receiver.
- transition() - Element in annotation interface org.graalvm.nativeimage.c.function.CFunction
-
The Java-to-C thread transition code used when calling the function.
- transition() - Element in annotation interface org.graalvm.nativeimage.c.function.InvokeCFunctionPointer
-
The Java-to-C thread transition code used when calling the function.
- transitionLimit() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
By default export libraries don't allow changes in the behavior of accepts for a receiver instance.
- TranslateFieldOffset - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The field offset stored in this int or long field is updated.
- translateStackTraceElement(TruffleStackTraceElement) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Translates the
TruffleStackTraceElement
into an interop object supporting thehasExecutableName
and potentiallyhasDeclaringMetaObject
andhasSourceLocation
messages. - TriState - Enum Class in com.oracle.truffle.api.utilities
- TRUE - Enum constant in enum class com.oracle.truffle.api.utilities.TriState
-
The state is true.
- Truffle - Class in com.oracle.truffle.api
-
Class for obtaining the Truffle runtime singleton object of this virtual machine.
- TruffleContext - Class in com.oracle.truffle.api
-
A handle on a context of a set of Truffle languages.
- TruffleContext.Builder - Class in com.oracle.truffle.api
-
Builder class to create new
TruffleContext
instances. - TruffleFile - Class in com.oracle.truffle.api
-
An abstract representation of a file used by Truffle languages.
- TruffleFile.AttributeDescriptor<T> - Class in com.oracle.truffle.api
-
Represents a file's attribute.
- TruffleFile.Attributes - Class in com.oracle.truffle.api
-
A view over file's attributes values obtained by
getAttributes
. - TruffleFile.FileTypeDetector - Interface in com.oracle.truffle.api
-
A detector for finding
file
's MIME type and encoding. - TruffleInstrument - 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 for class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Constructor for subclasses.
- TruffleInstrument.ContextLocalFactory<T> - Interface in com.oracle.truffle.api.instrumentation
-
Context local factory for Truffle instruments.
- TruffleInstrument.ContextLocalProvider - Class in com.oracle.truffle.api.instrumentation
-
Provider for creating context local and context thread local references.
- TruffleInstrument.ContextThreadLocalFactory<T> - Interface in com.oracle.truffle.api.instrumentation
-
Context local factory for Truffle instruments.
- TruffleInstrument.Env - Class in com.oracle.truffle.api.instrumentation
-
Access to instrumentation services as well as input, output, and error streams.
- TruffleInstrument.Registration - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Annotation that registers an
instrument
implementations for automatic discovery. - TruffleInstrumentProvider - Class in com.oracle.truffle.api.instrumentation.provider
-
Used to register a
TruffleInstrument
using aServiceLoader
. - TruffleInstrumentProvider() - Constructor for class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Constructor to be called by subclasses.
- TruffleLanguage<C> - 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 for class com.oracle.truffle.api.TruffleLanguage
-
Constructor to be called by subclasses.
- TruffleLanguage.ContextLocalFactory<C,
T> - Interface in com.oracle.truffle.api -
Context local factory for Truffle languages.
- TruffleLanguage.ContextLocalProvider<C> - Class in com.oracle.truffle.api
-
Provider for creating context local and context thread local references.
- TruffleLanguage.ContextPolicy - Enum Class in com.oracle.truffle.api
-
Defines the supported policy for reusing
languages
per context. - TruffleLanguage.ContextReference<C> - Class in com.oracle.truffle.api
-
Represents a reference to the current context.
- TruffleLanguage.ContextThreadLocalFactory<C,
T> - Interface in com.oracle.truffle.api -
Context thread local factory for Truffle languages.
- TruffleLanguage.Env - Class in com.oracle.truffle.api
-
Represents execution environment of the
TruffleLanguage
. - TruffleLanguage.ExitMode - Enum Class in com.oracle.truffle.api
-
Mode of exit operation.
- TruffleLanguage.InlineParsingRequest - Class in com.oracle.truffle.api
-
Request for inline parsing.
- TruffleLanguage.LanguageReference<L> - Class in com.oracle.truffle.api
-
Represents a reference to the current language instance.
- TruffleLanguage.ParsingRequest - Class in com.oracle.truffle.api
-
Request for parsing.
- TruffleLanguage.Registration - Annotation Interface in com.oracle.truffle.api
-
The annotation to use to register your language to the
Polyglot API
. - TruffleLanguageProvider - Class in com.oracle.truffle.api.provider
-
Used to register a
TruffleLanguage
using aServiceLoader
. - TruffleLanguageProvider() - Constructor for class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Constructor to be called by subclasses.
- TruffleLogger - Class in com.oracle.truffle.api
-
Support for logging in Truffle languages and instruments.
- TruffleObject - Interface in com.oracle.truffle.api.interop
-
Interface for any entity of a Truffle guest language implementations that can be shared across other language implementations.
- TruffleOptionDescriptors - Interface in com.oracle.truffle.api
-
An
OptionDescriptors
enhanced to provide a sandbox policy for options. - TruffleOptions - Class in com.oracle.truffle.api
-
Class containing general Truffle options.
- TruffleProcessBuilder - Class in com.oracle.truffle.api.io
-
A builder used to create an external subprocess.
- TruffleRuntime - Interface in com.oracle.truffle.api
-
Interface representing a Truffle runtime object.
- TruffleRuntimeAccess - Interface in com.oracle.truffle.api
-
A service that provides access to a
TruffleRuntime
implementation. - TruffleSafepoint - 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.
- TruffleSafepoint(Accessor.EngineSupport) - Constructor for class com.oracle.truffle.api.TruffleSafepoint
-
Do not extend this class.
- TruffleSafepoint.CompiledInterruptible<T> - Interface in com.oracle.truffle.api
-
Just like
TruffleSafepoint.Interruptible
but allows partial evaluation. - TruffleSafepoint.CompiledInterruptibleFunction<T,
R> - Interface in com.oracle.truffle.api -
Just like
TruffleSafepoint.InterruptibleFunction
but allows partial evaluation. - TruffleSafepoint.Interrupter - Interface in com.oracle.truffle.api
-
An interrupter allows a foreign thread to interrupt the execution on a separate thread.
- TruffleSafepoint.Interruptible<T> - Interface in com.oracle.truffle.api
-
Function interface that represent interruptable Java methods.
- TruffleSafepoint.InterruptibleFunction<T,
R> - Interface in com.oracle.truffle.api -
Function interface that represent interruptable Java methods.
- TruffleStackTrace - Exception Class in com.oracle.truffle.api
-
Represents a guest language stack trace.
- TruffleStackTraceElement - Class in com.oracle.truffle.api
-
Represents a guest stack trace element.
- TruffleString - Class in com.oracle.truffle.api.strings
-
Represents a primitive String type, which can be reused across languages.
- TruffleString.AsManagedNode - Class in com.oracle.truffle.api.strings
-
Node to get the given
AbstractTruffleString
as a managedTruffleString
, meaning that the resulting string's backing memory is not a native pointer. - TruffleString.AsNativeNode - Class in com.oracle.truffle.api.strings
- TruffleString.AsTruffleStringNode - Class in com.oracle.truffle.api.strings
-
Node to get the given
AbstractTruffleString
as aTruffleString
. - TruffleString.ByteIndexOfAnyByteNode - Class in com.oracle.truffle.api.strings
-
Node to find the index of the first occurrence of any byte from a given array.
- TruffleString.ByteIndexOfCodePointNode - Class in com.oracle.truffle.api.strings
-
TruffleString.IndexOfCodePointNode
, but with byte indices. - TruffleString.ByteIndexOfCodePointSetNode - 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.
- TruffleString.ByteIndexOfStringNode - Class in com.oracle.truffle.api.strings
-
TruffleString.IndexOfStringNode
, but with byte indices. - TruffleString.ByteIndexToCodePointIndexNode - Class in com.oracle.truffle.api.strings
-
Node to convert a given byte index to a codepoint index.
- TruffleString.ByteLengthOfCodePointNode - Class in com.oracle.truffle.api.strings
-
Node to get the number of bytes occupied by the codepoint starting at a given byte index.
- TruffleString.CharIndexOfAnyCharUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to find the index of the first occurrence of any
char
from a given array. - TruffleString.CodePointAtByteIndexNode - Class in com.oracle.truffle.api.strings
-
Node to read a codepoint at a given byte index.
- TruffleString.CodePointAtIndexNode - Class in com.oracle.truffle.api.strings
-
Node to read a codepoint at a given codepoint index.
- TruffleString.CodePointIndexToByteIndexNode - Class in com.oracle.truffle.api.strings
-
Node to convert a given codepoint index to a byte index.
- TruffleString.CodePointLengthNode - Class in com.oracle.truffle.api.strings
-
Node to get the number of codepoints in a string.
- TruffleString.CodePointSet - Class in com.oracle.truffle.api.strings
-
A set of codepoints in a given encoding.
- TruffleString.CodeRange - Enum Class in com.oracle.truffle.api.strings
-
Provides information about a string's content.
- TruffleString.CodeRangeEqualsNode - Class in com.oracle.truffle.api.strings
-
Node to check if a string's code range is equal to the given
TruffleString.CodeRange
. - TruffleString.CompactionLevel - Enum Class in com.oracle.truffle.api.strings
-
Represents a string's compaction level, i.e.
- TruffleString.CompareBytesNode - Class in com.oracle.truffle.api.strings
-
Node to compare two strings byte-by-byte.
- TruffleString.CompareCharsUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to compare two UTF-16 strings.
- TruffleString.CompareIntsUTF32Node - Class in com.oracle.truffle.api.strings
-
Node to compare two UTF-32 strings.
- TruffleString.ConcatNode - Class in com.oracle.truffle.api.strings
-
Node to concatenate two strings.
- TruffleString.CopyToByteArrayNode - Class in com.oracle.truffle.api.strings
-
Node to copy a region of a string into a byte array.
- TruffleString.CopyToNativeMemoryNode - Class in com.oracle.truffle.api.strings
-
Node to copy a region of a string into native memory.
- TruffleString.CreateBackwardCodePointIteratorNode - Class in com.oracle.truffle.api.strings
-
Node to create a
TruffleStringIterator
. - TruffleString.CreateCodePointIteratorNode - Class in com.oracle.truffle.api.strings
-
Node to create a
TruffleStringIterator
. - TruffleString.Encoding - Enum Class in com.oracle.truffle.api.strings
-
The list of encodings supported by
TruffleString
. - TruffleString.EqualNode - Class in com.oracle.truffle.api.strings
-
Node to check two strings for equality.
- TruffleString.ErrorHandling - Enum Class in com.oracle.truffle.api.strings
-
Error handling instructions for operations that return integer values, such as indices or code points.
- TruffleString.ForceEncodingNode - Class in com.oracle.truffle.api.strings
-
Node to forcibly assign any encoding to a string.
- TruffleString.FromByteArrayNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleString
from a byte array. - TruffleString.FromCharArrayUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to create a new UTF-16
TruffleString
from a char array. - TruffleString.FromCodePointNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleString
from a single codepoint. - TruffleString.FromIntArrayUTF32Node - Class in com.oracle.truffle.api.strings
-
Node to create a new UTF-32
TruffleString
from an int-array. - TruffleString.FromJavaStringNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleString
from a Java string. - TruffleString.FromLongNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleString
from along
value. - TruffleString.FromNativePointerNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleString
from an interop object representing a native pointer. - TruffleString.GetByteCodeRangeNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's "byte-based"
TruffleString.CodeRange
. - TruffleString.GetCodeRangeImpreciseNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's possibly imprecise
TruffleString.CodeRange
. - TruffleString.GetCodeRangeNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's precise
TruffleString.CodeRange
. - TruffleString.GetInternalByteArrayNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's internal byte array.
- TruffleString.GetInternalNativePointerNode - Class in com.oracle.truffle.api.strings
-
Node to get a
native
string's pointer object. - TruffleString.GetStringCompactionLevelNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's
TruffleString.CompactionLevel
. - TruffleString.HashCodeNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's hash code.
- TruffleString.IllegalByteArrayLengthException - Exception Class in com.oracle.truffle.api.strings
- TruffleString.IndexOfCodePointNode - Class in com.oracle.truffle.api.strings
-
Node to find the index of the first occurrence of a given code point.
- TruffleString.IndexOfStringNode - Class in com.oracle.truffle.api.strings
-
Node to find the index of the first occurrence of a given string.
- TruffleString.IntIndexOfAnyIntUTF32Node - Class in com.oracle.truffle.api.strings
-
Node to find the index of the first occurrence of any
int
from a given array. - TruffleString.IsValidNode - Class in com.oracle.truffle.api.strings
-
Node to check if a string is encoded correctly.
- TruffleString.LastByteIndexOfCodePointNode - Class in com.oracle.truffle.api.strings
-
TruffleString.LastIndexOfCodePointNode
, but with byte indices. - TruffleString.LastByteIndexOfStringNode - Class in com.oracle.truffle.api.strings
-
TruffleString.LastIndexOfStringNode
, but with byte indices. - TruffleString.LastIndexOfCodePointNode - Class in com.oracle.truffle.api.strings
-
Node to find the codepoint index of the last occurrence of a given code point.
- TruffleString.LastIndexOfStringNode - Class in com.oracle.truffle.api.strings
-
Node to find the index of the last occurrence of a given string.
- TruffleString.MaterializeNode - Class in com.oracle.truffle.api.strings
-
Node to force materialization of any lazy internal data.
- TruffleString.NumberFormatException - Exception Class in com.oracle.truffle.api.strings
-
This exception may be thrown by
TruffleString.ParseIntNode
,TruffleString.ParseLongNode
orTruffleString.ParseDoubleNode
to indicate that the given string cannot be parsed as an integer, long or double value. - TruffleString.ParseDoubleNode - Class in com.oracle.truffle.api.strings
-
Node to parse a given string as a double value.
- TruffleString.ParseIntNode - Class in com.oracle.truffle.api.strings
-
Node to parse a given string as an int value.
- TruffleString.ParseLongNode - Class in com.oracle.truffle.api.strings
-
Node to parse a given string as a long value.
- TruffleString.ReadByteNode - Class in com.oracle.truffle.api.strings
-
Node to read a single byte from a string.
- TruffleString.ReadCharUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to read a single char from a UTF-16 string.
- TruffleString.RegionEqualByteIndexNode - Class in com.oracle.truffle.api.strings
-
Node to check for a region match, byte-by-byte.
- TruffleString.RegionEqualNode - Class in com.oracle.truffle.api.strings
-
Node to check codepoint equality of two string regions.
- TruffleString.RepeatNode - Class in com.oracle.truffle.api.strings
-
Node to repeat a given string
N
times. - TruffleString.SubstringByteIndexNode - Class in com.oracle.truffle.api.strings
-
TruffleString.SubstringNode
, but with byte indices. - TruffleString.SubstringNode - Class in com.oracle.truffle.api.strings
-
Node to create a substring of a given string.
- TruffleString.SwitchEncodingNode - Class in com.oracle.truffle.api.strings
-
Node to get a given string in a specific encoding.
- TruffleString.ToJavaStringNode - Class in com.oracle.truffle.api.strings
-
Node to get a
String
representation of aTruffleString
. - TruffleString.ToValidStringNode - Class in com.oracle.truffle.api.strings
-
Node to replace all invalid bytes in a given string, such that the resulting string is
valid
. - TruffleString.WithMask - Class in com.oracle.truffle.api.strings
-
Extended parameter type for the operations
TruffleString.ByteIndexOfStringNode
,TruffleString.LastByteIndexOfStringNode
andTruffleString.RegionEqualByteIndexNode
. - TruffleString.WithMask.CreateNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleString.WithMask
from a string and a byte array. - TruffleString.WithMask.CreateUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleString.WithMask
from a UTF-16 string and a char array. - TruffleString.WithMask.CreateUTF32Node - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleString.WithMask
from a UTF-32 string and an int array. - TruffleStringBuilder - Class in com.oracle.truffle.api.strings
-
The
TruffleString
equivalent toStringBuilder
. - TruffleStringBuilder.AppendByteNode - Class in com.oracle.truffle.api.strings
-
Node to append a single byte to a string builder.
- TruffleStringBuilder.AppendCharUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to append a single char to a string builder.
- TruffleStringBuilder.AppendCodePointNode - Class in com.oracle.truffle.api.strings
-
Node to append a codepoint to a string builder.
- TruffleStringBuilder.AppendIntNumberNode - Class in com.oracle.truffle.api.strings
-
Node to append an integer to a string builder.
- TruffleStringBuilder.AppendJavaStringUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to append a substring of a given
String
to a string builder. - TruffleStringBuilder.AppendLongNumberNode - Class in com.oracle.truffle.api.strings
-
Node to append a
long
value to a string builder. - TruffleStringBuilder.AppendStringNode - Class in com.oracle.truffle.api.strings
-
Node to append a given
TruffleString
to a string builder. - TruffleStringBuilder.AppendSubstringByteIndexNode - Class in com.oracle.truffle.api.strings
-
Node to append a substring of a given
TruffleString
to a string builder. - TruffleStringBuilder.ToStringNode - Class in com.oracle.truffle.api.strings
-
Node to materialize a string builder as a
TruffleString
. - TruffleStringBuilderUTF16 - Class in com.oracle.truffle.api.strings
-
The UTF-16-specific variant of
TruffleStringBuilder
. - TruffleStringBuilderUTF32 - Class in com.oracle.truffle.api.strings
-
The UTF-32-specific variant of
TruffleStringBuilder
. - TruffleStringBuilderUTF8 - Class in com.oracle.truffle.api.strings
-
The UTF-8-specific variant of
TruffleStringBuilder
. - TruffleStringIterator - Class 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. - TruffleStringIterator.NextNode - Class in com.oracle.truffle.api.strings
-
Returns the next codepoint in the string.
- TruffleStringIterator.PreviousNode - Class in com.oracle.truffle.api.strings
-
Returns the previous codepoint in the string.
- TruffleThreadBuilder - Class in com.oracle.truffle.api
-
A builder for threads that have access to the appropriate
TruffleContext
. - TruffleWeakReference<T> - Class in com.oracle.truffle.api.utilities
-
Creates a new weak reference that is safe to be used in compiled code paths.
- TruffleWeakReference(T) - Constructor for class com.oracle.truffle.api.utilities.TruffleWeakReference
-
Creates a new Truffle weak reference that refers to the given object.
- TruffleWeakReference(T, ReferenceQueue<? super T>) - Constructor for class com.oracle.truffle.api.utilities.TruffleWeakReference
-
Creates a new Truffle weak reference that refers to the given object and is registered with the given queue.
- truncate(double) - Static method in class com.oracle.truffle.api.ExactMath
-
Removes the decimal part (aka truncation or rounds towards zero) of the given double.
- truncate(float) - Static method in class com.oracle.truffle.api.ExactMath
-
Removes the decimal part (aka truncation or rounds towards zero) of the given float.
- TRUSTED - Enum constant in enum class org.graalvm.polyglot.SandboxPolicy
-
Policy intended for fully trusted applications.
- tryAttach() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
-
Try to attach this binding, if not disposed or attached already.
- tryMerge(Shape) - Method in class com.oracle.truffle.api.object.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.
- tryOSR(BytecodeOSRNode, int, Object, Runnable, VirtualFrame) - Static method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Tries to perform OSR.
- tryOSR(BytecodeOSRNode, long, Object, Runnable, VirtualFrame) - Static method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Overload of
BytecodeOSRNode.tryOSR(BytecodeOSRNode, int, Object, Runnable, VirtualFrame)
with along
target. - type() - Element in annotation interface com.oracle.truffle.api.dsl.InlineSupport.RequiredField
-
90 Specifies the the value type for
reference
required fields. - type() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
- type() - Element in annotation interface com.oracle.truffle.api.dsl.NodeField
- TypeCast - Annotation Interface in com.oracle.truffle.api.dsl
-
Overrides the standard way of casting a certain type in a
TypeSystem
. - TypeCheck - Annotation Interface in com.oracle.truffle.api.dsl
-
Overrides the standard way of checking for a certain type in a
TypeSystem
. - TypeLiteral<T> - Class in org.graalvm.polyglot
-
Represents a generic type
T
. - TypeLiteral() - Constructor for class org.graalvm.polyglot.TypeLiteral
-
Constructs a new type literal.
- TypeSystem - Annotation Interface in com.oracle.truffle.api.dsl
-
Type guards are the most common form of guards used in Truffle languages.
- TypeSystemReference - Annotation Interface in com.oracle.truffle.api.dsl
-
References a
TypeSystem
on a node.
U
- UnadoptableNode - Interface in com.oracle.truffle.api.nodes
-
Marks a node unadoptable, this means that the parent pointer will never be written by the Truffle framework.
- uncached() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Defines the initializer that is used for
uncached
nodes or uncached versions of exported library messages. - uncached() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
-
Defines the expression to get an uncached instance of the child node.
- UNDEFINED - Enum constant in enum class com.oracle.truffle.api.utilities.TriState
-
The state is undefined.
- UnexpectedResultException - Exception Class 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 for exception class com.oracle.truffle.api.nodes.UnexpectedResultException
-
Creates the exception with the alternative result that cannot be represented as a value of the return type.
- UNINITIALIZED - Enum constant in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.This node has a
CompilerDirectives.transferToInterpreter()
orCompilerDirectives.transferToInterpreterAndInvalidate()
as its first unconditional statement. - UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- UniqueLocationIdentity - Annotation Interface in org.graalvm.nativeimage.c.struct
-
A
CField
also annotated with this annotation gets a uniqueLocationIdentity
assigned, i.e., reads and writes do not interfere with reads and writes to any other field and are optimized without regarding other fields. - UNIX_CTIME - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's last status change time.
- UNIX_DEV - Static variable in class com.oracle.truffle.api.TruffleFile
-
The id of a device containing the file.
- UNIX_GID - Static variable in class com.oracle.truffle.api.TruffleFile
-
The group id of file owner.
- UNIX_GROUP - Static variable in class com.oracle.truffle.api.TruffleFile
-
The group owner of the file.
- UNIX_INODE - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's inode number.
- UNIX_MODE - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's mode containing the protection and file type bits.
- UNIX_NLINK - Static variable in class com.oracle.truffle.api.TruffleFile
-
The number of hard links.
- UNIX_OWNER - Static variable in class com.oracle.truffle.api.TruffleFile
-
The owner of the file.
- UNIX_PERMISSIONS - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's Posix permissions.
- UNIX_RDEV - Static variable in class com.oracle.truffle.api.TruffleFile
-
The id of a device represented by the file.
- UNIX_UID - Static variable in class com.oracle.truffle.api.TruffleFile
-
The user id of file owner.
- UnknownIdentifierException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if an object does not contain a member with such an identifier.
- UnknownKeyException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if an object does not contain a hash entry with such a key.
- UNLIKELY_PROBABILITY - Static variable in class com.oracle.truffle.api.CompilerDirectives
- UNLIMITED_STACK_TRACE - Static variable in exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
The constant for an unlimited stack trace element limit.
- UnmanagedMemory - Class in org.graalvm.nativeimage
-
Contains static methods that allow allocate/free of unmanaged memory, i.e., memory that is not under the control of the garbage collector.
- UnmodifiableEconomicMap<K,
V> - Interface in org.graalvm.collections -
Unmodifiable memory efficient map.
- UnmodifiableEconomicSet<E> - Interface in org.graalvm.collections
-
Unmodifiable memory efficient set data structure.
- UnmodifiableMapCursor<K,
V> - Interface in org.graalvm.collections -
Cursor to iterate over a map without changing its contents.
- unpackFiles(InternalResource.Env, Path) - Method in interface com.oracle.truffle.api.InternalResource
-
Unpacks all resources to a given target directory.
- unpackResourceFiles(Path, Path, Path) - Method in class com.oracle.truffle.api.InternalResource.Env
-
Extracts files from the module, which owns the
InternalResource
implementation class, listed in thesource
file list and places them into thetarget
folder. - unroll() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
Instructs the specialization to unroll a specialization with multiple instances.
- UNROLL vs EXPLODE - Search tag in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
- Section
- unsigned(int) - Static method in class org.graalvm.word.WordFactory
-
Unsafe conversion from a Java int value to a Word.
- unsigned(long) - Static method in class org.graalvm.word.WordFactory
-
Unsafe conversion from a Java long value to a Word.
- unsigned(Class<? extends PointerBase>) - Static method in class org.graalvm.nativeimage.c.struct.SizeOf
-
Returns the
size
cast toUnsignedWord
. - unsignedDivide(int) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this / val)
. - unsignedDivide(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this / val)
. - unsignedRemainder(int) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this % val)
. - unsignedRemainder(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this % val)
. - unsignedShiftRight(int) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this >>> n)
. - unsignedShiftRight(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this >>> n)
. - UnsignedWord - Interface in org.graalvm.word
-
Represents an unsigned word-sized value.
- UnsupportedMessageException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if a
TruffleObject
does not support a interop message. - UnsupportedSpecializationException - Exception Class 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.
- UnsupportedSpecializationException(Node, Node[], Object...) - Constructor for exception class com.oracle.truffle.api.dsl.UnsupportedSpecializationException
-
Constructs a new
UnsupportedSpecializationException
. - UnsupportedTypeException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if a
TruffleObject
does not support the type of one or more arguments. - UNTIL_RETURN - Search tag in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
- Section
- UNTRUSTED - Enum constant in enum class org.graalvm.polyglot.SandboxPolicy
-
Policy intended for untrusted applications.
- UNTRUSTED - Static variable in class org.graalvm.polyglot.HostAccess
-
Predefined host access policy used by Context with an
SandboxPolicy.UNTRUSTED
sandbox policy when the host access policy is not explicitly specified by the embedder. - UNWIND_ACTION_REENTER - Static variable in class com.oracle.truffle.api.instrumentation.ProbeNode
-
A constant that performs reenter of the current node when returned from
ExecutionEventListener.onUnwind(EventContext, VirtualFrame, Object)
orExecutionEventNode.onUnwind(VirtualFrame, Object)
. - updateShape(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Ensures the object's shape is up-to-date.
- uri(URI) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
- uri(URI) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
- uri(URI) - Method in class org.graalvm.polyglot.Source.Builder
- US_ASCII - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
US-ASCII, which maps only 7-bit characters.
- Usage: - Search tag in annotation interface com.oracle.truffle.api.library.CachedLibrary
- Section
- Usage: - Search tag in annotation interface com.oracle.truffle.api.library.CachedLibrary
- Section
- Usage example - Search tag in annotation interface com.oracle.truffle.api.library.ExportLibrary
- Section
- Usage example - Search tag in annotation interface com.oracle.truffle.api.library.ExportLibrary
- Section
- Usage example - Search tag in class com.oracle.truffle.api.library.ReflectionLibrary
- Section
- Usage example - Search tag in class com.oracle.truffle.api.library.ReflectionLibrary
- Section
- Usage example - Search tag in com.oracle.truffle.api.library.ExportLibrary.delegateTo()
- Section
- Usage example - Search tag in com.oracle.truffle.api.library.ExportLibrary.receiverType()
- Section
- Usage example: - Search tag in class org.graalvm.home.Version
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.containsKey(DynamicObject, Object)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.getKeyArray(DynamicObject)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.getOrDefault(DynamicObject, Object, Object)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.getShapeFlags(DynamicObject)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.put(DynamicObject, Object, Object)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.putConstant(DynamicObject, Object, Object, int)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.setShapeFlags(DynamicObject, int)
- Section
- Usage examples: - Search tag in class com.oracle.truffle.api.object.DynamicObjectLibrary
- Section
- usageSyntax() - Element in annotation interface com.oracle.truffle.api.Option
-
Describes in short the syntax of accepted values for this option.
- usageSyntax(String) - Method in class org.graalvm.options.OptionDescriptor.Builder
-
Specifies a human-readable syntax describing the accepted values for this option.
- Use Cases - Search tag in com.oracle.truffle.api.TruffleLanguage.getScope(C)
- Section
- Use-cases - Search tag in class org.graalvm.polyglot.management.ExecutionListener
- Section
- useForAOT() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
Enables
AOT preparation
for this export. - useForAOTPriority() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
Specifies the priority for the export when used for AOT preparation.
- useModuleLookup(MethodHandles.Lookup) - Method in class org.graalvm.polyglot.HostAccess.Builder
-
Sets the
lookup
the guest application should use to find and access classes on the host side inmodularized
host applications. - USER - Enum constant in enum class org.graalvm.options.OptionCategory
-
An option common for users to apply.
- useSystemExit(boolean) - Method in class org.graalvm.polyglot.Context.Builder
-
Specifies whether
System.exit(int)
may be used to improve efficiency of stack unwinding for context exit requested by the guest application. - useSystemProperties(boolean) - Method in class org.graalvm.polyglot.Engine.Builder
-
Specifies whether the engine should use
system properties
if no explicit option isset
. - Using Dispatched Libraries - Search tag in annotation interface com.oracle.truffle.api.library.CachedLibrary
- Section
- Using Specialized Libraries - Search tag in annotation interface com.oracle.truffle.api.library.CachedLibrary
- Section
- UTF_16 - Static variable in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-16 in the current system's endianness, without byte-order mark, with transparent string compaction.
- UTF_16BE - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-16BE.
- UTF_16LE - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-16LE.
- UTF_32 - Static variable in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-32 in the current system's endianness, without byte-order mark, with transparent string compaction.
- UTF_32BE - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-32BE.
- UTF_32LE - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-32LE.
- UTF_7 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-7.
- UTF_8 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-8.
- UTF8_DoCoMo - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF8-DoCoMo.
- UTF8_KDDI - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF8-KDDI.
- UTF8_MAC - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF8-MAC.
- UTF8_SoftBank - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF8-SoftBank.
- utf8ToJavaString(CCharPointer) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Decodes a UTF-8 encoded, 0 terminated C
char*
to a Java string.
V
- VALID - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
This string is encoded correctly (
TruffleString.IsValidNode
returnstrue
), and if this code range isprecise
, at least one codepoint is outside the largest other applicable code range (e.g. - validate(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.InlinableField
-
Validates a receiver of an inlined field.
- validate(Node, InlineSupport.InlinableField) - Static method in class com.oracle.truffle.api.dsl.InlineSupport
-
Shortcut to
validate
multiple inlinable fields. - validate(Node, InlineSupport.InlinableField, InlineSupport.InlinableField) - Static method in class com.oracle.truffle.api.dsl.InlineSupport
-
Shortcut to
validate
multiple inlinable fields. - validate(Node, InlineSupport.InlinableField, InlineSupport.InlinableField, InlineSupport.InlinableField...) - Static method in class com.oracle.truffle.api.dsl.InlineSupport
-
Shortcut to
validate
multiple inlinable fields. - validate(T) - Method in class org.graalvm.options.OptionType
-
Validates an option value and throws an
IllegalArgumentException
if the value is invalid. - value() - Element in annotation interface com.oracle.svm.core.annotate.Delete
-
Documents the reason why the annotated element is deleted.
- value() - Element in annotation interface com.oracle.svm.core.annotate.InjectAccessors
- value() - Element in annotation interface com.oracle.svm.core.annotate.TargetClass
-
Specifies the substitutee class using a class literal.
- value() - Element in annotation interface com.oracle.truffle.api.dsl.Bind
-
The extract expression.
- value() - Element in annotation interface com.oracle.truffle.api.dsl.Cached.Shared
-
Specifies the sharing group of the shared cached element.
- value() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Defines the initializer expression of the cached parameter value.
- value() - Element in annotation interface com.oracle.truffle.api.dsl.CreateCast
- value() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateCached
-
If
true
enables the generation of a cached version of thisspecializing
node. - value() - Element in annotation interface com.oracle.truffle.api.dsl.GeneratedBy
- value() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateInline
-
If
true
enables the generation of a inlined version of thisspecializing
node. - value() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateNodeFactory
-
If
true
enables the generation of node factories of thisspecializing
node. - value() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateUncached
-
If
true
enables the generation of an uncached version of thisspecializing
node. - value() - Element in annotation interface com.oracle.truffle.api.dsl.ImportStatic
- value() - Element in annotation interface com.oracle.truffle.api.dsl.InlineSupport.RequiredField
-
Species which field type is expected.
- value() - Element in annotation interface com.oracle.truffle.api.dsl.InlineSupport.RequiredFields
-
Used to specify multiple
InlineSupport.RequiredField
. - value() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
- value() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChildren
- value() - Element in annotation interface com.oracle.truffle.api.dsl.NodeFields
- value() - Element in annotation interface com.oracle.truffle.api.dsl.SuppressPackageWarnings
- value() - Element in annotation interface com.oracle.truffle.api.dsl.TypeCast
- value() - Element in annotation interface com.oracle.truffle.api.dsl.TypeCheck
- value() - Element in annotation interface com.oracle.truffle.api.dsl.TypeSystem
-
The list of types as child elements of the
TypeSystem
. - value() - Element in annotation interface com.oracle.truffle.api.dsl.TypeSystemReference
-
The
TypeSystem
java type. - value() - Element in annotation interface com.oracle.truffle.api.instrumentation.ProvidedTags
- value() - Element in annotation interface com.oracle.truffle.api.instrumentation.Tag.Identifier
-
Returns the identifier value as string.
- value() - Element in annotation interface com.oracle.truffle.api.InternalResource.Id
-
An internal resource identifier that is a valid path component and unique per language.
- value() - Element in annotation interface com.oracle.truffle.api.library.CachedLibrary
-
Sets the specialized value expression when using specialized libraries.
- value() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary.Repeat
-
Repeat value for
ExportLibrary
. - value() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
The library class that specifies the messages that are exported.
- value() - Element in annotation interface com.oracle.truffle.api.library.ExportMessage.Repeat
- value() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary.DefaultExport.Repeat
- value() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary.DefaultExport
- value() - Element in annotation interface com.oracle.truffle.api.Option.Group
-
A set of group names that are used as prefix for all options of the annotated class.
- value() - Method in class org.graalvm.collections.LockFreePrefixTree.Node
- value() - Method in class org.graalvm.collections.SeqLockPrefixTree.Node
- value() - Element in annotation interface org.graalvm.nativeimage.c.CContext
-
Specifies which directives are used with the annotated element.
- value() - Element in annotation interface org.graalvm.nativeimage.c.CHeader
-
Class that defines the header file properties.
- value() - Element in annotation interface org.graalvm.nativeimage.c.constant.CConstant
-
Specifies the name of the C constant.
- value() - Element in annotation interface org.graalvm.nativeimage.c.constant.CEnum
-
Specifies the name of the imported C enum type.
- value() - Element in annotation interface org.graalvm.nativeimage.c.constant.CEnumConstant
-
Specifies the name of the imported C enum constant.
- value() - Element in annotation interface org.graalvm.nativeimage.c.function.CFunction
-
The symbol name to use to link this method.
- value() - Element in annotation interface org.graalvm.nativeimage.c.function.CLibrary
-
The name of the library without a file extension (e.g., "hello").
- value() - Element in annotation interface org.graalvm.nativeimage.c.function.CMacroInfo
-
Specifies the name of the C macro the annotated method corresponds to.
- value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CBitfield
-
Specifies the field name inside the
C struct
. - value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CField
-
Specifies the field name inside the
C struct
. - value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CFieldAddress
-
Specifies the field name inside the
C struct
. - value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CFieldOffset
-
Specifies the field name inside the
C struct
. - value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CPointerTo
-
The value type, as a reference to a Java interface that is either annotated with
CStruct
orCPointerTo
. - value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CStruct
-
Specifies the name of the imported C struct type.
- value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CTypedefOfInfo
-
Specifies the base type the C type of this annotated C interface class is a typedef of.
- value() - Element in annotation interface org.graalvm.nativeimage.c.struct.RawPointerTo
-
The value type, as a reference to a Java interface that is annotated with
RawStructure
orRawPointerTo
. - value() - Element in annotation interface org.graalvm.nativeimage.Platforms
-
Restricts the annotated element (type, method, or field) to the specified
Platform
groups. - Value - Class in org.graalvm.polyglot
-
Represents a polyglot value that can be accessed using a set of language agnostic operations.
- valueOf(boolean) - Static method in enum class com.oracle.truffle.api.utilities.TriState
-
Create a
TriState
from a primitive boolean. - valueOf(long[]) - Static method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns a new bit set containing all the bits in the given long array.
- valueOf(Boolean) - Static method in enum class com.oracle.truffle.api.utilities.TriState
-
Create a
TriState
from a boxedBoolean
explicitely checking fornull
and returningTriState.UNDEFINED
. - valueOf(String) - Static method in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.debug.Breakpoint.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.debug.SourceElement
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.debug.SuspendAnchor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.frame.FrameInstance.FrameAccess
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.frame.FrameSlotKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.InternalResource.OS
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.interop.ExceptionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.strings.TruffleString.ErrorHandling
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.TruffleLanguage.ContextPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.TruffleLanguage.ExitMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.utilities.TriState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Publish
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.nativeimage.c.function.CFunction.Transition
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.options.OptionCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.options.OptionStability
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.polyglot.HostAccess.MutableTargetMapping
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.polyglot.HostAccess.TargetMappingPrecedence
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.polyglot.SandboxPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(BitSet) - Static method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns a new final bit set from a Java
BitSet
instance. - ValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
Object
runtime values. - values() - Static method in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.debug.Breakpoint.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.debug.SourceElement
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.debug.SuspendAnchor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.frame.FrameInstance.FrameAccess
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.frame.FrameSlotKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.InternalResource.OS
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.interop.ExceptionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.strings.TruffleString.ErrorHandling
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.TruffleLanguage.ContextPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.TruffleLanguage.ExitMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.utilities.TriState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Publish
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.nativeimage.c.function.CFunction.Transition
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.options.OptionCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.options.OptionStability
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.polyglot.HostAccess.MutableTargetMapping
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.polyglot.HostAccess.TargetMappingPrecedence
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.polyglot.SandboxPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueType() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
-
Returns the option type of this key.
- verify(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- version() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
The version for instrument in an arbitrary format.
- version() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Unique string identifying the language version.
- Version - Class in org.graalvm.home
-
A version utility to canonicalize and compare GraalVM versions.
- versionHash(InternalResource.Env) - Method in interface com.oracle.truffle.api.InternalResource
-
Returns the version hash to be used for this resource.
- VetoException(String) - Constructor for exception class org.graalvm.polyglot.io.MessageTransport.VetoException
-
Create a new VetoException.
- virtual(boolean) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies whether to create a virtual thread (Thread#ofVirtual()) or a regular platform thread (the default) for the threads created by this builder.
- VirtualFrame - Interface in com.oracle.truffle.api.frame
-
Represents a frame containing values of local variables of the guest language.
- visit(Node) - Method in interface com.oracle.truffle.api.nodes.NodeVisitor
-
This visitor method is called for every node in the tree.
- visit(FileVisitor<TruffleFile>, int, FileVisitOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Visits this
TruffleFile
file tree. - visitFrame(FrameInstance) - Method in interface com.oracle.truffle.api.frame.FrameInstanceVisitor
- visitLoadedSourceSections(SourceSectionFilter, LoadSourceSectionListener) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Notifies the listener for each
SourceSection
in every loadedSource
that corresponds to the filter. - VMRuntime - Class in org.graalvm.nativeimage
-
Used for doing VM runtime operations.
- VoidPointer - Interface in org.graalvm.nativeimage.c.type
-
A
void*
pointer to an opaque C value of an unknown type, without any methods to read or write.
W
- waitForProcessExit(long) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Wait for process termination and return its exit status.
- warning(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
warning level
. - warning(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
warning level
. - wasEntered(Node) - Method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
- wasFalse(Node) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Returns
true
if theInlinedConditionProfile.profile(Node, boolean)
method ever received afalse
value, otherwisefalse
. - wasFalse(Node) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Returns
true
if theInlinedCountingConditionProfile.profile(Node, boolean)
method ever received afalse
value, otherwisefalse
. - wasFalse(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Returns
true
if theInlinedLoopConditionProfile.profile(Node, boolean)
method ever received afalse
value, otherwisefalse
. - wasTrue(Node) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Returns
true
if theInlinedConditionProfile.profile(Node, boolean)
method ever received atrue
value, otherwisefalse
. - wasTrue(Node) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Returns
true
if theInlinedCountingConditionProfile.profile(Node, boolean)
method ever received atrue
value, otherwisefalse
. - wasTrue(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Returns
true
if theInlinedLoopConditionProfile.profile(Node, boolean)
method ever received atrue
value, otherwisefalse
. - weak() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
If set to
true
then weak references will be used to refer to this cached value in the generated node. - website() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
A link to a website with more information about the instrument.
- website() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
A link to a website with more information about the language.
- WINDOWS - Enum constant in enum class com.oracle.truffle.api.InternalResource.OS
-
The Windows operating system.
- Windows_1250 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1250.
- Windows_1251 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1251.
- Windows_1252 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1252.
- Windows_1253 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1253.
- Windows_1254 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1254.
- Windows_1255 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1255.
- Windows_1256 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1256.
- Windows_1257 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1257.
- Windows_1258 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1258.
- Windows_31J - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-31J.
- Windows_874 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-874.
- WINDOWS_AARCH64() - Constructor for class org.graalvm.nativeimage.Platform.WINDOWS_AARCH64
-
Instantiates a marker instance of this platform.
- WINDOWS_AMD64() - Constructor for class org.graalvm.nativeimage.Platform.WINDOWS_AMD64
-
Instantiates a marker instance of this platform.
- with() - Element in annotation interface com.oracle.truffle.api.dsl.Executed
-
The
Executed.with()
property allows a node to pass the result of one child's executable as an input to another child's executable. - WordBase - Interface in org.graalvm.word
-
The root of the interface hierarchy for machine-word-sized values.
- WordFactory - Class in org.graalvm.word
-
Provides factory method to create machine-word-sized values.
- WordPointer - Interface in org.graalvm.nativeimage.c.type
-
A untyped C pointer to any machine-word-sized value, e.g., a pointer to another pointer or a pointer to a
UnsignedWord
orSignedWord
value. - wrapMap(Map<K, V>) - Static method in interface org.graalvm.collections.EconomicMap
-
Wraps an existing
Map
as anEconomicMap
. - write(byte) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Writes the value at the pointer address.
- write(double) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Writes the value at the pointer address.
- write(float) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Writes the value at the pointer address.
- write(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Writes the value at the pointer address.
- write(int, byte) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, double) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, float) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, long) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, short) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, CCharPointer) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, CIntPointer) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, WordBase) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(long) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Writes the value at the pointer address.
- write(short) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Writes the value at the pointer address.
- write(CCharPointer) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Writes the value at the pointer address.
- write(CIntPointer) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Writes the value at the pointer address.
- write(SignedWord, byte) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, double) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, float) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, long) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, short) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, CCharPointer) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, CIntPointer) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, WordBase) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(WordBase) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Writes the value at the pointer address.
- writeArrayElement(Object, long, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Writes the value of an array element by index.
- writeBufferByte(long, byte) - Method in class org.graalvm.polyglot.Value
-
Writes the given byte at the given byte offset from the start of the buffer.
- writeBufferByte(Object, long, byte) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Writes the given byte from the receiver object at the given byte offset from the start of the buffer.
- writeBufferDouble(Object, ByteOrder, long, double) - Method in class com.oracle.truffle.api.interop.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.
- writeBufferDouble(ByteOrder, long, double) - Method in class org.graalvm.polyglot.Value
-
Writes the given double in the given byte order at the given byte offset from the start of the buffer.
- writeBufferFloat(Object, ByteOrder, long, float) - Method in class com.oracle.truffle.api.interop.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.
- writeBufferFloat(ByteOrder, long, float) - Method in class org.graalvm.polyglot.Value
-
Writes the given float in the given byte order at the given byte offset from the start of the buffer.
- writeBufferInt(Object, ByteOrder, long, int) - Method in class com.oracle.truffle.api.interop.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.
- writeBufferInt(ByteOrder, long, int) - Method in class org.graalvm.polyglot.Value
-
Writes the given int in the given byte order at the given byte offset from the start of the buffer.
- writeBufferLong(Object, ByteOrder, long, long) - Method in class com.oracle.truffle.api.interop.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.
- writeBufferLong(ByteOrder, long, long) - Method in class org.graalvm.polyglot.Value
-
Writes the given long in the given byte order at the given byte offset from the start of the buffer.
- writeBufferShort(Object, ByteOrder, long, short) - Method in class com.oracle.truffle.api.interop.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.
- writeBufferShort(ByteOrder, long, short) - Method in class org.graalvm.polyglot.Value
-
Writes the given short in the given byte order at the given byte offset from the start of the buffer.
- writeByte(int, byte) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeByte(int, byte, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeByte(WordBase, byte) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeByte(WordBase, byte, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeByteUncached(int, byte, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.WriteByteNode
. - writeChar(int, char) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeChar(int, char, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeChar(WordBase, char) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeChar(WordBase, char, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeDouble(int, double) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeDouble(int, double, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeDouble(WordBase, double) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeDouble(WordBase, double, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeFloat(int, float) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeFloat(int, float, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeFloat(WordBase, float) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeFloat(WordBase, float, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeHashEntry(Object, Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Associates the specified value with the specified key in the receiver.
- writeInt(int, int) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeInt(int, int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeInt(WordBase, int) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeInt(WordBase, int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeLong(int, long) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeLong(int, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeLong(WordBase, long) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeLong(WordBase, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeMember(Object, String, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Writes the value of a given member.
- writeObject(int, Object) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeObject(int, Object, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeObject(WordBase, Object) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeObject(WordBase, Object, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writePreamble(PrintWriter) - Method in interface org.graalvm.nativeimage.c.CHeader.Header
-
Writes a preamble after the dependencies and before the list of included methods.
- writeShort(int, short) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeShort(int, short, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeShort(WordBase, short) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeShort(WordBase, short, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeWord(int, WordBase) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeWord(int, WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeWord(WordBase, WordBase) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeWord(WordBase, WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
. - writeWordVolatile(int, WordBase) - Method in interface org.graalvm.word.Pointer
-
Writes the memory at address
(this + offset)
in accordance with the volatile semantics.
X
- xor(int) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this ^ val)
. - xor(int) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this ^ val)
. - xor(SignedWord) - Method in interface org.graalvm.word.SignedWord
-
Returns a Signed whose value is
(this ^ val)
. - xor(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
-
Returns a Unsigned whose value is
(this ^ val)
.
Y
- yieldExceptions() - Element in annotation interface com.oracle.truffle.api.instrumentation.GenerateWrapper
-
Exceptions that are thrown to yield the execution of a thread.
Z
- zero() - Static method in class org.graalvm.word.WordFactory
-
The constant 0, i.e., the word with no bits set.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Context.Builder.allowHostAccess(HostAccess)
orContext.Builder.allowHostClassLookup(Predicate)
instead.