Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

add(Class<T>, T) - Static method in class org.graalvm.nativeimage.ImageSingletons
Add a singleton to the registry.
addResource(Module, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
Make Java resource resourcePath from module available at run time.
addResource(Module, String, byte[]) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
Inject a Java resource at resourcePath in module with the specified resourceContent.
addResourceBundle(Module, String, Locale[]) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
Make Java ResourceBundle that is specified by a baseBundleName and locales from module module available at run time.
addResourceBundle(Module, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
Make Java ResourceBundle that is specified by a bundleName from module module available at run time.
addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
addressOf(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.
afterAnalysis(Feature.AfterAnalysisAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for initializations after analysis and before universe creation.
afterCompilation(Feature.AfterCompilationAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for initializations after compilation, i.e., before the native image is written.
afterHeapLayout(Feature.AfterHeapLayoutAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for initializations after the native image heap and code layout.
afterImageWrite(Feature.AfterImageWriteAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for altering the image (or shared object) that the linker command produced.
afterRegistration(Feature.AfterRegistrationAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for initializations after all features have been registered and all options have been parsed; but before any initializations for the static analysis have happened.
Alias - Annotation Type in com.oracle.svm.core.annotate
Mechanism for referring to fields and methods otherwise inaccessible due to Java language access control rules.
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.
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.
ANDROID_AARCH64() - Constructor for class org.graalvm.nativeimage.Platform.ANDROID_AARCH64
Instantiates a marker instance of this platform.
AnnotateOriginal - Annotation Type in com.oracle.svm.core.annotate
This annotation allows to add additional annotations to existing methods but keep the implementation as it is.
AnnotationAccess - Class in org.graalvm.nativeimage
This class provides methods to query annotation information on AnnotatedElements while trying to prevent, at image build time, side-effecting changes that impact the analysis results.
appendArgument(String) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
Appends an isolate argument.
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.
attachCurrentThread(Isolate) - Static method in class org.graalvm.nativeimage.Isolates
Attaches the current thread to the passed isolate.
auxiliaryImagePath(String) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
Sets the file path to an auxiliary image which should be loaded in addition to the main image, or null if no such image should be loaded.
auxiliaryImageReservedSpaceSize(UnsignedWord) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
Sets the size in bytes of an address space to reserve for loading an auxiliary image in addition to the main image, or 0 if no space should be reserved.

B

beforeAnalysis(Feature.BeforeAnalysisAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for initializations before the static analysis.
beforeCompilation(Feature.BeforeCompilationAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for initializations before compilation.
beforeImageWrite(Feature.BeforeImageWriteAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for altering the linker command after the native image has been built and before it is written.
beforeUniverseBuilding(Feature.BeforeUniverseBuildingAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for code that needs to run before universe building, but after hosted meta-access has been created.
build() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
Produces the final Isolates.CreateIsolateParameters with the values set previously by the builder methods.
Builder() - Constructor for class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
Creates a new builder with default values.

C

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.
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.
CCharPointerPointerHolder() - Constructor for class org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerPointerHolder
 
CConst - Annotation Type in org.graalvm.nativeimage.c.type
Qualifies a C type as const in an entry-point method signature.
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.AlwaysIncluded - Class in org.graalvm.nativeimage.c.function
A BooleanSupplier that always returns true.
CEntryPoint.Builtin - Enum in org.graalvm.nativeimage.c.function
The built-in methods which can be aliased.
CEntryPoint.ExceptionHandler - Interface in org.graalvm.nativeimage.c.function
Marker interface for all exception handler classes.
CEntryPoint.FatalExceptionHandler - Class in org.graalvm.nativeimage.c.function
Special placeholder value for CEntryPoint.exceptionHandler() to print the caught exception and treat it as 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.
CEntryPoint.NotIncludedAutomatically - Class in org.graalvm.nativeimage.c.function
A BooleanSupplier that always returns false.
CEntryPoint.Publish - Enum in org.graalvm.nativeimage.c.function
 
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.
CHeader - Annotation Type in org.graalvm.nativeimage.c
Defines the C header file for entry points enclosed by the annotated class or method.
CHeader.Header - Interface in org.graalvm.nativeimage.c
Container for Header file properties.
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.hosted.Feature
Handler for cleanup.
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 pointer.
close() - Method in interface org.graalvm.nativeimage.PinnedObject
Releases the pin for the object.
CMacroInfo - Annotation Type in org.graalvm.nativeimage.c.function
Informational only.
CodePointer - Interface in org.graalvm.nativeimage.c.function
Pointer to executable code.
com.oracle.svm.core.annotate - package com.oracle.svm.core.annotate
This package contains annotations that configure the substitution mechanism of GraalVM Native Image.
CONSTRUCTOR_NAME - Static variable in annotation type com.oracle.svm.core.annotate.TargetElement
 
contains(Class<?>) - Static method in class org.graalvm.nativeimage.ImageSingletons
Checks if a singleton is in the registry.
convertValue(String) - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
Converts a string value, validates it, and converts it to an object of this type.
CPointerTo - Annotation Type in org.graalvm.nativeimage.c.struct
Denotes Java interface that imports a C pointer type.
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.
createIsolate(Isolates.CreateIsolateParameters) - Static method in class org.graalvm.nativeimage.Isolates
Creates a new isolate with the passed parameters.
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.
CTypedef - Annotation Type in org.graalvm.nativeimage.c.type
Defines a name for C type to be used in an entry-point method signature.
CTypedefOfInfo - Annotation Type in org.graalvm.nativeimage.c.struct
Informational only.
CUnsigned - Annotation Type in org.graalvm.nativeimage.c.type
Qualifies a C integer type as unsigned in an entry-point method signature.
CurrentIsolate - Class in org.graalvm.nativeimage
Utility methods that provide access to the current isolate.

D

defaultValue() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
Returns the default value of type RuntimeOptions.Descriptor.valueType() for this option.
Delete - Annotation Type in com.oracle.svm.core.annotate
Mechanism to ensures that an element is not used.
dependsOn() - Method in interface org.graalvm.nativeimage.c.CHeader.Header
List that contains the Class<? extends CHeader.Header> instances that declare dependencies of this header file.
deprecated() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
Returns true if this option was marked deprecated.
deprecatedMessage() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
Returns the deprecation reason and the recommended fix.
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.
dumpHeap(String, boolean) - Static method in class org.graalvm.nativeimage.VMRuntime
Dumps the heap to the outputFile file in the same format as the hprof heap dump.
duringAnalysis(Feature.DuringAnalysisAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for performing operations during the static analysis.
duringSetup(Feature.DuringSetupAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for initializations at startup time.

E

exec(Path, String...) - Static method in class org.graalvm.nativeimage.ProcessProperties
Replaces the current process image with the process image specified by the given path invoked with the given args.
exec(Path, String[], Map<String, String>) - Static method in class org.graalvm.nativeimage.ProcessProperties
Replaces the current process image with the process image specified by the given path invoked with the given arguments and environment.

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.hosted
Features allow clients to intercept the native image generation and run custom initialization code at various stages.
Feature.AfterAnalysisAccess - Interface in org.graalvm.nativeimage.hosted
Feature.AfterCompilationAccess - Interface in org.graalvm.nativeimage.hosted
Feature.AfterHeapLayoutAccess - Interface in org.graalvm.nativeimage.hosted
Feature.AfterImageWriteAccess - Interface in org.graalvm.nativeimage.hosted
Feature.AfterRegistrationAccess - Interface in org.graalvm.nativeimage.hosted
Feature.BeforeAnalysisAccess - Interface in org.graalvm.nativeimage.hosted
Feature.BeforeCompilationAccess - Interface in org.graalvm.nativeimage.hosted
Feature.BeforeImageWriteAccess - Interface in org.graalvm.nativeimage.hosted
Feature.BeforeUniverseBuildingAccess - Interface in org.graalvm.nativeimage.hosted
Feature.CompilationAccess - Interface in org.graalvm.nativeimage.hosted
Feature.DuringAnalysisAccess - Interface in org.graalvm.nativeimage.hosted
Feature.DuringSetupAccess - Interface in org.graalvm.nativeimage.hosted
Feature.FeatureAccess - Interface in org.graalvm.nativeimage.hosted
Access methods that are available for all feature methods.
Feature.IsInConfigurationAccess - Interface in org.graalvm.nativeimage.hosted
Feature.OnAnalysisExitAccess - Interface in org.graalvm.nativeimage.hosted
Feature.QueryReachabilityAccess - Interface in org.graalvm.nativeimage.hosted
FieldValueTransformer - Interface in org.graalvm.nativeimage.hosted
findClassByName(String) - Method in interface org.graalvm.nativeimage.hosted.Feature.FeatureAccess
Returns a class if it is present on the classpath.
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.

G

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).
getAnnotation(AnnotatedElement, Class<T>) - Static method in class org.graalvm.nativeimage.AnnotationAccess
getAnnotationTypes(AnnotatedElement) - Static method in class org.graalvm.nativeimage.AnnotationAccess
Implementation for retrieving all Annotation.annotationType()s for a element.
getApplicationClassLoader() - Method in interface org.graalvm.nativeimage.hosted.Feature.FeatureAccess
Returns the ClassLoader that can find all classes of the class path and module path.
getApplicationClassPath() - Method in interface org.graalvm.nativeimage.hosted.Feature.FeatureAccess
Returns the class path of the native image that is currently built.
getApplicationModulePath() - Method in interface org.graalvm.nativeimage.hosted.Feature.FeatureAccess
Returns the module path of the native image that is currently built.
getArchitecture() - Method in interface org.graalvm.nativeimage.Platform.AARCH64
Returns string representing AARCH64 architecture.
getArchitecture() - Method in interface org.graalvm.nativeimage.Platform.AMD64
Returns string representing AMD64 architecture.
getArchitecture() - Method in interface org.graalvm.nativeimage.Platform
Returns the string representing Platform's architecture name.
getArchitecture() - Method in interface org.graalvm.nativeimage.Platform.RISCV64
Returns string representing RISCV64 architecture.
getArguments() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
Returns the list of additional isolate arguments.
getArgumentVectorBlockSize() - Static method in class org.graalvm.nativeimage.ProcessProperties
If the running image is an executable the total size of the argument vector of the running process gets returned.
getArgumentVectorProgramName() - Static method in class org.graalvm.nativeimage.ProcessProperties
If the running image is an executable the program name that is stored in the argument vector of the running process gets returned.
getAsBoolean() - Method in class com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded
 
getAsBoolean() - Method in class org.graalvm.nativeimage.c.function.CEntryPoint.AlwaysIncluded
Returns true.
getAsBoolean() - Method in class org.graalvm.nativeimage.c.function.CEntryPoint.NotIncludedAutomatically
Returns false.
getAuxiliaryImagePath() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
Returns the file path to an auxiliary image which should be loaded in addition to the main image, or null if no such image should be loaded.
getAuxiliaryImageReservedSpaceSize() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
Returns the size in bytes of an address space to reserve for loading an auxiliary image in addition to the main image, or 0 if no space should be reserved.
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.
getDeclaringClass() - Method in error org.graalvm.nativeimage.MissingReflectionRegistrationError
 
getDefault() - Static method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
Returns a Isolates.CreateIsolateParameters with all default values.
getDescription() - Method in interface org.graalvm.nativeimage.hosted.Feature
A short description of the feature (e.g., "Enables Truffle support").
getDescriptor(String) - Static method in class org.graalvm.nativeimage.RuntimeOptions
Looks up a single descriptor given an option name.
getElementName() - Method in error org.graalvm.nativeimage.MissingReflectionRegistrationError
 
getElementType() - Method in error org.graalvm.nativeimage.MissingReflectionRegistrationError
 
getExecutableName() - Static method in class org.graalvm.nativeimage.ProcessProperties
Return the canonicalized absolute pathname of the executable.
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.
getHeaderFiles() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
All header files used in this context.
getImagePath() - Method in interface org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess
Returns the path to the created native-image file (includes the native-image file name).
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.
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.
getMacroDefinitions() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
Unparameterized macro-definitions.
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.
getOS() - Method in interface org.graalvm.nativeimage.Platform.ANDROID
Returns string representing ANDROID OS.
getOS() - Method in interface org.graalvm.nativeimage.Platform
Returns the string representing Platform's OS name.
getOS() - Method in interface org.graalvm.nativeimage.Platform.IOS
Returns string representing iOS OS.
getOS() - Method in interface org.graalvm.nativeimage.Platform.LINUX
Returns string representing LINUX OS.
getOS() - Method in interface org.graalvm.nativeimage.Platform.MACOS
Returns string representing MACOS OS.
getOS() - Method in interface org.graalvm.nativeimage.Platform.WINDOWS
Returns string representing WINDOWS OS.
getParameterTypes() - Method in error org.graalvm.nativeimage.MissingReflectionRegistrationError
 
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.
getProtectionDomain() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
Returns the memory protection domain to be used for an isolate.
getRequiredFeatures() - Method in interface org.graalvm.nativeimage.hosted.Feature
Returns the list of features that this feature depends on.
getReservedAddressSpaceSize() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
Returns the size in bytes for the reserved virtual address space of the new isolate.
getURL() - Method in interface org.graalvm.nativeimage.hosted.Feature
A URL to documentation or the sources of the feature.

H

help() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
Returns a human-readable description on how to use the option.

I

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.
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.
initialize() - Static method in class org.graalvm.nativeimage.VMRuntime
Initializes the VM: Runs all startup hooks that were registered during image building.
initializeAtBuildTime(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeClassInitialization
Registers the provided classes as eagerly initialized during image-build time.
initializeAtBuildTime(String...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeClassInitialization
Registers all classes in provided packages as eagerly initialized during image-build time.
initializeAtRunTime(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeClassInitialization
Registers the provided classes, and all of their subclasses, for class initialization at runtime.
initializeAtRunTime(String...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeClassInitialization
Registers all classes in provided packages, and all of their subclasses, for class initialization at runtime.
Inject - Annotation Type in com.oracle.svm.core.annotate
Injects the annotated field into the TargetClass.
InjectAccessors - Annotation Type in com.oracle.svm.core.annotate
Inject accessor methods for the field denoted using an Alias annotation.
InvokeCFunctionPointer - Annotation Type in org.graalvm.nativeimage.c.function
Annotation for an invocation method defined in a sub-interface of CFunctionPointer.
IOS_AARCH64() - Constructor for class org.graalvm.nativeimage.Platform.IOS_AARCH64
Instantiates a marker instance of this platform.
IOS_AMD64() - Constructor for class org.graalvm.nativeimage.Platform.IOS_AMD64
Instantiates a marker instance of this platform.
isAlive(long) - Static method in class org.graalvm.nativeimage.ProcessProperties
Tests whether the process represented by the given Process ID is alive.
isAnnotationPresent(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.graalvm.nativeimage.AnnotationAccess
isExecutable() - Static method in class org.graalvm.nativeimage.ImageInfo
Returns true if the image is built as an executable.
isInConfiguration() - Method in interface org.graalvm.nativeimage.c.CContext.Directives
This method is called immediately after the constructor, to check whether the context is part of the configuration or not.
isInConfiguration(Feature.IsInConfigurationAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
This method is called immediately after the constructor, to check whether the feature is part of the configuration or not.
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.
Isolates.ProtectionDomain - Interface in org.graalvm.nativeimage
Identifies a protection domain for an isolate.
IsolateThread - Interface in org.graalvm.nativeimage
Pointer to the runtime data structure for a thread.
isReachable(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
Returns true if the static analysis determined that the provided class is reachable at run time.
isReachable(Field) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
Returns true if the static analysis determined that the provided field is reachable at run time.
isReachable(Executable) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
Returns true if the static analysis determined that the provided method is reachable at run time.
isSharedLibrary() - Static method in class org.graalvm.nativeimage.ImageInfo
Returns true if the image is build as a shared library.

K

KeepOriginal - Annotation Type in com.oracle.svm.core.annotate
If a class annotated with TargetClass is also annotated with Substitute, all non-substituted methods in that class are by default treated as deleted.

L

LINUX_AARCH64() - Constructor for class org.graalvm.nativeimage.Platform.LINUX_AARCH64
Instantiates a marker instance of this platform.
LINUX_AMD64() - Constructor for class org.graalvm.nativeimage.Platform.LINUX_AMD64
Instantiates a marker instance of this platform.
LINUX_RISCV64() - Constructor for class org.graalvm.nativeimage.Platform.LINUX_RISCV64
Instantiates a marker instance of this platform.
listDescriptors() - Static method in class org.graalvm.nativeimage.RuntimeOptions
Lists all runtime option descriptors available.
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.
lookup(Class<T>) - Static method in class org.graalvm.nativeimage.ImageSingletons
Lookup a singleton in the registry.

M

MACOS_AARCH64() - Constructor for class org.graalvm.nativeimage.Platform.MACOS_AARCH64
Instantiates a marker instance of this platform.
MACOS_AMD64() - Constructor for class org.graalvm.nativeimage.Platform.MACOS_AMD64
Instantiates a marker instance of this platform.
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.
MissingReflectionRegistrationError - Error in org.graalvm.nativeimage
This exception is thrown when a reflective query (such as Class.getMethod(String, Class[])) tries to access an element that was not registered for reflection in the program.
MissingReflectionRegistrationError(String, Class<?>, Class<?>, String, Class<?>[]) - Constructor for error org.graalvm.nativeimage.MissingReflectionRegistrationError
 

N

name() - Method in interface org.graalvm.nativeimage.c.CHeader.Header
Name of the header file.
name() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
Returns the name of the option that this descriptor represents.
NEW_DOMAIN - Static variable in interface org.graalvm.nativeimage.Isolates.ProtectionDomain
Creates a new protection domain if passed to the Isolates.CreateIsolateParameters.Builder.
NO_DOMAIN - Static variable in interface org.graalvm.nativeimage.Isolates.ProtectionDomain
Do not use a protection domain.

O

objectFieldOffset(Field) - Method in interface org.graalvm.nativeimage.hosted.Feature.CompilationAccess
Returns the field offset of the provided instance field.
ObjectHandle - Interface in org.graalvm.nativeimage
The opaque representation of a handle to a Java object given out to unmanaged code.
ObjectHandles - Interface in org.graalvm.nativeimage
Manages a set of ObjectHandles.
onAnalysisExit(Feature.OnAnalysisExitAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
Handler for code that needs to run after the analysis, even if an error has occurred, e.g., like reporting code.
org.graalvm.nativeimage - package org.graalvm.nativeimage
The GraalVM SDK Native Image API allows to customize the native image generation, i.e., the ahead-of-time compilation of Java code to standalone executables.
org.graalvm.nativeimage.c - package org.graalvm.nativeimage.c
This package and its sub-packages provide a fast and lightweight interface between Java code and C code.
org.graalvm.nativeimage.c.constant - package org.graalvm.nativeimage.c.constant
This package provides parts of the Java / C interface that are related to C constants.
org.graalvm.nativeimage.c.function - package org.graalvm.nativeimage.c.function
This package provides parts of the Java / C interface that are related to C functions.
org.graalvm.nativeimage.c.struct - package org.graalvm.nativeimage.c.struct
This package provides parts of the Java / C interface that are related to C structures.
org.graalvm.nativeimage.c.type - package org.graalvm.nativeimage.c.type
This package provides parts of the Java / C interface that are related to standard C pointer types, as well as utility functions to convert between Java types and C types.
org.graalvm.nativeimage.hosted - package org.graalvm.nativeimage.hosted
The GraalVM SDK Native Image API allows to customize the native image generation, i.e., the ahead-of-time compilation of Java code to standalone executables: Features allow clients to intercept the native image generation and run custom initialization code at various stages. RuntimeClassInitialization is used to configure when classes are initialized. RuntimeReflection to register classes, methods, and fields for reflection at run time.

P

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.AARCH64 - Interface in org.graalvm.nativeimage
Supported architecture: ARMv8 64-bit.
Platform.AMD64 - Interface in org.graalvm.nativeimage
Supported architecture: x86 64-bit.
Platform.ANDROID - Interface in org.graalvm.nativeimage
Supported operating system: Android.
Platform.ANDROID_AARCH64 - Class in org.graalvm.nativeimage
Supported leaf platform: Android on AArch64 64-bit.
Platform.DARWIN - Interface in org.graalvm.nativeimage
Basis for all Apple operating systems (MacOS and iOS).
Platform.DARWIN_AARCH64 - Interface in org.graalvm.nativeimage
Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64).
Platform.DARWIN_AMD64 - Interface in org.graalvm.nativeimage
Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64).
Platform.HOSTED_ONLY - Class in org.graalvm.nativeimage
Marker for elements (types, methods, or fields) that are only visible during native image generation and cannot be used at run time, regardless of the actual platform.
Platform.IOS - Interface in org.graalvm.nativeimage
Supported operating system: iOS.
Platform.IOS_AARCH64 - Class in org.graalvm.nativeimage
Supported leaf platform: iOS on AArch 64-bit.
Platform.IOS_AMD64 - Class in org.graalvm.nativeimage
Supported leaf platform: iOS on x86 64-bit.
Platform.LINUX - Interface in org.graalvm.nativeimage
Supported operating system: Linux.
Platform.LINUX_AARCH64 - Class in org.graalvm.nativeimage
Supported leaf platform: Linux on AArch64 64-bit.
Platform.LINUX_AARCH64_BASE - Interface in org.graalvm.nativeimage
Basis for all Linux operating systems on AARCH64 (LINUX_AARCH64 & ANDROID_AARCH64).
Platform.LINUX_AMD64 - Class in org.graalvm.nativeimage
Supported leaf platform: Linux on x86 64-bit.
Platform.LINUX_AMD64_BASE - Interface in org.graalvm.nativeimage
Basis for all Linux operating systems on AMD64 (LINUX_AMD64).
Platform.LINUX_RISCV64 - Class in org.graalvm.nativeimage
Supported leaf platform: Linux on RISC-V 64-bit.
Platform.MACOS - Interface in org.graalvm.nativeimage
Supported operating system: MacOS.
Platform.MACOS_AARCH64 - Class in org.graalvm.nativeimage
Supported leaf platform: MacOS on AArch 64-bit.
Platform.MACOS_AMD64 - Class in org.graalvm.nativeimage
Supported leaf platform: MacOS on x86 64-bit.
Platform.RISCV64 - Interface in org.graalvm.nativeimage
Supported architecture: RISC-V 64-bit.
Platform.WINDOWS - Interface in org.graalvm.nativeimage
Supported operating system: Windows.
Platform.WINDOWS_AARCH64 - Class in org.graalvm.nativeimage
Supported leaf platform: Windows on AArch 64-bit.
Platform.WINDOWS_AMD64 - Class in org.graalvm.nativeimage
Supported leaf platform: Windows on x86 64-bit.
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.
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.

R

RawField - Annotation Type in org.graalvm.nativeimage.c.struct
Denotes a method as a field access of a structured C memory.
RawFieldAddress - Annotation Type in org.graalvm.nativeimage.c.struct
Denotes a method as a field address computation of a RawStructure.
RawFieldOffset - Annotation Type in org.graalvm.nativeimage.c.struct
Denotes a method as a field offset access of a RawStructure.
RawPointerTo - Annotation Type in org.graalvm.nativeimage.c.struct
Denotes a Java interface that is a pointer to a RawStructure.
RawStructure - Annotation Type in org.graalvm.nativeimage.c.struct
Denotes Java interface that represents C memory, but without a C struct definition.
reachableMethodOverrides(Executable) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
Returns all method overrides of the given {param baseMethod} that the static analysis determined to be reachable at run time (including the {param baseMethod} itself).
reachableSubtypes(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
Returns all subtypes of the given {param baseClass} that the static analysis determined to be reachable at run time (including the {param baseClass} itself).
read() - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
Reads the value at the pointer address.
read(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.
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.
RecomputeFieldValue - Annotation Type in com.oracle.svm.core.annotate
RecomputeFieldValue.Kind - Enum in com.oracle.svm.core.annotate
 
register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeJNIAccess
Makes the provided classes available for JNI access at run time.
register(Executable...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeJNIAccess
Makes the provided methods available for JNI access at run time.
register(Field...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeJNIAccess
Makes the provided fields available for JNI access at run time.
register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeProxyCreation
Enables registering specifications of Proxy classes during the image build so that matching proxy objects can be created at runtime.
register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Makes the provided classes available for reflection at run time.
register(Executable...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Makes the provided methods available for reflection at run time.
register(Field...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Makes the provided fields available for reflection at run time.
register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
Makes the provided classes available for serialization at runtime.
register(String, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSystemProperties
Define a system property setting for image runtime.
registerAllClasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getClasses() on the provided class at run time.
registerAllConstructors(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getConstructors() on the provided class at run time.
registerAllDeclaredClasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getDeclaredClasses() on the provided class at run time.
registerAllDeclaredConstructors(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getDeclaredConstructors() on the provided class at run time.
registerAllDeclaredFields(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getDeclaredFields() on the provided class at run time.
registerAllDeclaredMethods(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getDeclaredMethods() on the provided class at run time.
registerAllFields(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getFields() on the provided class at run time.
registerAllMethods(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getMethods() on the provided class at run time.
registerAllNestMembers(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getNestMembers() on the provided class at run time.
registerAllPermittedSubclasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getPermittedSubclasses() on the provided class at run time.
registerAllRecordComponents(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getRecordComponents() on the provided class at run time.
registerAllSigners(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Allows calling Class.getSigners() on the provided class at run time.
registerAsAccessed(Field) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
Registers the provided field as accesses, i.e., the static analysis assumes the field is used even if there are no explicit reads or writes in the bytecodes.
registerAsImmutable(Object) - Method in interface org.graalvm.nativeimage.hosted.Feature.CompilationAccess
Hint to the native image generator that the given object is immutable at runtime, i.e., can be placed in a read-only section of the native image heap.
registerAsImmutable(Object, Predicate<Object>) - Method in interface org.graalvm.nativeimage.hosted.Feature.CompilationAccess
Register the object, and everything it transitively references, as immutable.
registerAsInHeap(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
Registers the provided type as instantiated, i.e., the static analysis assumes that instances of this type exist at run time even if there is no explicit instantiation in the bytecodes.
registerAsQueried(Executable...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Makes the provided methods available for reflection queries at run time.
registerAsUnsafeAccessed(Field) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
Registers the provided field as written or read by Unsafe, i.e., the static analysis merges together all values of unsafe accessed fields of a specific type.
registerAsUsed(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
Registers the provided type a used, i.e., metadata for the type is put into the native image.
registerClassInitializerReachabilityHandler(Consumer<Feature.DuringAnalysisAccess>, Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
Registers a callback that is invoked once during analysis when the class initializer for the given type is determined to be reachable at run time.
registerClassLookup(String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Makes the provided class available for reflection at run time.
registerConstructorLookup(Class<?>, Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Makes the provided constructor available for reflection queries at run time.
registerFieldLookup(Class<?>, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Makes the provided field available for reflection at run time.
registerFieldValueTransformer(Field, FieldValueTransformer) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
Registers a field value transformer for the provided field.
registerForDowncall(Object, Object...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeForeignAccess
Registers the provided descriptor and options pair for foreign downcalls at runtime.
registerForReflectiveInstantiation(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Makes the provided classes available for reflective instantiation by Class.newInstance().
registerIncludingAssociatedClasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
Register the specified serialization target class itself and all associated classes.
registerLambdaCapturingClass(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
Makes a class available for serialization at runtime that is created for the lambda expressions (a class that has a $deserializeLambda$ method) specified by the lambdaCapturingClass.
registerMethodLookup(Class<?>, String, Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
Makes the provided method available for reflection queries at run time.
registerMethodOverrideReachabilityHandler(BiConsumer<Feature.DuringAnalysisAccess, Executable>, Executable) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
Registers a callback that is invoked once during analysis for each time a method that overrides the specified {param baseMethod} is determined to be reachable at run time.
registerObjectReplacer(Function<Object, Object>) - Method in interface org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess
Registers the provided function to replace objects.
registerProxyClass(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
Makes a dynamic proxy class (class that extends Proxy) available for serialization at runtime that is specified by the given interfaces the proxy class implements.
registerReachabilityHandler(Consumer<Feature.DuringAnalysisAccess>, Object...) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
Registers a callback that is invoked once during analysis when any of the provided elements is determined to be reachable at run time.
registerRecurringCallback(long, TimeUnit, Threading.RecurringCallback) - Static method in class org.graalvm.nativeimage.Threading
Registers a callback handler that is called by the current thread approximately at the provided interval.
registerSubtypeReachabilityHandler(BiConsumer<Feature.DuringAnalysisAccess, Class<?>>, Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
Registers a callback that is invoked once during analysis for each time a subtype of the class specified by {param baseClass} is determined to be reachable at run time.
registerWithTargetConstructorClass(Class<?>, Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
Makes the provided class available for serialization at runtime but uses the provided customTargetConstructorClazz for deserialization.
RelocatedPointer - Interface in org.graalvm.nativeimage.c.function
A pointer which is relocated when the native image is loaded at runtime.
requireAnalysisIteration() - Method in interface org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess
Notifies the static analysis that changes are made that enforce a new iteration of the analysis.
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.
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.hosted
This class provides methods that can be called during native-image building to configure class initialization behavior.
RuntimeForeignAccess - Class in org.graalvm.nativeimage.hosted
 
RuntimeJNIAccess - Class in org.graalvm.nativeimage.hosted
This class provides methods that can be called during native image generation to register classes, methods, and fields for JNI access at run time.
RuntimeOptions - Class in org.graalvm.nativeimage
Used for manipulating options at run time.
RuntimeOptions.Descriptor - Interface in org.graalvm.nativeimage
 
RuntimeProxyCreation - Class in org.graalvm.nativeimage.hosted
This class can be used to make creating dynamic proxy classes at run time valid.
RuntimeReflection - Class in org.graalvm.nativeimage.hosted
This class provides methods that can be called during native image generation to register classes, methods, and fields for reflection at run time.
RuntimeResourceAccess - Class in org.graalvm.nativeimage.hosted
This class can be used to register Java resources and ResourceBundles that should be accessible at run time.
RuntimeSerialization - Class in org.graalvm.nativeimage.hosted
This class provides methods that can be called before and during analysis, to register classes for serialization at image runtime.
RuntimeSystemProperties - Class in org.graalvm.nativeimage.hosted
This class provides methods that can be called during native image generation to define system property setting for image runtime.

S

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.
setArgumentVectorProgramName(String) - Static method in class org.graalvm.nativeimage.ProcessProperties
If the running image is an executable the program name that is stored in the argument vector of the running process gets replaced with the given name.
setLocale(String, String) - Static method in class org.graalvm.nativeimage.ProcessProperties
Set the program locale.
setProtectionDomain(Isolates.ProtectionDomain) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
Sets the Isolates.ProtectionDomain for an isolate.
shutdown() - Static method in class org.graalvm.nativeimage.VMRuntime
Shuts down the VM: Runs all shutdown hooks and waits for all finalization to complete.
SizeOf - Class in org.graalvm.nativeimage.c.struct
Contains static methods that provide access to the size of dereferenced SystemJava pointer types (i.e.
StackValue - Class in org.graalvm.nativeimage
Contains static methods for memory allocation in the stack frame.
Substitute - Annotation Type in com.oracle.svm.core.annotate
When used to annotate a method, it indicates that a method declaration is intended to be a substitute for a method declaration in another class.

T

TargetClass - Annotation Type in com.oracle.svm.core.annotate
A class annotated with this annotation denotes a class that modifies methods of fields of another class, called the "original" class.
TargetClass.AlwaysIncluded - Class in com.oracle.svm.core.annotate
The default value for the TargetClass.onlyWith() attribute.
TargetClass.NoClassNameProvider - Interface in com.oracle.svm.core.annotate
Marker value for TargetClass.classNameProvider() that no class name provider should be used.
TargetElement - Annotation Type in com.oracle.svm.core.annotate
Specifies additional properties for an element also annotated with Alias, Delete, Substitute, AnnotateOriginal, or KeepOriginal.
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.
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.
toCBoolean(boolean) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Converts a Java boolean into a C int containing boolean values.
toCBytes(byte[]) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Provides access to a C pointer for the provided Java byte array.
toCString(CharSequence) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Provides access to a C pointer for the provided Java String, encoded with the default charset.
toCString(CharSequence, CCharPointer, UnsignedWord) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Copies the javaString into the buffer as a 0 terminated C string encoded with the default character set.
toCString(CharSequence, Charset, CCharPointer, UnsignedWord) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Copies the javaString into the buffer as a 0 terminated C string encoded with 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.
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.
transform(Object, Object) - Method in interface org.graalvm.nativeimage.hosted.FieldValueTransformer
Transforms the field value for the provided receiver.

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.
unsigned(Class<? extends PointerBase>) - Static method in class org.graalvm.nativeimage.c.struct.SizeOf
Returns the size cast to UnsignedWord.
utf8ToJavaString(CCharPointer) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
Decodes a UTF-8 encoded, 0 terminated C char* to a Java string.

V

valueOf(String) - Static method in enum com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
Returns the enum constant of this type with the specified name.
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.CEntryPoint.Publish
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.
values() - Static method in enum com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
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.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.CEntryPoint.Publish
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.
valueType() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
Returns the option type of this key.
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_AARCH64() - Constructor for class org.graalvm.nativeimage.Platform.WINDOWS_AARCH64
Instantiates a marker instance of this platform.
WINDOWS_AMD64() - Constructor for class org.graalvm.nativeimage.Platform.WINDOWS_AMD64
Instantiates a marker instance of this platform.
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.
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.
writePreamble(PrintWriter) - Method in interface org.graalvm.nativeimage.c.CHeader.Header
Writes a preamble after the dependencies and before the list of included methods.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links