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. - 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() - Method in interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Provider
-
Deprecated.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() - Method in interface com.oracle.truffle.api.TruffleLanguage.Provider
-
Deprecated.Creates a new instance of a
TruffleLanguage
. - 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
. - createFileTypeDetectors() - Method in interface com.oracle.truffle.api.TruffleLanguage.Provider
-
Deprecated.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
-
Deprecated.
- 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
-
Deprecated.Use
EagerExportProvider
. - 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.io.IOAccess
- equals(Object) - Method in class org.graalvm.polyglot.io.ProcessHandler.Redirect
- 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.
- 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(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
- 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
. - getInstrumentClassName() - Method in interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Provider
-
Deprecated.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
. - getLanguageClassName() - Method in interface com.oracle.truffle.api.TruffleLanguage.Provider
-
Deprecated.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. - 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
Context.Builder.allowHostAccess(HostAccess)
orContext.Builder.allowHostClassLookup(Predicate)
instead.