Skip navigation links
GraalVM SDK Java API Reference
1.0.0-rc13-dev

84a80c90728eb05a4e4a362ced325cd2a8fd889d
A B C D E F G H I L M N O P R S T U V W X Z 

A

aboveOrEqual(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Compares this Unsigned with the specified value.
aboveOrEqual(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.
aboveThan(int) - Method in interface org.graalvm.word.UnsignedWord
Compares this Unsigned with the specified value.
add(E) - Method in interface org.graalvm.collections.EconomicSet
Adds element to this set if it is not already present.
add(Class<T>, T) - Static method in class org.graalvm.nativeimage.ImageSingletons
Add a singleton to the registry.
add(UnsignedWord) - Method in interface org.graalvm.word.Pointer
Returns a Pointer whose value is (this + val).
add(int) - Method in interface org.graalvm.word.Pointer
Returns a Pointer whose value is (this + val).
add(SignedWord) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this + val).
add(int) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this + val).
add(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this + val).
add(int) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this + val).
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.
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.
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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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.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.
advance() - Method in interface org.graalvm.collections.UnmodifiableMapCursor
Advances to the next entry.
afterAnalysis(Feature.AfterAnalysisAccess) - Method in interface org.graalvm.nativeimage.Feature
Handler for initializations after analysis and before universe creation.
afterCompilation(Feature.AfterCompilationAccess) - Method in interface org.graalvm.nativeimage.Feature
Handler for initializations after compilation, i.e., before the native image is written.
afterHeapLayout(Feature.AfterHeapLayoutAccess) - Method in interface org.graalvm.nativeimage.Feature
Handler for initializations after the native image heap and code layout.
afterImageWrite(Feature.AfterImageWriteAccess) - Method in interface org.graalvm.nativeimage.Feature
Handler for altering the image (or shared object) that the linker command produced.
afterRegistration(Feature.AfterRegistrationAccess) - Method in interface org.graalvm.nativeimage.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.
allowAllAccess(boolean) - Method in class org.graalvm.polyglot.Context.Builder
If true, grants the context the same access privileges as the host virtual machine.
allowCreateThread(boolean) - Method in class org.graalvm.polyglot.Context.Builder
If true, allows guest languages to create new threads.
allowHostAccess(boolean) - Method in class org.graalvm.polyglot.Context.Builder
Allows guest languages to access the host language by loading new classes.
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.
allowIO(boolean) - Method in class org.graalvm.polyglot.Context.Builder
If true, allows guest language to perform unrestricted IO operations on host system.
AllowNarrowingCast - Annotation Type 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 org.graalvm.polyglot.Context.Builder
Allows guest languages to access the native interface.
AllowWideningCast - Annotation Type 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.
and(UnsignedWord) - Method in interface org.graalvm.word.Pointer
Returns a Pointer whose value is (this & val).
and(int) - Method in interface org.graalvm.word.Pointer
Returns a Pointer whose value is (this & val).
and(SignedWord) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this & val).
and(int) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this & val).
and(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this & val).
and(int) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this & val).
any() - Static method in class org.graalvm.word.LocationIdentity
Indicates that the given location is the union of all possible mutable locations.
ANY_LOCATION - Static variable in class org.graalvm.word.LocationIdentity
Indicates that the given location is the union of all possible mutable locations.
arguments(String, String[]) - Method in class org.graalvm.polyglot.Context.Builder
Sets the guest language application arguments for a language context.
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.
asBoolean() - Method in class org.graalvm.polyglot.Value
Returns a boolean representation of this value if it is boolean.
asByte() - Method in class org.graalvm.polyglot.Value
Returns a byte representation of this value if it is number and the value fits.
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.
asDouble() - Method in class org.graalvm.polyglot.Value
Returns a double representation of this value if it is number and the value fits.
asFloat() - Method in class org.graalvm.polyglot.Value
Returns a float representation of this value if it is number and the value fits.
asHostException() - Method in exception org.graalvm.polyglot.PolyglotException
Returns the original Java host exception that caused this exception.
asHostObject() - Method in class org.graalvm.polyglot.Value
Returns the original Java host language object.
asInt() - Method in class org.graalvm.polyglot.Value
Returns an int representation of this value if it is number and the value fits.
asLong() - Method in class org.graalvm.polyglot.Value
Returns a long representation of this value if it is number and the value fits.
asNativePointer() - Method in class org.graalvm.polyglot.Value
Returns the value of the pointer as long value.
asPointer() - Method in interface org.graalvm.polyglot.proxy.ProxyNativeObject
Returns the native pointer value that this object represents.
asProxyObject() - Method in class org.graalvm.polyglot.Value
Returns the unboxed instance of the Proxy.
asShort() - Method in class org.graalvm.polyglot.Value
Returns a short representation of this value if it is number and the value fits.
asString() - Method in class org.graalvm.polyglot.Value
Returns the String value if this value is a string.
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.
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.
attachCurrentThread(Isolate) - Static method in class org.graalvm.nativeimage.Isolates
Attaches the current thread to the passed isolate.

B

