Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(Class<T>, T) - Static method in class org.graalvm.nativeimage.ImageSingletons
-
Add a singleton to the registry.
- addEnumKeyword() - Element in annotation interface org.graalvm.nativeimage.c.constant.CEnum
-
Add the C
enumkeyword to the name specified inCEnum.value(). - addResource(Module, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
-
Make Java resource
resourcePathfrommoduleavailable at run time. - addResource(Module, String, byte[]) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
-
Inject a Java resource at
resourcePathinmodulewith the specifiedresourceContent. - addResourceBundle(Module, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
-
Make Java ResourceBundle that is specified by a
bundleNamefrom modulemoduleavailable at run time. - addResourceBundle(Module, String, Locale[]) - Static method in class org.graalvm.nativeimage.hosted.RuntimeResourceAccess
-
Make Java ResourceBundle that is specified by a
baseBundleNameandlocalesfrom modulemoduleavailable at run time. - addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(int) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOf(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
- addressOfArrayElement(int) - Method in interface org.graalvm.nativeimage.PinnedObject
-
Returns a pointer to the array element with the specified index.
- addressOfObject() - Method in interface org.graalvm.nativeimage.PinnedObject
-
Returns the raw address of the pinned object.
- addStructKeyword() - Element in annotation interface org.graalvm.nativeimage.c.struct.CStruct
-
Add the C "struct" keyword to the name specified in
CStruct.value(). - 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 Interface in com.oracle.svm.core.annotate
-
Mechanism for referring to fields and methods otherwise inaccessible due to Java language access control rules.
- AllowNarrowingCast - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Allows a method annotated with
CFieldto have a value type that is narrower (smaller number of bits) than the C type. - AllowWideningCast - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Allows a method annotated with
CFieldto 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 Interface in com.oracle.svm.core.annotate
-
This annotation allows to add additional annotations to existing methods but keep the implementation as it is.
- AnnotationAccess - Class in org.graalvm.nativeimage
-
This class provides methods to query annotation information on
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.
- ArrayBaseOffset - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The int or long field is set to the offset of the first array element of the array class
RecomputeFieldValue.declClass(), as it would be computed byUnsafe.arrayBaseOffset(Class). - ArrayIndexScale - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The int or long field is set to the element size array class
RecomputeFieldValue.declClass(), as it would be computed byUnsafe.arrayIndexScale(Class). - ArrayIndexShift - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The int or long field is set to the log2 of
RecomputeFieldValue.Kind.ArrayIndexScale. - asByteBuffer(PointerBase, int) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Creates a
ByteBufferthat refers to the native memory at the specified address. - AtomicFieldUpdaterOffset - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
Special support for field offsets used by java.util.concurrent.atomic.AtomicXxxFieldUpdater.
- ATTACH_THREAD - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method attaches the current thread to an isolate.
- attachCurrentThread(Isolate) - Static method in class org.graalvm.nativeimage.Isolates
-
Attaches the current thread to the passed isolate.
- AutomaticFeature - Annotation Interface in com.oracle.svm.core.annotate
-
Deprecated, for removal: This API element is subject to removal in a future version.
- auxiliaryImagePath(String) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
-
Sets the file path to an auxiliary image which should be loaded in addition to the main image, or
nullif 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.
- beforeHeapLayout(Feature.BeforeHeapLayoutAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for initializations before the native image heap and code layout.
- beforeImageWrite(Feature.BeforeImageWriteAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for altering the linker command after the native image has been built and before it is written.
- beforeUniverseBuilding(Feature.BeforeUniverseBuildingAccess) - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for code that needs to run before universe building, but after hosted meta-access has been created.
- build() - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
-
Produces the final
Isolates.CreateIsolateParameterswith 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.
- builtin() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
Specifies that the annotated entry point method is an alias for a built-in function as provided by the C API.
C
- calloc(int) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
-
Allocates
sizebytes of unmanaged memory. - calloc(UnsignedWord) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
-
Allocates
sizebytes of unmanaged memory. - CBitfield - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a bitfield access of a
C struct. - CCharPointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a 8-bit C primitive value.
- CCharPointerPointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a pointer to a 8-bit C primitive value.
- CCharPointerPointerHolder() - Constructor for class org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerPointerHolder
- CConst - Annotation Interface in org.graalvm.nativeimage.c.type
-
Qualifies a C type as const in an entry-point method signature.
- CConstant - Annotation Interface in org.graalvm.nativeimage.c.constant
-
Denotes a method as a C constant value.
- CConstant.ValueAccess - Class in org.graalvm.nativeimage.c.constant
-
Allows access to the value of a
CConstantduring image generation. - CContext - Annotation Interface in org.graalvm.nativeimage.c
-
Defines the context for most other annotations of the C interface: the C header files that need to be imported, the C macros that need to be defined to properly configure these headers, and additional flags that should be passed to the C compiler when analyzing the definitions.
- CContext.Directives - Interface in org.graalvm.nativeimage.c
-
Describes a C context.
- CDoublePointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a C primitive 'double' value.
- CEntryPoint - Annotation Interface in org.graalvm.nativeimage.c.function
-
Annotates a method that is a VM entry point.
- CEntryPoint.AlwaysIncluded - Class in org.graalvm.nativeimage.c.function
-
A
BooleanSupplierthat always returnstrue. - CEntryPoint.Builtin - Enum Class in org.graalvm.nativeimage.c.function
-
The built-in methods which can be aliased.
- CEntryPoint.ExceptionHandler - Interface in org.graalvm.nativeimage.c.function
-
Marker interface for all
exception handlerclasses. - CEntryPoint.FatalExceptionHandler - Class in org.graalvm.nativeimage.c.function
-
Special placeholder value for
CEntryPoint.exceptionHandler()to print the caught exception and treat it as afatal error. - CEntryPoint.IsolateContext - Annotation Interface in org.graalvm.nativeimage.c.function
-
Designates an
Isolateparameter to use as the execution context. - CEntryPoint.IsolateThreadContext - Annotation Interface in org.graalvm.nativeimage.c.function
-
Designates an
IsolateThreadparameter to use as the execution context. - CEntryPoint.NotIncludedAutomatically - Class in org.graalvm.nativeimage.c.function
-
A
BooleanSupplierthat always returnsfalse. - CEntryPoint.Publish - Enum Class in org.graalvm.nativeimage.c.function
- CEntryPointLiteral<T> - Class in org.graalvm.nativeimage.c.function
-
A function pointer to an
entry point methodthat can be, for example, handed out to C code so that C code can call back into Java code. - CEnum - Annotation Interface in org.graalvm.nativeimage.c.constant
-
Annotation to import a C enumeration to Java.
- CEnumConstant - Annotation Interface in org.graalvm.nativeimage.c.constant
-
Provides additional properties for a field (i.e., an enumeration value) of Java enumeration annotated with
CEnum. - CEnumLookup - Annotation Interface in org.graalvm.nativeimage.c.constant
-
Annotation for a method that returns the Java enumeration object for a given C integer value.
- CEnumValue - Annotation Interface in org.graalvm.nativeimage.c.constant
-
Annotation for a method that returns the C integer value for a Java enumeration object.
- CField - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field access of a
C struct. - CFieldAddress - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field address computation of a
C struct. - CFieldOffset - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field offset access of a
C struct. - CFloatPointer - Interface in org.graalvm.nativeimage.c.type
-
A pointer to a C primitive 'float' value.
- CFunction - Annotation Interface in org.graalvm.nativeimage.c.function
-
Denotes a
nativemethod that calls directly from Java to C, without following the JNI protocol. - CFunction.Transition - Enum Class in org.graalvm.nativeimage.c.function
-
Describes the thread state transition performed when the C function is invoked.
- CFunctionPointer - Interface in org.graalvm.nativeimage.c.function
-
Base interface for all function pointers.
- CHeader - Annotation Interface in org.graalvm.nativeimage.c
-
Defines the C header file for entry points enclosed by the annotated class or method.
- CHeader.Header - Interface in org.graalvm.nativeimage.c
-
Container for Header file properties.
- 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.
- className() - Element in annotation interface com.oracle.svm.core.annotate.TargetClass
-
Specifies the substitutee class using a class-name string.
- classNameProvider() - Element in annotation interface com.oracle.svm.core.annotate.TargetClass
-
Specifies the substitutee class.
- cleanup() - Method in interface org.graalvm.nativeimage.hosted.Feature
-
Handler for cleanup.
- CLibrary - Annotation Interface 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 Interface 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 interface 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 Interface in org.graalvm.nativeimage.c.struct
-
Denotes Java interface that imports a C pointer type.
- create() - Static method in interface org.graalvm.nativeimage.ObjectHandles
-
Creates a new set of handles.
- create(Class<?>, String, Class<?>...) - Static method in class org.graalvm.nativeimage.c.function.CEntryPointLiteral
-
Creates a new function pointer to an entry point.
- 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_ISOLATE - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method creates an isolate.
- 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 Interface in org.graalvm.nativeimage.c.struct
-
Denotes Java interface that imports a C struct.
- CTypeConversion - Class in org.graalvm.nativeimage.c.type
-
Utility methods to convert between Java types and C types.
- CTypeConversion.CCharPointerHolder - Interface in org.graalvm.nativeimage.c.type
-
An auto-closable that holds a Java
CharSequenceas a null-terminated C char[] array. - CTypeConversion.CCharPointerPointerHolder - Class in org.graalvm.nativeimage.c.type
-
An auto-closable that holds a Java
CharSequence[] array as a null-terminated array of null-terminated C char[]s. - CTypedef - Annotation Interface in org.graalvm.nativeimage.c.type
-
Defines a name for C type to be used in an entry-point method signature.
- CTypedefOfInfo - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Informational only.
- CUnsigned - Annotation Interface in org.graalvm.nativeimage.c.type
-
Qualifies a C integer type as unsigned in an entry-point method signature.
- CurrentIsolate - Class in org.graalvm.nativeimage
-
Utility methods that provide access to the current isolate.
- Custom - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
Use a
FieldValueTransformer, which is specified as the target class.
D
- declClass() - Element in annotation interface com.oracle.svm.core.annotate.RecomputeFieldValue
-
The class parameter for the recomputation.
- declClassName() - Element in annotation interface com.oracle.svm.core.annotate.RecomputeFieldValue
-
The class parameter for the recomputation.
- defaultValue() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
-
Returns the default value of type
RuntimeOptions.Descriptor.valueType()for this option. - Delete - Annotation Interface 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. - dependsOn() - Element in annotation interface org.graalvm.nativeimage.c.function.CLibrary
-
Specifies the name of the libraries this library depends on.
- deprecated() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
-
Returns
trueif this option was marked deprecated. - deprecatedMessage() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
-
Returns the deprecation reason and the recommended fix.
- destroy(long) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Kills the process.
- destroy(ObjectHandle) - Method in interface org.graalvm.nativeimage.ObjectHandles
-
Destroys the given handle.
- destroyForcibly(long) - Static method in class org.graalvm.nativeimage.ProcessProperties
-
Kills the process forcibly.
- DETACH_THREAD - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method detaches the current thread, given as an
IsolateThread, from an isolate. - detachThread(IsolateThread) - Static method in class org.graalvm.nativeimage.Isolates
-
Detaches the passed isolate thread from its isolate and discards any state or context that is associated with it.
- documentation() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
Method documentation to be included in the header file, as an array of lines.
- dumpHeap(String, boolean) - Static method in class org.graalvm.nativeimage.VMRuntime
-
Dumps the heap to the
outputFilefile 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
- exceptionHandler() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
Provides an exception handler for all exceptions that are not handled explicitly by the entry point method.
- 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
-
Access methods available for
Feature.afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess). - Feature.AfterCompilationAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.afterCompilation(org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess). - Feature.AfterHeapLayoutAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.afterHeapLayout(org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess). - Feature.AfterImageWriteAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.afterImageWrite(org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess). - Feature.AfterRegistrationAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess). - Feature.BeforeAnalysisAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.beforeAnalysis(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess). - Feature.BeforeCompilationAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.beforeCompilation(org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess). - Feature.BeforeHeapLayoutAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.beforeHeapLayout(org.graalvm.nativeimage.hosted.Feature.BeforeHeapLayoutAccess). - Feature.BeforeImageWriteAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.beforeImageWrite(org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess). - Feature.BeforeUniverseBuildingAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.beforeUniverseBuilding(org.graalvm.nativeimage.hosted.Feature.BeforeUniverseBuildingAccess). - Feature.CompilationAccess - Interface in org.graalvm.nativeimage.hosted
- Feature.DuringAnalysisAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess). - Feature.DuringSetupAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.duringSetup(org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess). - Feature.FeatureAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods that are available for all feature methods.
- Feature.IsInConfigurationAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.isInConfiguration(org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess). - Feature.OnAnalysisExitAccess - Interface in org.graalvm.nativeimage.hosted
-
Access methods available for
Feature.onAnalysisExit(org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess). - Feature.QueryReachabilityAccess - Interface in org.graalvm.nativeimage.hosted
-
Access reachability methods available for
Feature.afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess)andFeature.duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess). - FieldOffset - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The int or long field is set to the offset of the field named
Enum.name()of the classRecomputeFieldValue.declClass(), as it would be computed byUnsafe.objectFieldOffset(java.lang.reflect.Field). - FieldValueTransformer - Interface in org.graalvm.nativeimage.hosted
-
A transformer for a field value that can be registered using
Feature.BeforeAnalysisAccess.registerFieldValueTransformer(java.lang.reflect.Field, org.graalvm.nativeimage.hosted.FieldValueTransformer). - 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.
- FromAlias - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The field is set to the value assigned to the
Aliasfield.
G
- get() - Method in interface org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerHolder
-
Returns the C pointer to the null-terminated C char[] array.
- get() - Method in class org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerPointerHolder
-
Returns the C pointer to pointers of null-terminated C char[] arrays.
- get(int) - Static method in class org.graalvm.nativeimage.StackValue
-
Reserves a block of memory in the stack frame of the method that calls this intrinsic.
- get(int, int) - Static method in class org.graalvm.nativeimage.StackValue
-
Utility method that performs size arithmetic, otherwise equivalent to
StackValue.get(int). - get(int, Class<T>) - Static method in class org.graalvm.nativeimage.StackValue
-
Reserves a block of memory for array of given
CStructtype in the stack frame of the method that calls this intrinsic. - 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(Class<T>) - Static method in class org.graalvm.nativeimage.StackValue
-
Reserves a block of memory for given
CStructclass in the stack frame of the method that calls this intrinsic. - get(String) - Static method in class org.graalvm.nativeimage.RuntimeOptions
-
Get the value of the option with the provided name.
- get(ObjectHandle) - Method in interface org.graalvm.nativeimage.ObjectHandles
-
Extracts the object from a given handle.
- GET_CURRENT_THREAD - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method returns the
IsolateThreadof the current thread in a specifiedIsolate. - GET_ISOLATE - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method returns the
Isolatefor anIsolateThread. - getAnnotation(AnnotatedElement, Class<T>) - Static method in class org.graalvm.nativeimage.AnnotationAccess
-
Implementation of
AnnotatedElement.getAnnotation(Class). - getAnnotationTypes(AnnotatedElement) - Static method in class org.graalvm.nativeimage.AnnotationAccess
-
Implementation for retrieving all
Annotation.annotationType()s for aelement. - getApplicationClassLoader() - Method in interface org.graalvm.nativeimage.hosted.Feature.FeatureAccess
-
Returns the
ClassLoaderthat 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
nullif 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 exception class org.graalvm.nativeimage.MissingJNIRegistrationError
- getDeclaringClass() - Method in exception class org.graalvm.nativeimage.MissingReflectionRegistrationError
- getDefault() - Static method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters
-
Returns a
Isolates.CreateIsolateParameterswith 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 exception class org.graalvm.nativeimage.MissingJNIRegistrationError
- getElementName() - Method in exception class org.graalvm.nativeimage.MissingReflectionRegistrationError
- getElementType() - Method in exception class org.graalvm.nativeimage.MissingJNIRegistrationError
- getElementType() - Method in exception class 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
Stringcontaining 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
CEntryPointLiteralcontaining 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 exception class 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.
- getSignature() - Method in exception class org.graalvm.nativeimage.MissingJNIRegistrationError
- 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.
- include() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
If the supplier returns
true, this entry point is added automatically when building a shared library. - includedIn(Class<? extends Platform>) - Static method in interface org.graalvm.nativeimage.Platform
-
Returns true if the current platform (the platform that the native image is built for) is included in the provided platform group.
- includeInLookup() - Element in annotation interface org.graalvm.nativeimage.c.constant.CEnumConstant
-
Specifies whether the annotated enumeration value is returned by the lookup method annotated with
CEnumLookup. - 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 Interface in com.oracle.svm.core.annotate
-
Injects the annotated field into the
TargetClass. - InjectAccessors - Annotation Interface in com.oracle.svm.core.annotate
-
Inject accessor methods for the field denoted using an
Aliasannotation. - innerClass() - Element in annotation interface com.oracle.svm.core.annotate.TargetClass
-
Specifies the suffix of the substitutee class name when it is an inner class.
- InvokeCFunctionPointer - Annotation Interface 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
-
Implementation of
AnnotatedElement.isAnnotationPresent(Class). - isExecutable() - Static method in class org.graalvm.nativeimage.ImageInfo
-
Returns true if the image is built as an executable.
- isFinal() - Element in annotation interface com.oracle.svm.core.annotate.RecomputeFieldValue
-
Treat the value as final, to enforce constant folding already during static analysis.
- isIncomplete() - Element in annotation interface org.graalvm.nativeimage.c.struct.CStruct
-
If marked as incomplete, we will not try to determine the size of the struct.
- 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 class org.graalvm.nativeimage.Isolates.IsolateException
-
Constructs a new exception with the specified detail message.
- Isolates - Class in org.graalvm.nativeimage
-
Support for the creation, access to, and tear-down of isolates.
- Isolates.CreateIsolateParameters - Class in org.graalvm.nativeimage
-
Parameters for the creation of an isolate.
- Isolates.CreateIsolateParameters.Builder - Class in org.graalvm.nativeimage
-
Builder for a
Isolates.CreateIsolateParametersinstance. - Isolates.IsolateException - Exception Class in org.graalvm.nativeimage
-
An exception thrown in the context of managing isolates.
- Isolates.ProtectionDomain - Interface in org.graalvm.nativeimage
-
Identifies a protection domain for an isolate.
- IsolateThread - Interface in org.graalvm.nativeimage
-
Pointer to the runtime data structure for a thread.
- isReachable(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
Returns true if the static analysis determined that the provided class is reachable at run time.
- isReachable(Executable) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
Returns true if the static analysis determined that the provided method is reachable at run time.
- isReachable(Field) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
Returns true if the static analysis determined that the provided field is reachable at run time.
- isSharedLibrary() - Static method in class org.graalvm.nativeimage.ImageInfo
-
Returns true if the image is build as a shared library.
K
- KeepOriginal - Annotation Interface in com.oracle.svm.core.annotate
-
If a class annotated with
TargetClassis also annotated withSubstitute, all non-substituted methods in that class are by default treated asdeleted. - kind() - Element in annotation interface com.oracle.svm.core.annotate.RecomputeFieldValue
-
The kind of the recomputation performed.
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(int) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
-
Allocates
sizebytes of unmanaged memory. - malloc(UnsignedWord) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
-
Allocates
sizebytes of unmanaged memory. - Manual - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
Marker value that the field is intercepted by some manual logic.
- MissingJNIRegistrationError - Exception Class in org.graalvm.nativeimage
-
This exception is thrown when a JNI query tries to access an element that was not registered for JNI access in the program.
- MissingJNIRegistrationError(String, Class<?>, Class<?>, String, String) - Constructor for exception class org.graalvm.nativeimage.MissingJNIRegistrationError
- MissingReflectionRegistrationError - Exception Class in org.graalvm.nativeimage
-
This exception is thrown when a reflective query (such as
Class.getMethod(String, Class[])) tries to access an element that was not registered for reflection in the program. - MissingReflectionRegistrationError(String, Class<?>, Class<?>, String, Class<?>[]) - Constructor for exception class org.graalvm.nativeimage.MissingReflectionRegistrationError
N
- name() - Element in annotation interface com.oracle.svm.core.annotate.RecomputeFieldValue
-
The name parameter for the recomputation.
- name() - Element in annotation interface com.oracle.svm.core.annotate.TargetElement
-
The name of the field or method in the original class.
- name() - Method in interface org.graalvm.nativeimage.c.CHeader.Header
-
Name of the header file.
- name() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
The symbol name to use for this entry point.
- name() - Element in annotation interface org.graalvm.nativeimage.c.type.CTypedef
-
Name to be used for this C type.
- name() - Method in interface org.graalvm.nativeimage.RuntimeOptions.Descriptor
-
Returns the name of the option that this descriptor represents.
- nameOfCType() - Element in annotation interface org.graalvm.nativeimage.c.struct.CPointerTo
-
The value type, as C type name.
- NEW_DOMAIN - Static variable in interface org.graalvm.nativeimage.Isolates.ProtectionDomain
-
Creates a new protection domain if passed to the
Isolates.CreateIsolateParameters.Builder. - NewInstance - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The object field is set to a instance of
RecomputeFieldValue.declClass()created by calling the default constructor. - NewInstanceWhenNotNull - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The object field is set to a instance of
RecomputeFieldValue.declClass()created by calling the default constructor when the target field value is not null. - NO_BUILTIN - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method is not an alias for a built-in method.
- NO_DOMAIN - Static variable in interface org.graalvm.nativeimage.Isolates.ProtectionDomain
-
Do not use a protection domain.
- NO_TRANSITION - Enum constant in enum class org.graalvm.nativeimage.c.function.CFunction.Transition
-
No prologue and epilogue is emitted.
- None - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The initial field value is not modified.
- NotPublished - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Publish
-
Do not publish the entry point method.
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.
- onlyWith() - Element in annotation interface com.oracle.svm.core.annotate.TargetClass
-
Substitute only if all provided predicates are true (default: unconditional substitution that is always included).
- onlyWith() - Element in annotation interface com.oracle.svm.core.annotate.TargetElement
-
Substitute only if all provided predicates are true (default: unconditional substitution that is always included).
- 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.RuntimeClassInitializationis used to configure when classes are initialized.RuntimeReflectionto 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_PROPERTY_NAME - Static variable in interface org.graalvm.nativeimage.Platform
-
The system property name that specifies the fully qualified name of the
Platformimplementation class that should be used. - Platform.AARCH64 - Interface in org.graalvm.nativeimage
-
Supported architecture: ARMv8 64-bit.
- Platform.AMD64 - Interface in org.graalvm.nativeimage
-
Supported architecture: x86 64-bit.
- Platform.ANDROID - Interface in org.graalvm.nativeimage
-
Supported operating system: Android.
- Platform.ANDROID_AARCH64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Android on AArch64 64-bit.
- Platform.DARWIN - Interface in org.graalvm.nativeimage
-
Basis for all Apple operating systems (MacOS and iOS).
- Platform.DARWIN_AARCH64 - Interface in org.graalvm.nativeimage
-
Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64).
- Platform.DARWIN_AMD64 - Interface in org.graalvm.nativeimage
-
Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64).
- Platform.HOSTED_ONLY - Class in org.graalvm.nativeimage
-
Marker for elements (types, methods, or fields) that are only visible during native image generation and cannot be used at run time, regardless of the actual platform.
- Platform.IOS - Interface in org.graalvm.nativeimage
-
Supported operating system: iOS.
- Platform.IOS_AARCH64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: iOS on AArch 64-bit.
- Platform.IOS_AMD64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: iOS on x86 64-bit.
- Platform.LINUX - Interface in org.graalvm.nativeimage
-
Supported operating system: Linux.
- Platform.LINUX_AARCH64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Linux on AArch64 64-bit.
- Platform.LINUX_AARCH64_BASE - Interface in org.graalvm.nativeimage
-
Basis for all Linux operating systems on AARCH64 (LINUX_AARCH64 & ANDROID_AARCH64).
- Platform.LINUX_AMD64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Linux on x86 64-bit.
- Platform.LINUX_AMD64_BASE - Interface in org.graalvm.nativeimage
-
Basis for all Linux operating systems on AMD64 (LINUX_AMD64).
- Platform.LINUX_RISCV64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Linux on RISC-V 64-bit.
- Platform.MACOS - Interface in org.graalvm.nativeimage
-
Supported operating system: MacOS.
- Platform.MACOS_AARCH64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: MacOS on AArch 64-bit.
- Platform.MACOS_AMD64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: MacOS on x86 64-bit.
- Platform.RISCV64 - Interface in org.graalvm.nativeimage
-
Supported architecture: RISC-V 64-bit.
- Platform.WINDOWS - Interface in org.graalvm.nativeimage
-
Supported operating system: Windows.
- Platform.WINDOWS_AARCH64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Windows on AArch 64-bit.
- Platform.WINDOWS_AMD64 - Class in org.graalvm.nativeimage
-
Supported leaf platform: Windows on x86 64-bit.
- Platforms - Annotation Interface in org.graalvm.nativeimage
-
Restricts the annotated element (type, method, or field) to the specified
Platformgroups. - polymorphicSignature() - Element in annotation interface com.oracle.svm.core.annotate.Substitute
- 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_KEYif 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_KEYif 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_KEYif 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_KEYif image is a shared library. - publishAs() - Element in annotation interface org.graalvm.nativeimage.c.function.CEntryPoint
-
Whether the entry point is part of the symbols and header files produced by Native Image.
R
- RawField - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field access of a
structured C memory. - RawFieldAddress - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field address computation of a
RawStructure. - RawFieldOffset - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a method as a field offset access of a
RawStructure. - RawPointerTo - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes a Java interface that is a pointer to a
RawStructure. - RawStructure - Annotation Interface in org.graalvm.nativeimage.c.struct
-
Denotes Java interface that represents C memory, but without a
C structdefinition. - reachableMethodOverrides(Executable) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
Returns all method overrides of the given {param baseMethod} that the static analysis determined to be reachable at run time (including the {param baseMethod} itself).
- reachableSubtypes(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
Returns all subtypes of the given {param baseClass} that the static analysis determined to be reachable at run time (including the {param baseClass} itself).
- read() - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Reads the value at the pointer address.
- read() - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Reads the value at the pointer address.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(int) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- read(SignedWord) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
- realloc(T, UnsignedWord) - Static method in class org.graalvm.nativeimage.UnmanagedMemory
-
Changes the size of the provided unmanaged memory to
sizebytes of unmanaged memory. - RecomputeFieldValue - Annotation Interface in com.oracle.svm.core.annotate
-
Supported API is available to replace this non-API annotation: Use
Feature.BeforeAnalysisAccess.registerFieldValueTransformer(java.lang.reflect.Field, org.graalvm.nativeimage.hosted.FieldValueTransformer). - RecomputeFieldValue.Kind - Enum Class in com.oracle.svm.core.annotate
- register(boolean, boolean, Field...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Deprecated.
- register(boolean, Field...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Deprecated.Use
RuntimeReflection.register(Field...)instead. ParameterfinalIsWritableno longer serves a purpose. - register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeJNIAccess
-
Makes the provided classes available for JNI access at run time.
- register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeProxyCreation
-
Enables registering specifications of
Proxyclasses during the image build so that matching proxy objects can be created at runtime. - register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided classes available for reflection at run time.
- register(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
-
Makes the provided classes available for serialization at runtime.
- register(Executable...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeJNIAccess
-
Makes the provided methods available for JNI access at run time.
- register(Executable...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided methods available for reflection at run time.
- register(Field...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeJNIAccess
-
Makes the provided fields available for JNI access at run time.
- register(Field...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided fields available for reflection at run time.
- register(String, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSystemProperties
-
Define a system property setting for image runtime.
- registerAllClasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getClasses()on the provided class at run time. - registerAllConstructors(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getConstructors()on the provided class at run time. - registerAllDeclaredClasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getDeclaredClasses()on the provided class at run time. - registerAllDeclaredConstructors(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getDeclaredConstructors()on the provided class at run time. - registerAllDeclaredFields(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getDeclaredFields()on the provided class at run time. - registerAllDeclaredMethods(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getDeclaredMethods()on the provided class at run time. - registerAllFields(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getFields()on the provided class at run time. - registerAllMethods(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getMethods()on the provided class at run time. - registerAllNestMembers(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getNestMembers()on the provided class at run time. - registerAllPermittedSubclasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getPermittedSubclasses()on the provided class at run time. - registerAllRecordComponents(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getRecordComponents()on the provided class at run time. - registerAllSigners(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Allows calling
Class.getSigners()on the provided class at run time. - registerAsAccessed(Field) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers the provided field as accesses, i.e., the static analysis assumes the field is used even if there are no explicit reads or writes in the bytecodes.
- registerAsImmutable(Object) - Method in interface org.graalvm.nativeimage.hosted.Feature.CompilationAccess
-
Hint to the native image generator that the given object is immutable at runtime, i.e., can be placed in a read-only section of the native image heap.
- registerAsImmutable(Object, Predicate<Object>) - Method in interface org.graalvm.nativeimage.hosted.Feature.CompilationAccess
-
Register the object, and everything it transitively references, as immutable.
- registerAsInHeap(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers the provided type as instantiated, i.e., the static analysis assumes that instances of this type exist at run time even if there is no explicit instantiation in the bytecodes.
- registerAsQueried(Executable...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided methods available for reflection queries at run time.
- registerAsUnsafeAccessed(Field) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers the provided field as written or read by
Unsafe, i.e., the static analysis merges together all values of unsafe accessed fields of a specific type. - registerAsUnsafeAllocated(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers the provided type as allocatable without running a constructor, via Unsafe.allocateInstance or via the JNI function AllocObject.
- registerAsUsed(Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers the provided type a used, i.e., metadata for the type is put into the native image.
- registerClassInitializerReachabilityHandler(Consumer<Feature.DuringAnalysisAccess>, Class<?>) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers a callback that is invoked once
during analysiswhen the class initializer for the given type is determined to be reachable at run time. - registerClassLookup(String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided class available for reflection at run time.
- registerConstructorLookup(Class<?>, Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided constructor available for reflection queries at run time.
- registerFieldLookup(Class<?>, String) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided field available for reflection at run time.
- registerFieldValueTransformer(Field, FieldValueTransformer) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers a field value transformer for the provided field.
- registerForDowncall(Object, Object...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeForeignAccess
-
Registers the provided function descriptor and options pair at image build time for downcalls into foreign code.
- registerForReflectiveInstantiation(Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided classes available for reflective instantiation by
Class.newInstance(). - registerForUpcall(Object, Object...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeForeignAccess
-
Registers the provided function descriptor and options pair at image build time for upcalls from foreign code.
- registerIncludingAssociatedClasses(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
-
Register the specified serialization target class itself and all associated classes.
- registerLambdaCapturingClass(Class<?>) - Static method in class org.graalvm.nativeimage.hosted.RuntimeSerialization
-
Makes a class available for serialization at runtime that is created for the lambda expressions (a class that has a $deserializeLambda$ method) specified by the lambdaCapturingClass.
- registerMethodLookup(Class<?>, String, Class<?>...) - Static method in class org.graalvm.nativeimage.hosted.RuntimeReflection
-
Makes the provided method available for reflection queries at run time.
- registerMethodOverrideReachabilityHandler(BiConsumer<Feature.DuringAnalysisAccess, Executable>, Executable) - Method in interface org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess
-
Registers a callback that is invoked once during analysis for each time a method that overrides the specified {param baseMethod} is determined to be reachable at run time.
- 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 analysiswhen 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 handlerthat 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 analysisfor 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.
- requireStatic() - Element in annotation interface org.graalvm.nativeimage.c.function.CLibrary
-
Specifies if static linking is required.
- reservedAddressSpaceSize(UnsignedWord) - Method in class org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder
-
Sets the size in bytes for the reserved virtual address space of the new isolate.
- Reset - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The field is reset to the default value (null, 0, false).
- 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.ProtectionDomainfor 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.
- sizeProvider() - Element in annotation interface org.graalvm.nativeimage.c.struct.RawStructure
-
Class of a function that computes the size of the structure.
- StackValue - Class in org.graalvm.nativeimage
-
Contains static methods for memory allocation in the stack frame.
- StaticFieldBase - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The static field base Object as it would be computed by
Unsafe.staticFieldBase(Field). - Substitute - Annotation Interface in com.oracle.svm.core.annotate
-
When used to annotate a method, it indicates that a method declaration is intended to be a substitute for a method declaration in another class.
- SymbolAndHeader - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Publish
-
Create a symbol for the entry point method in the native image, and if building a shared library image, also include a C declaration in the generated C header file.
- SymbolOnly - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Publish
-
Create a symbol for the entry point method in the native image.
T
- TargetClass - Annotation Interface in com.oracle.svm.core.annotate
-
A class annotated with this annotation denotes a class that modifies methods of fields of another class, called the "original" class.
- TargetClass.AlwaysIncluded - Class in com.oracle.svm.core.annotate
-
The default value for the
TargetClass.onlyWith()attribute. - TargetClass.NoClassNameProvider - Interface in com.oracle.svm.core.annotate
-
Marker value for
TargetClass.classNameProvider()that no class name provider should be used. - TargetElement - Annotation Interface in com.oracle.svm.core.annotate
-
Specifies additional properties for an element also annotated with
Alias,Delete,Substitute,AnnotateOriginal, orKeepOriginal. - TEAR_DOWN_ISOLATE - Enum constant in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
The annotated method tears down the specified isolate.
- tearDownIsolate(IsolateThread) - Static method in class org.graalvm.nativeimage.Isolates
-
Tears down an isolate.
- 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.
- TO_NATIVE - Enum constant in enum class org.graalvm.nativeimage.c.function.CFunction.Transition
-
The thread state is transitioned from Java to C, and the Java parts of the stack are made walkable.
- 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, Charset, CCharPointer, UnsignedWord) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Copies the
javaStringinto the buffer as a 0 terminated C string encoded with thecharsetcharacter set. - toCString(CharSequence, CCharPointer, UnsignedWord) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Copies the
javaStringinto the buffer as a 0 terminated C string encoded with the default character set. - toCStrings(CharSequence[]) - Static method in class org.graalvm.nativeimage.c.type.CTypeConversion
-
Provides access to C pointers for the provided Java Strings, encoded with the default charset.
- 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 lengthlengthto 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 lengthlengthto a Java string usingcharset. - transform(Object, Object) - Method in interface org.graalvm.nativeimage.hosted.FieldValueTransformer
-
Transforms the field value for the provided receiver.
- transition() - Element in annotation interface org.graalvm.nativeimage.c.function.CFunction
-
The Java-to-C thread transition code used when calling the function.
- transition() - Element in annotation interface org.graalvm.nativeimage.c.function.InvokeCFunctionPointer
-
The Java-to-C thread transition code used when calling the function.
- TranslateFieldOffset - Enum constant in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
The field offset stored in this int or long field is updated.
U
- UniqueLocationIdentity - Annotation Interface in org.graalvm.nativeimage.c.struct
-
A
CFieldalso annotated with this annotation gets a uniqueLocationIdentityassigned, 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
sizecast toUnsignedWord. - 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
- value() - Element in annotation interface com.oracle.svm.core.annotate.Delete
-
Documents the reason why the annotated element is deleted.
- value() - Element in annotation interface com.oracle.svm.core.annotate.InjectAccessors
- value() - Element in annotation interface com.oracle.svm.core.annotate.TargetClass
-
Specifies the substitutee class using a class literal.
- value() - Element in annotation interface org.graalvm.nativeimage.c.CContext
-
Specifies which directives are used with the annotated element.
- value() - Element in annotation interface org.graalvm.nativeimage.c.CHeader
-
Class that defines the header file properties.
- value() - Element in annotation interface org.graalvm.nativeimage.c.constant.CConstant
-
Specifies the name of the C constant.
- value() - Element in annotation interface org.graalvm.nativeimage.c.constant.CEnum
-
Specifies the name of the imported C enum type.
- value() - Element in annotation interface org.graalvm.nativeimage.c.constant.CEnumConstant
-
Specifies the name of the imported C enum constant.
- value() - Element in annotation interface org.graalvm.nativeimage.c.function.CFunction
-
The symbol name to use to link this method.
- value() - Element in annotation interface org.graalvm.nativeimage.c.function.CLibrary
-
The name of the library without a file extension (e.g., "hello").
- value() - Element in annotation interface org.graalvm.nativeimage.c.function.CMacroInfo
-
Specifies the name of the C macro the annotated method corresponds to.
- value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CBitfield
-
Specifies the field name inside the
C struct. - value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CField
-
Specifies the field name inside the
C struct. - value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CFieldAddress
-
Specifies the field name inside the
C struct. - value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CFieldOffset
-
Specifies the field name inside the
C struct. - value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CPointerTo
-
The value type, as a reference to a Java interface that is either annotated with
CStructorCPointerTo. - value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CStruct
-
Specifies the name of the imported C struct type.
- value() - Element in annotation interface org.graalvm.nativeimage.c.struct.CTypedefOfInfo
-
Specifies the base type the C type of this annotated C interface class is a typedef of.
- value() - Element in annotation interface org.graalvm.nativeimage.c.struct.RawPointerTo
-
The value type, as a reference to a Java interface that is annotated with
RawStructureorRawPointerTo. - value() - Element in annotation interface org.graalvm.nativeimage.Platforms
-
Restricts the annotated element (type, method, or field) to the specified
Platformgroups. - valueOf(String) - Static method in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Publish
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.nativeimage.c.function.CFunction.Transition
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.oracle.svm.core.annotate.RecomputeFieldValue.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Builtin
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.nativeimage.c.function.CEntryPoint.Publish
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.nativeimage.c.function.CFunction.Transition
-
Returns an array containing the constants of this enum class, in the order they are declared.
- 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
UnsignedWordorSignedWordvalue. - write(byte) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Writes the value at the pointer address.
- write(double) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Writes the value at the pointer address.
- write(float) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Writes the value at the pointer address.
- write(int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Writes the value at the pointer address.
- write(int, byte) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, double) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, float) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, long) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, short) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, CCharPointer) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, CIntPointer) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(int, WordBase) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(long) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Writes the value at the pointer address.
- write(short) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Writes the value at the pointer address.
- write(CCharPointer) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Writes the value at the pointer address.
- write(CIntPointer) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Writes the value at the pointer address.
- write(SignedWord, byte) - Method in interface org.graalvm.nativeimage.c.type.CCharPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, double) - Method in interface org.graalvm.nativeimage.c.type.CDoublePointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, float) - Method in interface org.graalvm.nativeimage.c.type.CFloatPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, int) - Method in interface org.graalvm.nativeimage.c.type.CIntPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, long) - Method in interface org.graalvm.nativeimage.c.type.CLongPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, short) - Method in interface org.graalvm.nativeimage.c.type.CShortPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, CCharPointer) - Method in interface org.graalvm.nativeimage.c.type.CCharPointerPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, CIntPointer) - Method in interface org.graalvm.nativeimage.c.type.CIntPointerPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(SignedWord, WordBase) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
- write(WordBase) - Method in interface org.graalvm.nativeimage.c.type.WordPointer
-
Writes the value at the pointer address.
- writePreamble(PrintWriter) - Method in interface org.graalvm.nativeimage.c.CHeader.Header
-
Writes a preamble after the dependencies and before the list of included methods.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
RuntimeReflection.register(Field...)instead. ParametersfinalIsWritableandallowUnsafeAccessno longer serve a purpose.