beforeAnalysis(Feature.BeforeAnalysisAccess) - Method in interface org.graalvm.nativeimage.Feature
Handler for initializations before the static analysis.
beforeCompilation(Feature.BeforeCompilationAccess) - Method in interface org.graalvm.nativeimage.Feature
Handler for initializations before compilation.
beforeImageWrite(Feature.BeforeImageWriteAccess) - Method in interface org.graalvm.nativeimage.Feature
Handler for altering the linker command after the native image has been built and before it is written.
belowOrEqual(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Compares this Unsigned with the specified value.
belowOrEqual(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.
belowThan(int) - Method in interface org.graalvm.word.UnsignedWord
Compares this Unsigned with the specified value.
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
 
build() - Method in class org.graalvm.polyglot.Source.Builder
Uses configuration of this builder to create new Source object.
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 new Source object.
byteAt(int) - Method in interface org.graalvm.polyglot.io.ByteSequence
Returns the byte value at the specified index.
bytes() - Method in interface org.graalvm.polyglot.io.ByteSequence
Returns a stream of int zero-extending the byte values from this sequence.
ByteSequence - Interface in org.graalvm.polyglot.io
A ByteSequence is a readable sequence of byte values.

C

cached(boolean) - Method in class org.graalvm.polyglot.Source.Builder
Enables or disables code caching for this source.
calloc(UnsignedWord) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
Allocates size bytes of unmanaged memory.
calloc(int) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
Allocates size bytes of unmanaged memory.
canExecute() - Method in class org.graalvm.polyglot.Value
Returns true if the value can be executed.
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.
category(OptionCategory) - Method in class org.graalvm.options.OptionDescriptor.Builder
Defines the user category for this option.
CBitfield - Annotation Type 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.
CConstant - Annotation Type 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 Type 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 Type in org.graalvm.nativeimage.c.function
Annotates a method that is a VM entry point.
CEntryPoint.Builtin - Enum in org.graalvm.nativeimage.c.function
The built-in methods which can be aliased.
CEntryPoint.FatalExceptionHandler - Class in org.graalvm.nativeimage.c.function
Special placeholder value for CEntryPoint.exceptionHandler() to print the caught exception and treat it as a fatal error.
CEntryPoint.IsolateContext - Annotation Type in org.graalvm.nativeimage.c.function
Designates an Isolate parameter to use as the execution context.
CEntryPoint.IsolateThreadContext - Annotation Type in org.graalvm.nativeimage.c.function
Designates an IsolateThread parameter to use as the execution context.
CEntryPointLiteral<T extends CFunctionPointer> - 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 Type in org.graalvm.nativeimage.c.constant
Annotation to import a C enumeration to Java.
CEnumConstant - Annotation Type 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 Type in org.graalvm.nativeimage.c.constant
Annotation for a method that returns the Java enumeration object for a given C integer value.
CEnumValue - Annotation Type in org.graalvm.nativeimage.c.constant
Annotation for a method that returns the C integer value for a Java enumeration object.
CField - Annotation Type in org.graalvm.nativeimage.c.struct
Denotes a method as a field access of a C struct.
CFieldAddress - Annotation Type in org.graalvm.nativeimage.c.struct
Denotes a method as a field address computation of a C struct.
CFieldOffset - Annotation Type 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 Type 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 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.
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.
cleanup() - Method in interface org.graalvm.nativeimage.Feature
Handler for cleanup.
clear() - Method in interface org.graalvm.collections.EconomicMap
Removes all of the mappings from this map.
clear() - Method in interface org.graalvm.collections.EconomicSet
Removes all of the elements from this set.
CLibrary - Annotation Type in org.graalvm.nativeimage.c.function
Denotes an external library that needs to be linked in.
CLongPointer - Interface in org.graalvm.nativeimage.c.type
A pointer to a 64-bit C primitive value.
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 pointers.
close() - Method in interface org.graalvm.nativeimage.PinnedObject
Releases the pin for the object.
close(boolean) - Method in class org.graalvm.polyglot.Context
Closes the context and frees up potentially allocated native resources.
close() - Method in class org.graalvm.polyglot.Context
Closes this 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.
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.
CMacroInfo - Annotation Type in org.graalvm.nativeimage.c.function
Informational only.
CodePointer - Interface in org.graalvm.nativeimage.c.function
Pointer to executable code.
collectExceptions(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
Collect additional execution event data about errors.
collectInputValues(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
Collect additional execution event data for input values.
collectReturnValue(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
Collect additional execution event data about return values.
ComparableWord - Interface in org.graalvm.word
A machine-word-sized value that can be compared for equality.
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.
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.
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.
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.
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.
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.
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.
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.
contains(E) - Method in interface org.graalvm.collections.UnmodifiableEconomicSet
Returns true if this set contains a mapping for the element.
contains(Class<?>) - Static method in class org.graalvm.nativeimage.ImageSingletons
Checks if a singleton is in the registry.
containsKey(K) - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
Returns true if this map contains a mapping for key.
content(String) - Method in class org.graalvm.polyglot.Source.Builder
Specifies 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(ByteSequence) - Method in class org.graalvm.polyglot.Source.Builder
Specifies byte based content of to-be-built Source.
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.
convert(String) - Method in class org.graalvm.options.OptionType
Converts a string value, validates it, and converts it to an object of this type.
copy(Path, Path, CopyOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
Copies source file to target file.
CPointerTo - Annotation Type in org.graalvm.nativeimage.c.struct
Denotes Java interface that imports a C pointer type.
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(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(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(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(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, 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() - 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(Equivalence) - Static method in interface org.graalvm.collections.EconomicSet
Creates a new set guaranteeing insertion order when iterating over its elements.
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(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(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, 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(L, R) - Static method in class org.graalvm.collections.Pair
Constructs a pair with its left value being left, and its right value being right, or returns an empty pair if both inputs are null.
create(Class<?>, String, Class<?>...) - Static method in class org.graalvm.nativeimage.c.function.CEntryPointLiteral
Creates a new function pointer to an entry point.
create() - Static method in interface org.graalvm.nativeimage.ObjectHandles
Creates a new set of handles.
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(List<OptionDescriptor>) - Static method in interface org.graalvm.options.OptionDescriptors
Creates an OptionDescriptors instance from a list.
create(String...) - Static method in class org.graalvm.polyglot.Context
Creates a context with default configuration.
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 existing byte[].
create(String, CharSequence) - Static method in class org.graalvm.polyglot.Source
Shortcut for creating a source object from a language and char sequence.
createDirectory(Path, FileAttribute<?>...) - Method in interface org.graalvm.polyglot.io.FileSystem
Creates a directory.
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 if left is null.
createLink(Path, Path) - Method in interface org.graalvm.polyglot.io.FileSystem
Creates a new link for an existing file.
createRight(R) - Static method in class org.graalvm.collections.Pair
Constructs a pair with its right value being right, or returns an empty pair if right is null.
createSymbolicLink(Path, Path, FileAttribute<?>...) - Method in interface org.graalvm.polyglot.io.FileSystem
Creates a new symbolic link.
createUnion(OptionDescriptors...) - Static method in interface org.graalvm.options.OptionDescriptors
Creates a union options descriptor out of multiple given descriptors.
CShortPointer - Interface in org.graalvm.nativeimage.c.type
A pointer to a 16-bit C primitive value.
CStruct - Annotation Type 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.
CTypedefOfInfo - Annotation Type in org.graalvm.nativeimage.c.struct
Informational only.
CurrentIsolate - Class in org.graalvm.nativeimage
Utility methods that provide access to the current isolate.

D

DARWIN_AMD64() - Constructor for class org.graalvm.nativeimage.Platform.DARWIN_AMD64
Instantiates a marker instance of this platform.
DEFAULT - Static variable in class org.graalvm.collections.Equivalence
Default equivalence calling Object.equals(Object) to check equality and Object.hashCode() for obtaining hash values.
defaultType(T) - Static method in class org.graalvm.options.OptionType
Returns the default option type for a given value.
defaultType(Class<T>) - Static method in class org.graalvm.options.OptionType
Returns the default option type for a class.
delayClassInitialization(Class<?>...) - Static method in class org.graalvm.nativeimage.RuntimeClassInitialization
Registers the provided classes, and all of their subclasses, for class initialization at runtime.
delete(Path) - Method in interface org.graalvm.polyglot.io.FileSystem
Deletes a file.
deprecated(boolean) - Method in class org.graalvm.options.OptionDescriptor.Builder
Defines if this option is deprecated.
destroy(ObjectHandle) - Method in interface org.graalvm.nativeimage.ObjectHandles
Destroys the given handle.
destroy(long) - Static method in class org.graalvm.nativeimage.ProcessProperties
Kills the process.
destroyForcibly(long) - Static method in class org.graalvm.nativeimage.ProcessProperties
Kills the process forcibly.
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.
duringAnalysis(Feature.DuringAnalysisAccess) - Method in interface org.graalvm.nativeimage.Feature
Handler for performing operations during the static analysis.
duringSetup(Feature.DuringSetupAccess) - Method in interface org.graalvm.nativeimage.Feature
Handler for initializations at startup time.

E

EconomicMap<K,V> - Interface in org.graalvm.collections
Memory efficient map data structure.
EconomicSet<E> - Interface in org.graalvm.collections
Memory efficient set data structure.
empty() - Static method in class org.graalvm.collections.Pair
Returns an empty pair.
EMPTY - Static variable in interface org.graalvm.options.OptionDescriptors
An empty set of option descriptors.
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
 
enter() - Method in class org.graalvm.polyglot.Context
Explicitly enters the context on the current thread.
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(int) - 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.
equal(int) - Method in interface org.graalvm.word.UnsignedWord
Compares this Unsigned with the specified value.
equals(Object, Object) - Method in class org.graalvm.collections.Equivalence
Returns true if the non-null arguments are equal to each other and false otherwise.
equals(Object) - Method in class org.graalvm.collections.Pair
equals(Object) - Method in class org.graalvm.options.OptionDescriptor
equals(Object) - Method in exception 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
 
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(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.
eval(Source) - Method in class org.graalvm.polyglot.Context
Evaluates a source object by using the language specified in the source.
eval(String, CharSequence) - Method in class org.graalvm.polyglot.Context
Evaluates a guest language code literal, using a provided language id.
execute(Value...) - Method in interface org.graalvm.polyglot.proxy.ProxyExecutable
Executes the object with the given arguments and returns its result.
execute(Object...) - Method in class org.graalvm.polyglot.Value
Executes this value if it can be executed and returns its result.
executeVoid(Object...) - Method in class org.graalvm.polyglot.Value
Executes this value if it can be executed.
ExecutionEvent - Class in org.graalvm.polyglot.management
An execution event object passed to an execution listener consumer.
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.
expressions(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
Include program locations that are marked as expressions.

F

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
Features allow clients to intercept the native image generation and run custom initialization code at various stages.
Feature.AfterAnalysisAccess - Interface in org.graalvm.nativeimage
Feature.AfterCompilationAccess - Interface in org.graalvm.nativeimage
Feature.AfterHeapLayoutAccess - Interface in org.graalvm.nativeimage
Feature.AfterImageWriteAccess - Interface in org.graalvm.nativeimage
Feature.AfterRegistrationAccess - Interface in org.graalvm.nativeimage
Feature.BeforeAnalysisAccess - Interface in org.graalvm.nativeimage
Feature.BeforeCompilationAccess - Interface in org.graalvm.nativeimage
Feature.BeforeImageWriteAccess - Interface in org.graalvm.nativeimage
Feature.CompilationAccess - Interface in org.graalvm.nativeimage
Feature.DuringAnalysisAccess - Interface in org.graalvm.nativeimage
Feature.DuringSetupAccess - Interface in org.graalvm.nativeimage
Feature.FeatureAccess - Interface in org.graalvm.nativeimage
Access methods that are available for all feature methods.
Feature.IsInConfigurationAccess - Interface in org.graalvm.nativeimage
Feature.OnAnalysisExitAccess - Interface in org.graalvm.nativeimage
fileSystem(FileSystem) - Method in class org.graalvm.polyglot.Context.Builder
Installs a new FileSystem.
FileSystem - Interface in org.graalvm.polyglot.io
Service-provider for Truffle files.
fillInStackTrace() - Method in exception org.graalvm.polyglot.PolyglotException
Unsupported, PolyglotException instances are not writable therefore filling the stack trace has no effect for them.
findClassByName(String) - Method in interface org.graalvm.nativeimage.Feature.FeatureAccess
Returns a class if it is present on the classpath.
findHome() - Static method in class org.graalvm.polyglot.Engine
Finds the GraalVM home folder.
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(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.
findLanguage(String) - Static method in class org.graalvm.polyglot.Source
Returns the first installed language that supports evaluating sources for a given MIME type.
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 org.graalvm.polyglot.Source
Returns the probed MIME type for a given url, or null if no MIME type could be resolved.
fitsInByte() - Method in class org.graalvm.polyglot.Value
Returns true if this value represents a number and the value fits in byte, else false.
fitsInDouble() - Method in class org.graalvm.polyglot.Value
Returns true if this value represents a number and the value fits in double, else false.
fitsInFloat() - Method in class org.graalvm.polyglot.Value
Returns true if this value represents a number and the value fits in float, else false.
fitsInInt() - Method in class org.graalvm.polyglot.Value
Returns true if this value represents a number and the value fits in int, else false.
fitsInLong() - Method in class org.graalvm.polyglot.Value
Returns true if this value represents a number and the value fits in long, else false.
fitsInShort() - Method in class org.graalvm.polyglot.Value
Returns true if this value represents a number and the value fits in short, else false.
flush() - Method in interface org.graalvm.nativeimage.LogHandler
Flush the log to its destination.
free(PointerBase) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
Frees unmanaged memory that was previously allocated using methods of this class.
fromArray(Object...) - Static method in interface org.graalvm.polyglot.proxy.ProxyArray
Creates a proxy array backed by a Java array.
fromList(List<Object>) - Static method in interface org.graalvm.polyglot.proxy.ProxyArray
Creates a proxy array backed by a Java List.
fromMap(Map<String, Object>) - Static method in interface org.graalvm.polyglot.proxy.ProxyObject
Creates a proxy backed by a Map.

G

get(K) - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
Returns the value to which key is mapped, or null if this map contains no mapping for key.
get(K, V) - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
Returns the value to which key is mapped, or defaultValue if this map contains no mapping for key.
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 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() - 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(ObjectHandle) - Method in interface org.graalvm.nativeimage.ObjectHandles
Extracts the object from a given handle.
get(String) - Static method in class org.graalvm.nativeimage.RuntimeOptions
Get the value of the option with the provided name.
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(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(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(String) - Method in interface org.graalvm.options.OptionDescriptors
Gets the OptionDescriptor matching a given option name or null if this option descriptor set does not contain a matching option name.
get(OptionKey<T>) - Method in interface org.graalvm.options.OptionValues
Returns the value of a given option.
get(long) - Method in interface org.graalvm.polyglot.proxy.ProxyArray
Returns the element at the given index.
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.
getBindings(String) - Method in class org.graalvm.polyglot.Context
Returns a value that represents the top-most bindings of a language.
getBytes() - Method in class org.graalvm.polyglot.Source
Returns the bytes of the source if it is a byte based source.
getCategory() - Method in class org.graalvm.options.OptionDescriptor
Returns the user category of this option.
getCharacters() - Method in class org.graalvm.polyglot.Source
Returns all characters of the source.
getCharacters(int) - Method in class org.graalvm.polyglot.Source
Gets the text (not including a possible terminating newline) in a (1-based) numbered line.
getCharacters() - Method in class org.graalvm.polyglot.SourceSection
Returns the source code fragment described by this 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 org.graalvm.polyglot.SourceSection
Returns the 0-based index of the first character in this section.
getCharLength() - Method in class org.graalvm.polyglot.SourceSection
Returns the length of this section in characters.
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.
getCurrent() - Static method in class org.graalvm.polyglot.Context
Returns the currently entered polyglot context.
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.
getDefault() - Static method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
Returns a Isolates.CreateIsolateParameters with all default values.
getDefaultMimeType() - Method in class org.graalvm.polyglot.Language
Returns the default MIME type that is in use by a language.
getDefaultValue() - Method in class org.graalvm.options.OptionKey
Returns the default value for this option.
getDefaultValue() - Method in class org.graalvm.options.OptionType
Returns the default value of this type.
getDescriptors() - Method in interface org.graalvm.options.OptionValues
Returns all available options.
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 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.
getEntries() - Method in interface org.graalvm.collections.EconomicMap
Returns a MapCursor view of the mappings contained in this map.
getEntries() - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
Returns a UnmodifiableMapCursor view of the mappings contained in this map.
getException() - Method in class org.graalvm.polyglot.management.ExecutionEvent
Returns the exception of this source location after it was executed.
getExecutableName() - Static method in class org.graalvm.nativeimage.ProcessProperties
Return the canonicalized absolute pathname of the executable.
getExitStatus() - Method in exception org.graalvm.polyglot.PolyglotException
Returns the exit status if this exception indicates that the application was exited.
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.
getGuestObject() - Method in exception org.graalvm.polyglot.PolyglotException
Returns an additional guest language object.
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.
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.
getImagePath() - Method in interface org.graalvm.nativeimage.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").
getInputValues() - Method in class org.graalvm.polyglot.management.ExecutionEvent
Returns the input values provided to execute this source location.
getInstruments() - Method in class org.graalvm.polyglot.Engine
Gets all installed instruments of this engine.
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.
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.
getKeys() - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
Returns a Iterable view of the keys contained in this map.
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.
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.
getLeft() - Method in class org.graalvm.collections.Pair
Returns the left value of this pair.
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.
getLibraryPaths() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
Returns a list of library paths.
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 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 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 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 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.
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 or null if the member does not exist.
getMemberKeys() - Method in interface org.graalvm.polyglot.proxy.ProxyObject
Returns array of member keys.
getMemberKeys() - Method in class org.graalvm.polyglot.Value
Returns a set of all member keys.
getMessage() - Method in exception org.graalvm.polyglot.PolyglotException
Gets a user readable message for the polyglot exception.
getMetaObject() - Method in class org.graalvm.polyglot.Value
Returns the meta representation of this polyglot value.
getMimeType() - Method in class org.graalvm.polyglot.Source
Returns the MIME type that is associated with this source.
getMimeTypes() - Method in class org.graalvm.polyglot.Language
Returns the MIME types supported by this language.
getName() - Method in class org.graalvm.options.OptionDescriptor
Returns the name of the option that this descriptor represents.
getName() - Method in class org.graalvm.options.OptionType
Returns the name of this type.
getName() - Method in class org.graalvm.polyglot.Instrument
Gets a human-readable name for this instrument.
getName() - Method in class org.graalvm.polyglot.Language
Gets a human-readable name for the language (for example, "JavaScript").
getName() - Method in class org.graalvm.polyglot.Source
Returns the name of this resource holding a guest language program.
getObject() - Method in interface org.graalvm.nativeimage.PinnedObject
Returns the Object that is the referent of this PinnedObject.
getObjectFile(String) - Static method in class org.graalvm.nativeimage.ProcessProperties
Return the path of the object file defining the symbol specified as a String containing the symbol name.
getObjectFile(CEntryPointLiteral<?>) - Static method in class org.graalvm.nativeimage.ProcessProperties
Return the path of the object file defining the symbol specified as a CEntryPointLiteral containing a function pointer to symbol.
getOptions() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
Returns options to be passed to the C compiler when processing the directives.
getOptions() - Static method in class org.graalvm.nativeimage.RuntimeOptions
Returns all available run time options.
getOptions() - Method in class org.graalvm.polyglot.Engine
Returns all options available for the engine.
getOptions() - Method in class org.graalvm.polyglot.Instrument
Gets the options available for this instrument.
getOptions() - Method in class org.graalvm.polyglot.Language
Returns the set of options provided by this language.
getPath() - Method in class org.graalvm.polyglot.Source
The fully qualified name of the source.
getPolyglotBindings() - Method in class org.graalvm.polyglot.Context
Returns polyglot bindings that may be used to exchange symbols between the host and guest languages.
getPolyglotStackTrace() - Method in exception org.graalvm.polyglot.PolyglotException
Provides programmatic access to the polyglot stack trace information printed by PolyglotException.printStackTrace().
getProcessID() - Static method in class org.graalvm.nativeimage.ProcessProperties
Get the Process ID of the process executing the image.
getProcessID(Process) - Static method in class org.graalvm.nativeimage.ProcessProperties
Get the Process ID of the given process object.
getRawType() - Method in class org.graalvm.polyglot.TypeLiteral
Returns the raw class type of the literal.
getReader() - Method in class org.graalvm.polyglot.Source
Returns a new reader that reads from the characters provided by this source.
getRequiredFeatures() - Method in interface org.graalvm.nativeimage.Feature
Returns the list of features that this feature depends on.
getReservedAddressSpaceSize() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
Returns the size in bytes for the reserved virtual address space of the new isolate.
getReturnValue() - Method in class org.graalvm.polyglot.management.ExecutionEvent
Returns the return value of this source location after it was executed.
getRight() - Method in class org.graalvm.collections.Pair
Returns the right value of this pair.
getRootName() - Method in class org.graalvm.polyglot.management.ExecutionEvent
Returns the root name or null if no name is available.
getRootName() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
Returns the root name of this stack frame.
getSeparator() - Method in interface org.graalvm.polyglot.io.FileSystem
Returns the name separator used to separate names in a path string.
getSize() - Method in interface org.graalvm.polyglot.proxy.ProxyArray
Returns the reported size of the array.
getSource() - Method in class org.graalvm.polyglot.SourceSection
Representation of the source program that contains this section.
getSourceLocation() - Method in exception org.graalvm.polyglot.PolyglotException
Gets a guest language source location of this error or null if no source location is available for this exception.
getSourceLocation() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
Returns the source location of the stack frame or null if no source location is available.
getSourceLocation() - Method in class org.graalvm.polyglot.Value
Returns the declared source location of the value.
getStackTrace() - Method in exception org.graalvm.polyglot.PolyglotException
Gets stack trace elements for Java and guest languages.
getStartColumn() - Method in class org.graalvm.polyglot.SourceSection
Returns the 1-based column number of the first character in this section (inclusive).
getStartLine() - Method in class org.graalvm.polyglot.SourceSection
Returns 1-based line number of the first character in this section (inclusive).
getType() - Method in class org.graalvm.options.OptionKey
Returns the option type of this key.
getType() - Method in class org.graalvm.polyglot.TypeLiteral
Returns the type literal including generic type information.
getURI() - Method in class org.graalvm.polyglot.Source
Get the URI of the source.
getURL() - Method in class org.graalvm.polyglot.Source
The URL if the source is retrieved via URL.
getValue() - Method in interface org.graalvm.collections.UnmodifiableMapCursor
The value of the current entry.
getValue(OptionValues) - Method in class org.graalvm.options.OptionKey
Returns the value of this key given the values.
getValues() - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
Returns a Iterable view of the values contained in this map.
getVersion() - Method in class org.graalvm.polyglot.Engine
Gets the version string of the engine in an unspecified format.
getVersion() - Method in class org.graalvm.polyglot.Instrument
Gets the version of this instrument.
getVersion() - Method in class org.graalvm.polyglot.Language
Gets the version information of the language in an arbitrary language-specific format.
greaterOrEqual(SignedWord) - Method in interface org.graalvm.word.SignedWord
Compares this Signed with the specified value.
greaterOrEqual(int) - Method in interface org.graalvm.word.SignedWord
Compares this Signed with the specified value.
greaterThan(SignedWord) - Method in interface org.graalvm.word.SignedWord
Compares this Signed with the specified value.
greaterThan(int) - Method in interface org.graalvm.word.SignedWord
Compares this Signed with the specified value.

H

hasArrayElements() - Method in class org.graalvm.polyglot.Value
Returns true if this polyglot value has array elements.
hasBeenSet(OptionValues) - Method in class org.graalvm.options.OptionKey
Returns true if a value for this key has been set for the given option values or false if no value has been set.
hasBeenSet(OptionKey<?>) - Method in interface org.graalvm.options.OptionValues
Determines if a value for optionKey has been OptionValues.set(org.graalvm.options.OptionKey<T>, T) in this set of option values.
hasBytes() - Method in class org.graalvm.polyglot.Source
Returns true if this source represents a byte based source, else false.
hasCharacters() - Method in class org.graalvm.polyglot.Source
Returns true if this source represents a character based source, else false.
hasCharIndex() - Method in class org.graalvm.polyglot.SourceSection
Returns true if this section has a character index information, false otherwise.
hasColumns() - Method in class org.graalvm.polyglot.SourceSection
Returns true if this section has a column number information, false otherwise.
hashCode(Object) - Method in class org.graalvm.collections.Equivalence
Returns the hash code of a non-null argument o.
hashCode() - Method in class org.graalvm.collections.Pair
hashCode() - Method in class org.graalvm.options.OptionDescriptor
hashCode() - Method in exception org.graalvm.polyglot.PolyglotException
hashCode() - Method in class org.graalvm.polyglot.Source
hashCode() - Method in class org.graalvm.polyglot.SourceSection
 
hashCode() - Method in class org.graalvm.polyglot.TypeLiteral
 
hasLines() - Method in class org.graalvm.polyglot.SourceSection
Returns true if this section has a line number information, false otherwise.
hasMember(String) - Method in interface org.graalvm.polyglot.proxy.ProxyObject
Returns true if the proxy object contains a member with the given key, or else false.
hasMember(String) - Method in class org.graalvm.polyglot.Value
Returns true if such a member exists for a given identifier.
hasMembers() - Method in class org.graalvm.polyglot.Value
Returns true if this value generally supports containing members.
hasSetOptions() - Method in interface org.graalvm.options.OptionValues
Determines if a value for any of the option keys in option descriptors has been OptionValues.set(org.graalvm.options.OptionKey<T>, T) in this set of option values.
help(String) - Method in class org.graalvm.options.OptionDescriptor.Builder
Specifies a human-readable description on how to use the option.
hostClassFilter(Predicate<String>) - Method in class org.graalvm.polyglot.Context.Builder
Sets a class filter that allows to limit the classes that are allowed to be loaded by guest languages.

I

IDENTITY - Static variable in class org.graalvm.collections.Equivalence
Identity equivalence using == to check equality and Object.hashCode() for obtaining hash values.
IDENTITY_WITH_SYSTEM_HASHCODE - Static variable in class org.graalvm.collections.Equivalence
Identity equivalence using == to check equality and System.identityHashCode(Object) for obtaining hash values.
ImageInfo - Class in org.graalvm.nativeimage
Utility class to retrieve information about the context in which code gets executed.
ImageSingletons - Class in org.graalvm.nativeimage
A key-value store of singleton objects.
in(InputStream) - Method in class org.graalvm.polyglot.Context.Builder
Sets the input stream to be used for the context.
in(InputStream) - Method in class org.graalvm.polyglot.Engine.Builder
Sets the standard input stream to be used for this engine.
includedIn(Class<? extends Platform>) - Static method in interface org.graalvm.nativeimage.Platform
Returns true if the current platform (the platform that the native image is built for) is included in the provided platform group.
inImageBuildtimeCode() - Static method in class org.graalvm.nativeimage.ImageInfo
Returns true if (at the time of the call) code is executing in the context of image building (e.g.
inImageCode() - Static method in class org.graalvm.nativeimage.ImageInfo
Returns true if (at the time of the call) code is executing in the context of image building or during image runtime, else false.
inImageRuntimeCode() - Static method in class org.graalvm.nativeimage.ImageInfo
Returns true if (at the time of the call) code is executing at image runtime.
init() - Static method in class org.graalvm.word.LocationIdentity
Location only allowed to be used for writes.
INIT_LOCATION - Static variable in class org.graalvm.word.LocationIdentity
Location only allowed to be used for writes.
initialize() - Static method in class org.graalvm.nativeimage.VMRuntime
Initializes the VM: Runs all startup hooks that were registered during image building.
initialize(String) - Method in class org.graalvm.polyglot.Context
Forces the initialization of a language.
initializeLong(WordBase, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Initializes the memory at address (this + offset).
initializeLong(int, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Initializes the memory at address (this + offset).
Instrument - Class in org.graalvm.polyglot
A handle for an instrument installed in an engine.
interactive(boolean) - Method in class org.graalvm.polyglot.Source.Builder
Marks the source as interactive.
internal(boolean) - Method in class org.graalvm.polyglot.Source.Builder
Set whether this source has been marked as internal, meaning that it has been provided by the infrastructure, language implementation, or system library.
InvokeCFunctionPointer - Annotation Type in org.graalvm.nativeimage.c.function
Annotation for an invocation method defined in a sub-interface of CFunctionPointer.
invokeMember(String, Object...) - Method in class org.graalvm.polyglot.Value
Invokes the given member of this value.
isAlive(long) - Static method in class org.graalvm.nativeimage.ProcessProperties
Tests whether the process represented by the given Process ID is alive.
isAny() - Method in class org.graalvm.word.LocationIdentity
Returns true if this location identity is LocationIdentity.any().
isAvailable() - Method in class org.graalvm.polyglot.SourceSection
Returns whether this is a special instance that signifies that source information is available.
isBoolean() - Method in class org.graalvm.polyglot.Value
Returns true if this value represents a boolean value.
isCancelled() - Method in exception org.graalvm.polyglot.PolyglotException
Returns true if the execution was cancelled.
isDeprecated() - Method in class org.graalvm.options.OptionDescriptor
Returns true if this option was marked deprecated.
isEmpty() - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
Returns true if this map contains no key-value mappings.
isEmpty() - Method in interface org.graalvm.collections.UnmodifiableEconomicSet
Returns true if this set contains no elements.
isExecutable() - Static method in class org.graalvm.nativeimage.ImageInfo
Returns true if the image is build as an executable.
isExit() - Method in exception org.graalvm.polyglot.PolyglotException
Returns true if this exception is caused by an attempt of a guest language program to exit the application using a builtin command.
isExpression() - Method in class org.graalvm.polyglot.management.ExecutionEvent
Returns true if the source location is marked as expression, else false.
isGuestException() - Method in exception org.graalvm.polyglot.PolyglotException
Returns true if this exception originates from a Graal guest language.
isGuestFrame() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
Returns true if the stack frame originates from the guest language.
isHostException() - Method in exception org.graalvm.polyglot.PolyglotException
Returns true if this exception originates from the Java host language.
isHostFrame() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
Returns true if the stack frame originates from the host language.
isHostObject() - Method in class org.graalvm.polyglot.Value
Returns true if the value originated form the host language Java.
isImmutable() - Method in class org.graalvm.word.LocationIdentity
Denotes a location is unchanging in all cases.
isIncompleteSource() - Method in exception org.graalvm.polyglot.PolyglotException
Returns true if this exception indicates a syntax error that is indicating that the syntax is incomplete.
isInConfiguration() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
This method is called immediately after the constructor, to check whether the context is part of the configuration or not.
isInConfiguration(Feature.IsInConfigurationAccess) - Method in interface org.graalvm.nativeimage.Feature
This method is called immediately after the constructor, to check whether the feature is part of the configuration or not.
isInit() - Method in class org.graalvm.word.LocationIdentity
Returns true if this location identity is LocationIdentity.init().
isInteractive() - Method in class org.graalvm.polyglot.Language
Returns true if a the language is suitable for interactive evaluation of sources.
isInteractive() - Method in class org.graalvm.polyglot.Source
Check whether this source has been marked as interactive.
isInternal() - Method in class org.graalvm.polyglot.Source
Gets whether this source has been marked as internal, meaning that it has been provided by the infrastructure, language implementation, or system library.
isInternalError() - Method in exception org.graalvm.polyglot.PolyglotException
Returns true if this exception was caused by an internal implementation error.
isMutable() - Method in class org.graalvm.word.LocationIdentity
isNativePointer() - Method in class org.graalvm.polyglot.Value
Returns true if this value is a native pointer.
isNonNull() - Method in interface org.graalvm.word.PointerBase
Returns true if this pointer is not the null pointer.
isNull() - Method in class org.graalvm.polyglot.Value
Returns true if this value is a null like.
isNull() - Method in interface org.graalvm.word.PointerBase
Returns true if this pointer is the null pointer.
isNumber() - Method in class org.graalvm.polyglot.Value
Returns true if this value represents a number, else false.
Isolate - Interface in org.graalvm.nativeimage
Pointer to the runtime data structure for an isolate.
IsolateException(String) - Constructor for exception org.graalvm.nativeimage.Isolates.IsolateException
Constructs a new exception with the specified detail message.
Isolates - Class in org.graalvm.nativeimage
Support for the creation, access to, and tear-down of isolates.
Isolates.CreateIsolateParameters - Class in org.graalvm.nativeimage
Parameters for the creation of an isolate.
Isolates.CreateIsolateParameters.Builder - Class in org.graalvm.nativeimage
Builder for a Isolates.CreateIsolateParameters instance.
Isolates.IsolateException - Exception in org.graalvm.nativeimage
An exception thrown in the context of managing isolates.
IsolateThread - Interface in org.graalvm.nativeimage
Pointer to the runtime data structure for a thread.
isProxyObject() - Method in class org.graalvm.polyglot.Value
Returns true if this value represents a Proxy.
isRoot() - Method in class org.graalvm.polyglot.management.ExecutionEvent
Returns true if the source location is marked as a root of a function, method or closure, else false.
isSharedLibrary() - Static method in class org.graalvm.nativeimage.ImageInfo
Returns true if the image is build as a shared library.
isSingle() - Method in class org.graalvm.word.LocationIdentity
Returns true if this location identity is not LocationIdentity.any().
isStatement() - Method in class org.graalvm.polyglot.management.ExecutionEvent
Returns true if the source location is marked as a statement, else false.
isString() - Method in class org.graalvm.polyglot.Value
Returns true if this value represents a string.
isSyntaxError() - Method in exception org.graalvm.polyglot.PolyglotException
Returns true if this exception indicates a parser or syntax error.
iterator() - Method in interface org.graalvm.options.OptionDescriptors

L

Language - Class in org.graalvm.polyglot
A handle for a Graal language installed in an engine.
leave() - Method in class org.graalvm.polyglot.Context
Explicitly leaves the context on the current thread.
length() - Method in interface org.graalvm.polyglot.io.ByteSequence
Returns the length of this byte sequence.
lessOrEqual(SignedWord) - Method in interface org.graalvm.word.SignedWord
Compares this Signed with the specified value.
lessOrEqual(int) - Method in interface org.graalvm.word.SignedWord
Compares this Signed with the specified value.
lessThan(SignedWord) - Method in interface org.graalvm.word.SignedWord
Compares this Signed with the specified value.
lessThan(int) - Method in interface org.graalvm.word.SignedWord
Compares this Signed with the specified value.
LINUX_AMD64() - Constructor for class org.graalvm.nativeimage.Platform.LINUX_AMD64
Instantiates a marker instance of this platform.
LocationIdentity - Class in org.graalvm.word
Marker interface for location identities.
LocationIdentity() - Constructor for class org.graalvm.word.LocationIdentity
Creates a new location identity.
log(CCharPointer, UnsignedWord) - Method in interface org.graalvm.nativeimage.LogHandler
Write raw bytes to the log.
LogHandler - Interface in org.graalvm.nativeimage
Low-level handler for log messages of native images.
logHandler(Handler) - Method in class org.graalvm.polyglot.Context.Builder
Installs a new logging Handler.
logHandler(OutputStream) - Method in class org.graalvm.polyglot.Context.Builder
Installs a new logging Handler using given OutputStream.
logHandler(Handler) - Method in class org.graalvm.polyglot.Engine.Builder
Installs a new logging Handler.
logHandler(OutputStream) - Method in class org.graalvm.polyglot.Engine.Builder
Installs a new logging Handler using given OutputStream.
logicCompareAndSwapInt(WordBase, int, int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapInt(int, int, int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapLong(WordBase, long, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapLong(int, long, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapObject(WordBase, Object, Object, LocationIdentity) - Method in interface org.graalvm.word.Pointer
In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapObject(int, Object, Object, LocationIdentity) - Method in interface org.graalvm.word.Pointer
In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapWord(WordBase, WordBase, WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapWord(int, WordBase, WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
lookup(Class<T>) - Static method in class org.graalvm.nativeimage.ImageSingletons
Lookup a singleton in the registry.
lookup(Class<T>) - Method in class org.graalvm.polyglot.Instrument
Looks up an additional internal service that is provided by this instrument using a Java type.

M

malloc(UnsignedWord) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
Allocates size bytes of unmanaged memory.
malloc(int) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
Allocates size bytes of unmanaged memory.
MapCursor<K,V> - Interface in org.graalvm.collections
Cursor to iterate over a mutable map.
MessageEndpoint - Interface in org.graalvm.polyglot.io
An endpoint representing one side of message transport.
MessageTransport - Interface in org.graalvm.polyglot.io
Allows to take over transport of message communication initiated by an instrument.
MessageTransport.VetoException - Exception in org.graalvm.polyglot.io
Thrown when a transport connection is vetoed.
mimeType(String) - Method in class org.graalvm.polyglot.Source.Builder
Explicitly assigns a MIME type to the to-be-built Source.
move(Path, Path, CopyOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
Moves (renames) source file to target file.
multiply(SignedWord) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this * val).
multiply(int) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this * val).
multiply(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this * val).
multiply(int) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this * val).

N

name(String) - Method in class org.graalvm.polyglot.Source.Builder
Specifies a name to the to-be-built Source.
newBuilder(OptionKey<T>, String) - Static method in class org.graalvm.options.OptionDescriptor
Creates a new option descriptor builder by key.
newBuilder(String...) - Static method in class org.graalvm.polyglot.Context
Creates a builder for constructing a context with custom configuration.
newBuilder() - Static method in class org.graalvm.polyglot.Engine
Creates a new context builder that allows to configure an engine instance.
newBuilder() - Static method in class org.graalvm.polyglot.management.ExecutionListener
Creates a builder that can be used to attach execution listeners.
newBuilder(String, CharSequence, String) - Static method in class org.graalvm.polyglot.Source
Creates a new character based source from a character sequence.
newBuilder(String, ByteSequence, String) - Static method in class org.graalvm.polyglot.Source
Creates a new byte based source from a byte sequence.
newBuilder(String, File) - Static method in class org.graalvm.polyglot.Source
Creates a new file based source builder from a given file.
newBuilder(String, URL) - Static method in class org.graalvm.polyglot.Source
Creates a new URL based source builder from a given URL.
newBuilder(String, Reader, String) - Static method in class org.graalvm.polyglot.Source
Creates new character based source from a reader.
newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in interface org.graalvm.polyglot.io.FileSystem
Opens or creates a file returning a SeekableByteChannel to access the file content.
newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in interface org.graalvm.polyglot.io.FileSystem
Returns directory entries.
newInstance(Value...) - Method in interface org.graalvm.polyglot.proxy.ProxyInstantiable
Creates a new instance of the object with the given arguments.
newInstance(Object...) - Method in class org.graalvm.polyglot.Value
Instantiates this value if it can be instantiated.
not() - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (~this).
not() - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (~this).
notEqual(ComparableWord) - Method in interface org.graalvm.word.ComparableWord
Compares this word with the specified value.
notEqual(SignedWord) - Method in interface org.graalvm.word.SignedWord
Compares this Signed with the specified value.
notEqual(int) - Method in interface org.graalvm.word.SignedWord
Compares this Signed with the specified value.
notEqual(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Compares this Unsigned with the specified value.
notEqual(int) - Method in interface org.graalvm.word.UnsignedWord
Compares this Unsigned with the specified value.
nullPointer() - Static method in class org.graalvm.word.WordFactory
The null pointer, i.e., the pointer with no bits set.

O

objectFieldOffset(Field) - Method in interface org.graalvm.nativeimage.Feature.CompilationAccess
Returns the field offset of the provided instance field.
ObjectHandle - Interface in org.graalvm.nativeimage
The opaque representation of a handle to a Java object given out to C code.
ObjectHandles - Interface in org.graalvm.nativeimage
Manages a set of ObjectHandles.
onAnalysisExit(Feature.OnAnalysisExitAccess) - Method in interface org.graalvm.nativeimage.Feature
Handler for code that needs to run after the analysis, even if an error has occured, e.g., like reporting code.
onEnter(Consumer<ExecutionEvent>) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
Set a listener that is notified when an execution of an element is entered.
onReturn(Consumer<ExecutionEvent>) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
Set a listener that is notified when an execution of an element was entered and completed.
open(URI, MessageEndpoint) - Method in interface org.graalvm.polyglot.io.MessageTransport
Called when a connection to an URI is to be established.
option(String, String) - Method in class org.graalvm.polyglot.Context.Builder
Sets an option for this context.
option(String, String) - Method in class org.graalvm.polyglot.Engine.Builder
Sets an option for an engine, language or instrument.
OptionCategory - Enum in org.graalvm.options
Categorizes options according to user relevance.
OptionDescriptor - Class in org.graalvm.options
Represents metadata for a single option.
OptionDescriptor.Builder - Class in org.graalvm.options
Represents an option descriptor builder.
OptionDescriptors - Interface in org.graalvm.options
An interface to a set of OptionDescriptors.
OptionKey<T> - Class in org.graalvm.options
Represents the option key for an option specification.
OptionKey(T) - Constructor for class org.graalvm.options.OptionKey
Constructs a new option key given a default value.
OptionKey(T, OptionType<T>) - Constructor for class org.graalvm.options.OptionKey
Constructs a new option key given a default value and option key.
options(Map<String, String>) - Method in class org.graalvm.polyglot.Context.Builder
Shortcut for setting multiple options using a map.
options(Map<String, String>) - Method in class org.graalvm.polyglot.Engine.Builder
Shortcut for setting multiple options using a map.
OptionType<T> - Class in org.graalvm.options
Represents a type of an option that allows to convert string values to Java values.
OptionType(String, T, Function<String, T>, Consumer<T>) - Constructor for class org.graalvm.options.OptionType
Constructs a new option type with name, defaultValue, and function that allows to convert a string to the option type.
OptionType(String, T, Function<String, T>) - Constructor for class org.graalvm.options.OptionType
Constructs a new option type with name, defaultValue, and function that allows to convert a string to the option type.
OptionValues - Interface in org.graalvm.options
Represents a set of option values based on an OptionDescriptor.
or(UnsignedWord) - Method in interface org.graalvm.word.Pointer
Returns a Pointer whose value is (this | val).
or(int) - Method in interface org.graalvm.word.Pointer
Returns a Pointer whose value is (this | val).
or(SignedWord) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this | val).
or(int) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this | val).
or(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this | val).
or(int) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this | val).
org.graalvm.collections - package org.graalvm.collections
The Graal-SDK collections package contains memory efficient data structures.
org.graalvm.nativeimage - package org.graalvm.nativeimage
The Graal-SDK native-image API allows to customize the native image generation, i.e., the ahead-of-time compilation of Java code to standalone executables.
org.graalvm.nativeimage.c - package org.graalvm.nativeimage.c
This package and its sub-packages provide a fast and lightweight interface between Java code and C code.
org.graalvm.nativeimage.c.constant - package org.graalvm.nativeimage.c.constant
This package provides parts of the Java / C interface that are related to C constants.
org.graalvm.nativeimage.c.function - package org.graalvm.nativeimage.c.function
This package provides parts of the Java / C interface that are related to C functions.
org.graalvm.nativeimage.c.struct - package org.graalvm.nativeimage.c.struct
This package provides parts of the Java / C interface that are related to C structures.
org.graalvm.nativeimage.c.type - package org.graalvm.nativeimage.c.type
This package provides parts of the Java / C interface that are related to standard C pointer types, as well as utility functions to convert between Java types and C types.
org.graalvm.options - package org.graalvm.options
The Graal-SDK options package contains reusable collection classes for options.
org.graalvm.polyglot - package org.graalvm.polyglot
The Graal-SDK polyglot API allows to embed Graal languages in Java applications.
org.graalvm.polyglot.io - package org.graalvm.polyglot.io
Input/Output support for the Graal-SDK polyglot API.
org.graalvm.polyglot.management - package org.graalvm.polyglot.management
The management package provides tools that monitor and instrument the behavior of guest language programs.
org.graalvm.polyglot.proxy - package org.graalvm.polyglot.proxy
The Graal SDK proxy interfaces allow to mimic guest language objects, arrays, executables, primitives and native objects in Graal languages.
org.graalvm.word - package org.graalvm.word
This package provides a low-level mechanism to use machine-word-sized values in Java.
out(OutputStream) - Method in class org.graalvm.polyglot.Context.Builder
Sets the standard output stream to be used for the context.
out(OutputStream) - Method in class org.graalvm.polyglot.Engine.Builder
Sets the standard output stream to be used for this engine.
overlaps(LocationIdentity) - Method in class org.graalvm.word.LocationIdentity
Returns true if the memory slice denoted by this location identity may overlap with the provided other location identity.

P

Pair<L,R> - Class in org.graalvm.collections
Utility class representing a pair of values.
parsePath(URI) - Method in interface org.graalvm.polyglot.io.FileSystem
Parses a path from an URI.
parsePath(String) - Method in interface org.graalvm.polyglot.io.FileSystem
Parses a path from a String.
PinnedObject - Interface in org.graalvm.nativeimage
Holder for a pinned object, such that the object doesn't move until the pin is removed.
Platform - Interface in org.graalvm.nativeimage
Root of the interface hierarchy for architectures, OS, and supported combinations of them.
Platform.AMD64 - Interface in org.graalvm.nativeimage
Supported architecture: x86 64-bit.
Platform.DARWIN - Interface in org.graalvm.nativeimage
Supported operating system: Darwin (MacOS).
Platform.DARWIN_AMD64 - Class in org.graalvm.nativeimage
Supported leaf platform: Darwin (MacOS) on x86 64-bit.
Platform.HOSTED_ONLY - Class in org.graalvm.nativeimage
Marker for elements (types, methods, or fields) that are only visible during native image generation and cannot be used at run time, regardless of the actual platform.
Platform.LINUX - Interface in org.graalvm.nativeimage
Supported operating system: Linux.
Platform.LINUX_AMD64 - Class in org.graalvm.nativeimage
Supported leaf platform: Linux on x86 64-bit.
Platform.WINDOWS - Interface in org.graalvm.nativeimage
Supported operating system: Windows.
Platform.WINDOWS_AMD64 - Class in org.graalvm.nativeimage
Supported leaf platform: Windows on x86 64-bit.
PLATFORM_PROPERTY_NAME - Static variable in interface org.graalvm.nativeimage.Platform
The system property name that specifies the fully qualified name of the Platform implementation class that should be used.
Platforms - Annotation Type in org.graalvm.nativeimage
Restricts the annotated element (type, method, or field) to the specified Platform groups.
Pointer - Interface in org.graalvm.word
Lowest-level memory access of native C memory.
pointer(long) - Static method in class org.graalvm.word.WordFactory
Unsafe conversion from a Java long value to a pointer.
PointerBase - Interface in org.graalvm.word
Marker interface for all word types that have the semantic of a pointer (but not necessarily all the memory access methods defined in Pointer).
PolyglotException - Exception in org.graalvm.polyglot
A polyglot exception represents errors that contain Graal guest languages on the stack trace.
PolyglotException.StackFrame - Class in org.graalvm.polyglot
Represents a polyglot stack frame originating from a guest language or the host language Java.
printStackTrace() - Method in exception org.graalvm.polyglot.PolyglotException
Prints host and guest language stack frames to the standard error output.
printStackTrace(PrintStream) - Method in exception org.graalvm.polyglot.PolyglotException
Prints host and guest language stack frames to specified print stream.
printStackTrace(PrintWriter) - Method in exception org.graalvm.polyglot.PolyglotException
Prints host and guest language stack frames to specified print writer.
ProcessProperties - Class in org.graalvm.nativeimage
Utility class to get and set properties of the OS process at run time.
PROPERTY_IMAGE_CODE_KEY - Static variable in class org.graalvm.nativeimage.ImageInfo
Holds the string that is the name of the system property providing information about the context in which code is currently executing.
PROPERTY_IMAGE_CODE_VALUE_BUILDTIME - Static variable in class org.graalvm.nativeimage.ImageInfo
Holds the string that will be returned by the system property for ImageInfo.PROPERTY_IMAGE_CODE_KEY if code is executing in the context of image building (e.g.
PROPERTY_IMAGE_CODE_VALUE_RUNTIME - Static variable in class org.graalvm.nativeimage.ImageInfo
Holds the string that will be returned by the system property for ImageInfo.PROPERTY_IMAGE_CODE_KEY if code is executing at image runtime.
PROPERTY_IMAGE_KIND_KEY - Static variable in class org.graalvm.nativeimage.ImageInfo
Name of the system property that holds if this image is built as a shared library or an executable.
PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE - Static variable in class org.graalvm.nativeimage.ImageInfo
Holds the string that will be returned by the system property for ImageInfo.PROPERTY_IMAGE_KIND_KEY if image is an executable.
PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY - Static variable in class org.graalvm.nativeimage.ImageInfo
Holds the string that will be returned by the system property for ImageInfo.PROPERTY_IMAGE_KIND_KEY if image is a shared library.
Proxy - Interface in org.graalvm.polyglot.proxy
Proxy interfaces allow to mimic guest language objects, arrays, executables, primitives and native objects in Graal languages.
ProxyArray - Interface in org.graalvm.polyglot.proxy
Interface to be implemented to mimic guest language arrays.
ProxyExecutable - Interface in org.graalvm.polyglot.proxy
Interface to be implemented to mimic guest language objects that are executable.
ProxyInstantiable - Interface in org.graalvm.polyglot.proxy
Interface to be implemented to mimic guest language objects that are instantiable.
ProxyNativeObject - Interface in org.graalvm.polyglot.proxy
Interface to be implemented to mimic native pointers.
ProxyObject - Interface in org.graalvm.polyglot.proxy
Interface to be implemented to mimic guest language objects that contain members.
put(K, V) - Method in interface org.graalvm.collections.EconomicMap
Associates value with key in this map.
putAll(EconomicMap<K, V>) - Method in interface org.graalvm.collections.EconomicMap
Copies all of the mappings from other to this map.
putAll(UnmodifiableEconomicMap<? extends K, ? extends V>) - Method in interface org.graalvm.collections.EconomicMap
Copies all of the mappings from other to this map.
putMember(String, Value) - Method in interface org.graalvm.polyglot.proxy.ProxyObject
Sets the value associated with a member.
putMember(String, Object) - Method in class org.graalvm.polyglot.Value
Sets the value of a member using an identifier.

R

RawField - Annotation Type in org.graalvm.nativeimage.c.struct
Denotes a method as a field access of a structured C memory.
RawStructure - Annotation Type in org.graalvm.nativeimage.c.struct
Denotes Java interface that represents C memory, but without a C struct definition.
rawValue() - Method in interface org.graalvm.word.WordBase
Conversion to a Java primitive value.
read() - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
Reads the value at the pointer address.
read(int) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read() - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
Reads the value at the pointer address.
read(int) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read() - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
Reads the value at the pointer address.
read(int) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read() - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
Reads the value at the pointer address.
read(int) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read() - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
Reads the value at the pointer address.
read(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read() - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
Reads the value at the pointer address.
read(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read() - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
Reads the value at the pointer address.
read(int) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read() - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
Reads the value at the pointer address.
read(int) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read() - Method in interface org.graalvm.nativeimage.c.type.WordPointer
Reads the value at the pointer address.
read(int) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
readAttributes(Path, String, LinkOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
Reads a file's attributes as a bulk operation.
readByte(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readByte(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readByte(WordBase) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readByte(int) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readChar(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readChar(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readChar(WordBase) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readChar(int) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readDouble(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readDouble(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readDouble(WordBase) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readDouble(int) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readFloat(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readFloat(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readFloat(WordBase) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readFloat(int) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readInt(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readInt(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readInt(WordBase) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readInt(int) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readLong(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readLong(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readLong(WordBase) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readLong(int) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readObject(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readObject(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readObject(WordBase) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readObject(int) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readShort(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readShort(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readShort(WordBase) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readShort(int) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readSymbolicLink(Path) - Method in interface org.graalvm.polyglot.io.FileSystem
Reads the target of the symbolic link.
readWord(WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readWord(int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readWord(WordBase) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
readWord(int) - Method in interface org.graalvm.word.Pointer
Reads the memory at address (this + offset).
realloc(T, UnsignedWord) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
Changes the size of the provided unmanaged memory to size bytes of unmanaged memory.
register(Class<?>...) - Static method in class org.graalvm.nativeimage.RuntimeReflection
Makes the provided classes available for reflection at run time.
register(Executable...) - Static method in class org.graalvm.nativeimage.RuntimeReflection
Makes the provided methods available for reflection at run time.
register(Field...) - Static method in class org.graalvm.nativeimage.RuntimeReflection
Makes the provided fields available for reflection at run time.
register(boolean, Field...) - Static method in class org.graalvm.nativeimage.RuntimeReflection
Makes the provided fields available for reflection at run time.
registerAsAccessed(Field) - Method in interface org.graalvm.nativeimage.Feature.BeforeAnalysisAccess
Registers the provided field as accesses, i.e., the static analysis assumes the field is used even if there are no explicit reads or writes in the bytecodes.
registerAsImmutable(Object) - Method in interface org.graalvm.nativeimage.Feature.CompilationAccess
Hint to the native image generator that the given object is immutable at runtime, i.e., can be placed in a read-only section of the native image heap.
registerAsImmutable(Object, Predicate<Object>) - Method in interface org.graalvm.nativeimage.Feature.CompilationAccess
Register the object, and everything it transitively references, as immutable.
registerAsInHeap(Class<?>) - Method in interface org.graalvm.nativeimage.Feature.BeforeAnalysisAccess
Registers the provided type as instantiated, i.e., the static analysis assumes that instances of this type exist at run time even if there is no explicit instantiation in the bytecodes.
registerAsUnsafeAccessed(Field) - Method in interface org.graalvm.nativeimage.Feature.BeforeAnalysisAccess
Registers the provided field as written or read by Unsafe, i.e., the static analysis merges together all values of unsafe accessed fields of a specific type.
registerAsUsed(Class<?>) - Method in interface org.graalvm.nativeimage.Feature.BeforeAnalysisAccess
Registers the provided type a used, i.e., metadata for the type is put into the native image.
registerForReflectiveInstantiation(Class<?>...) - Static method in class org.graalvm.nativeimage.RuntimeReflection
Makes the provided classes available for reflective instantiation by Class.newInstance().
registerObjectReplacer(Function<Object, Object>) - Method in interface org.graalvm.nativeimage.Feature.DuringSetupAccess
Registers the provided function to replace objects.
registerRecurringCallback(long, TimeUnit, Threading.RecurringCallback) - Static method in class org.graalvm.nativeimage.Threading
Registers a callback handler that is called by the current thread approximately at the provided interval.
RelocatedPointer - Interface in org.graalvm.nativeimage.c.function
A pointer which is relocated when the native image is loaded at runtime.
remove(E) - Method in interface org.graalvm.collections.EconomicSet
Removes element from this set if it is present.
remove() - Method in interface org.graalvm.collections.MapCursor
Remove the current entry from the map.
remove(long) - Method in interface org.graalvm.polyglot.proxy.ProxyArray
Removes the element at the given index.
removeAll(EconomicSet<E>) - Method in interface org.graalvm.collections.EconomicSet
Removes from this set all of its elements that are contained in other.
removeAll(Iterable<E>) - Method in interface org.graalvm.collections.EconomicSet
Removes from this set all of its elements that are contained in values.
removeAll(Iterator<E>) - Method in interface org.graalvm.collections.EconomicSet
Removes from this set all of its elements that are enumerated by iterator.
removeArrayElement(long) - Method in class org.graalvm.polyglot.Value
Removes an array element at a given index.
removeKey(K) - Method in interface org.graalvm.collections.EconomicMap
Removes the mapping for key from this map if it is present.
removeMember(String) - Method in interface org.graalvm.polyglot.proxy.ProxyObject
Removes a member key and its value.
removeMember(String) - Method in class org.graalvm.polyglot.Value
Removes a single member from the object.
replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in interface org.graalvm.collections.EconomicMap
Replaces each entry's value with the result of invoking function on that entry until all entries have been processed or the function throws an exception.
requireAnalysisIteration() - Method in interface org.graalvm.nativeimage.Feature.DuringAnalysisAccess
Notifies the static analysis that changes are made that enforce a new iteration of the analysis.
rerunClassInitialization(Class<?>...) - Static method in class org.graalvm.nativeimage.RuntimeClassInitialization
Registers the provided classes, and all of their subclasses, for class re-initialization at runtime.
reservedAddressSpaceSize(UnsignedWord) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
Sets the size in bytes for the reserved virtual address space of the new isolate.
retainAll(EconomicSet<E>) - Method in interface org.graalvm.collections.EconomicSet
Removes from this set all of its elements that are not contained in other.
rootNameFilter(Predicate<String>) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
Set an addition filter execution events by root name.
roots(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
Include program locations that are marked as root of a function, method or closure.
run(Threading.RecurringCallbackAccess) - Method in interface org.graalvm.nativeimage.Threading.RecurringCallback
Method that is called recurringly when the callback handler is installed.
RuntimeClassInitialization - Class in org.graalvm.nativeimage
This class provides methods that can be called during native image building to configure class initialization behavior.
RuntimeOptions - Class in org.graalvm.nativeimage
Used for manipulating options at run time.
RuntimeReflection - Class in org.graalvm.nativeimage
This class provides methods that can be called during native image generation to register classes, methods, and fields for reflection at run time.

S

sendBinary(ByteBuffer) - Method in interface org.graalvm.polyglot.io.MessageEndpoint
Send a binary message.
sendClose() - Method in interface org.graalvm.polyglot.io.MessageEndpoint
Close the connection.
sendPing(ByteBuffer) - Method in interface org.graalvm.polyglot.io.MessageEndpoint
Send a ping request.
sendPong(ByteBuffer) - Method in interface org.graalvm.polyglot.io.MessageEndpoint
Send a pong reply as a response to ping.
sendText(String) - Method in interface org.graalvm.polyglot.io.MessageEndpoint
Send a text message.
serverTransport(MessageTransport) - Method in class org.graalvm.polyglot.Context.Builder
Take over the transport of messages communication with a server peer.
serverTransport(MessageTransport) - Method in class org.graalvm.polyglot.Engine.Builder
Take over transport of message communication with a server peer.
set(String, Object) - Static method in class org.graalvm.nativeimage.RuntimeOptions
Set the value of the option with the provided name to the new value.
set(OptionKey<T>, T) - Method in interface org.graalvm.options.OptionValues
Sets the value of optionKey to value.
set(long, Value) - Method in interface org.graalvm.polyglot.proxy.ProxyArray
Sets the element at the given index.
setArrayElement(long, Object) - Method in class org.graalvm.polyglot.Value
Sets the value at a given index.
setAttribute(Path, String, Object, LinkOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
Sets a file's attribute.
setCurrentWorkingDirectory(Path) - Method in interface org.graalvm.polyglot.io.FileSystem
Sets the current working directory.
setLocale(String, String) - Static method in class org.graalvm.nativeimage.ProcessProperties
Set the program locale.
setStackTrace(StackTraceElement[]) - Method in exception org.graalvm.polyglot.PolyglotException
Unsupported, PolyglotException instances are not writable therefore setting the stack trace has no effect for them.
shiftLeft(UnsignedWord) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this << n).
shiftLeft(int) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this << n).
shiftLeft(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this << n).
shiftLeft(int) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this << n).
shutdown() - Static method in class org.graalvm.nativeimage.VMRuntime
Shuts down the VM: Runs all shutdown hooks and waits for all finalization to complete.
signed(long) - Static method in class org.graalvm.word.WordFactory
Unsafe conversion from a Java long value to a Word.
signed(int) - Static method in class org.graalvm.word.WordFactory
Unsafe conversion from a Java int value to a Word.
signedDivide(SignedWord) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this / val).
signedDivide(int) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this / val).
signedRemainder(SignedWord) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this % val).
signedRemainder(int) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this % val).
signedShiftRight(UnsignedWord) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this >> n).
signedShiftRight(int) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this >> n).
SignedWord - Interface in org.graalvm.word
Represents a signed word-sized value.
size() - Method in interface org.graalvm.collections.UnmodifiableEconomicMap
Returns the number of key-value mappings in this map.
size() - Method in interface org.graalvm.collections.UnmodifiableEconomicSet
Returns the number of elements in this set.
SizeOf - Class in org.graalvm.nativeimage.c.struct
Contains static methods that provide access to the size of dereferenced SystemJava pointer types (i.e.
Source - Class in org.graalvm.polyglot
Representation of a source code unit and its contents that can be evaluated in an execution context.
Source.Builder - Class in org.graalvm.polyglot
Represents a builder to build Source objects.
sourceFilter(Predicate<Source>) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
Set an addition filter that filters execution events by source.
SourceSection - Class in org.graalvm.polyglot
Description of contiguous section of text within a Source of program code.; supports multiple modes of access to the text and its location.
StackValue - Class in org.graalvm.nativeimage
Contains static methods for memory allocation in the stack frame.
statements(boolean) - Method in class org.graalvm.polyglot.management.ExecutionListener.Builder
Include program locations that are marked as statements.
subSequence(int, int) - Method in interface org.graalvm.polyglot.io.ByteSequence
Returns a ByteSequence that is a subsequence of this sequence.
subtract(UnsignedWord) - Method in interface org.graalvm.word.Pointer
Returns a Pointer whose value is (this - val).
subtract(int) - Method in interface org.graalvm.word.Pointer
Returns a Pointer whose value is (this - val).
subtract(SignedWord) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this - val).
subtract(int) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this - val).
subtract(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this - val).
subtract(int) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this - val).

T

tearDownIsolate(IsolateThread) - Static method in class org.graalvm.nativeimage.Isolates
Tears down an isolate.
Threading - Class in org.graalvm.nativeimage
Functionality related to execution in threads.
Threading.RecurringCallback - Interface in org.graalvm.nativeimage
Interface that a callback handler needs to implement.
Threading.RecurringCallbackAccess - Interface in org.graalvm.nativeimage
Provides methods that are available during the execution of a Threading.RecurringCallback.
throwException(Throwable) - Method in interface org.graalvm.nativeimage.Threading.RecurringCallbackAccess
Throws an exception from the recurring callback to the code that is regularly executing in the thread.
toAbsolutePath(Path) - Method in interface org.graalvm.polyglot.io.FileSystem
Resolves given path to an absolute path.
toArray(E[]) - Method in interface org.graalvm.collections.UnmodifiableEconomicSet
Stores all of the elements in this set into target.
toBoolean(int) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Converts a C int containing boolean values into a Java boolean.
toBoolean(PointerBase) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Converts a C pointer into a Java boolean.
toByteArray() - Method in interface org.graalvm.polyglot.io.ByteSequence
Returns a byte[] containing the bytes in this sequence in the same order as this sequence.
toCBoolean(boolean) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Converts a Java boolean into a C int containing boolean values.
toCString(CharSequence) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Provides access to a C pointer for the provided Java String, encoded with the default charset.
toCString(CharSequence, CCharPointer, UnsignedWord) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Copies the provide javaString into the buffer up to the provide bufferSize bytes encoded with the default character set.
toCString(CharSequence, Charset, CCharPointer, UnsignedWord) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Copies the javaString into the buffer encoded with the charset character set.
toCStrings(CharSequence[]) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Provides access to C pointers for the provided Java Strings, encoded with the default charset.
toHostFrame() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
Returns a Java stack trace element representation of the polyglot stack trace element.
toJavaString(CCharPointer) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Decodes a 0 terminated C char* to a Java string using the platform's default charset.
toJavaString(CCharPointer, UnsignedWord) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Decodes a C char* of length length to a Java string using the platform's default charset.
toJavaString(CCharPointer, UnsignedWord, Charset) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Decodes a C char* of length length to a Java string using charset.
toObject() - Method in interface org.graalvm.word.Pointer
Unsafe conversion of this Pointer to a Java language object.
toObjectNonNull() - Method in interface org.graalvm.word.Pointer
Unsafe conversion of this Pointer to a Java language object.
toRealPath(Path, LinkOption...) - Method in interface org.graalvm.polyglot.io.FileSystem
Returns the real (canonical) path of an existing file.
toString() - Method in class org.graalvm.collections.Pair
toString() - Method in class org.graalvm.options.OptionDescriptor
toString() - Method in class org.graalvm.options.OptionType
 
toString() - Method in class org.graalvm.polyglot.management.ExecutionEvent
toString() - Method in class org.graalvm.polyglot.PolyglotException.StackFrame
Returns a string representation of this stack frame.
toString() - Method in class org.graalvm.polyglot.Source
toString() - Method in class org.graalvm.polyglot.SourceSection
Returns an implementation-defined string representation of this source section to be used for debugging purposes only.
toString() - Method in class org.graalvm.polyglot.TypeLiteral
 
toString() - Method in class org.graalvm.polyglot.Value
A string representation of the value formatted by the original language.
TypeLiteral<T> - Class in org.graalvm.polyglot
Represents a generic type T.
TypeLiteral() - Constructor for class org.graalvm.polyglot.TypeLiteral
Constructs a new type literal.

U

UniqueLocationIdentity - Annotation Type in org.graalvm.nativeimage.c.struct
A CField also annotated with this annotation gets a unique LocationIdentity assigned, i.e., reads and writes do not interfere with reads and writes to any other field and are optimized without regarding other fields.
UnmanagedMemory - Class in org.graalvm.nativeimage
Contains static methods that allow allocate/free of unmanaged memory, i.e., memory that is not under the control of the garbage collector.
UnmodifiableEconomicMap<K,V> - Interface in org.graalvm.collections
Unmodifiable memory efficient map data structure.
UnmodifiableEconomicSet<E> - Interface in org.graalvm.collections
Unmodifiable memory efficient set data structure.
UnmodifiableMapCursor<K,V> - Interface in org.graalvm.collections
Cursor to iterate over a map without changing its contents.
unsigned(Class<? extends PointerBase>) - Static method in class org.graalvm.nativeimage.c.struct.SizeOf
Returns the size cast to UnsignedWord.
unsigned(long) - Static method in class org.graalvm.word.WordFactory
Unsafe conversion from a Java long value to a Word.
unsigned(int) - Static method in class org.graalvm.word.WordFactory
Unsafe conversion from a Java int value to a Word.
unsignedDivide(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this / val).
unsignedDivide(int) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this / val).
unsignedRemainder(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this % val).
unsignedRemainder(int) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this % val).
unsignedShiftRight(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this >>> n).
unsignedShiftRight(int) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this >>> n).
UnsignedWord - Interface in org.graalvm.word
Represents an unsigned word-sized value.
uri(URI) - Method in class org.graalvm.polyglot.Source.Builder
Assigns new URI to the to-be-created Source.
useSystemProperties(boolean) - Method in class org.graalvm.polyglot.Engine.Builder
Specifies whether the engine should use system properties if no explicit option is set.

V

validate(T) - Method in class org.graalvm.options.OptionType
Validates an option value and throws an IllegalArgumentException if the value is invalid.
Value - Class in org.graalvm.polyglot
Represents a polyglot value that can be accessed using a set of language agnostic operations.
valueOf(String) - Static method in enum org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.graalvm.nativeimage.c.function.CFunction.Transition
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.graalvm.options.OptionCategory
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.graalvm.nativeimage.c.function.CFunction.Transition
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.graalvm.options.OptionCategory
Returns an array containing the constants of this enum type, in the order they are declared.
VetoException(String) - Constructor for exception org.graalvm.polyglot.io.MessageTransport.VetoException
Create a new VetoException.
VMRuntime - Class in org.graalvm.nativeimage
Used for doing VM runtime operations.
VoidPointer - Interface in org.graalvm.nativeimage.c.type
A void* pointer to an opaque C value of an unknown type, without any methods to read or write.

W

waitForProcessExit(long) - Static method in class org.graalvm.nativeimage.ProcessProperties
Wait for process termination and return its exit status.
WINDOWS_AMD64() - Constructor for class org.graalvm.nativeimage.Platform.WINDOWS_AMD64
Instantiates a marker instance of this platform.
WordBase - Interface in org.graalvm.word
The root of the interface hierarchy for machine-word-sized values.
WordFactory - Class in org.graalvm.word
Provides factory method to create machine-word-sized values.
WordPointer - Interface in org.graalvm.nativeimage.c.type
A untyped C pointer to any machine-word-sized value, e.g., a pointer to another pointer or a pointer to a UnsignedWord or SignedWord value.
wrapMap(Map<K, V>) - Static method in interface org.graalvm.collections.EconomicMap
Wraps an existing Map as an EconomicMap.
write(byte) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
Writes the value at the pointer address.
write(int, byte) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(SignedWord, byte) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(CCharPointer) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
Writes the value at the pointer address.
write(int, CCharPointer) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(SignedWord, CCharPointer) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(double) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
Writes the value at the pointer address.
write(int, double) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(SignedWord, double) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(float) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
Writes the value at the pointer address.
write(int, float) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(SignedWord, float) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
Writes the value at the pointer address.
write(int, int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(SignedWord, int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(CIntPointer) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
Writes the value at the pointer address.
write(int, CIntPointer) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(SignedWord, CIntPointer) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(long) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
Writes the value at the pointer address.
write(int, long) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(SignedWord, long) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(short) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
Writes the value at the pointer address.
write(int, short) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(SignedWord, short) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(WordBase) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
Writes the value at the pointer address.
write(int, WordBase) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
write(SignedWord, WordBase) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
writeByte(WordBase, byte, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeByte(int, byte, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeByte(WordBase, byte) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeByte(int, byte) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeChar(WordBase, char, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeChar(int, char, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeChar(WordBase, char) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeChar(int, char) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeDouble(WordBase, double, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeDouble(int, double, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeDouble(WordBase, double) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeDouble(int, double) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeFloat(WordBase, float, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeFloat(int, float, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeFloat(WordBase, float) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeFloat(int, float) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeInt(WordBase, int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeInt(int, int, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeInt(WordBase, int) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeInt(int, int) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeLong(WordBase, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeLong(int, long, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeLong(WordBase, long) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeLong(int, long) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeObject(WordBase, Object, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeObject(int, Object, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeObject(WordBase, Object) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeObject(int, Object) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeShort(WordBase, short, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeShort(int, short, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeShort(WordBase, short) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeShort(int, short) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeWord(WordBase, WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeWord(int, WordBase, LocationIdentity) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeWord(WordBase, WordBase) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).
writeWord(int, WordBase) - Method in interface org.graalvm.word.Pointer
Writes the memory at address (this + offset).

X

xor(SignedWord) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this ^ val).
xor(int) - Method in interface org.graalvm.word.SignedWord
Returns a Signed whose value is (this ^ val).
xor(UnsignedWord) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this ^ val).
xor(int) - Method in interface org.graalvm.word.UnsignedWord
Returns a Unsigned whose value is (this ^ val).

Z

zero() - Static method in class org.graalvm.word.WordFactory
The constant 0, i.e., the word with no bits set.
A B C D E F G H I L M N O P R S T U V W X Z 
Skip navigation links
GraalVM SDK Java API Reference
1.0.0-rc13-dev

84a80c90728eb05a4e4a362ced325cd2a8fd889d

Copyright © 2012, 2019, Oracle and/or its affiliates. All rights reserved.