Top Description Interfaces Annotations Classes
module 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. It also provides interfaces and support classes that only work in the context of a native image.
Since
19.0

Interface Summary

Modifier and TypeInterface and Description
public interface
Isolate

Pointer to the runtime data structure for an isolate.

public interface
IsolateThread

Pointer to the runtime data structure for a thread.

public interface
LogHandler

Low-level handler for log messages of native images.

public interface
ObjectHandle

The opaque representation of a handle to a Java object given out to unmanaged code.

public interface
ObjectHandles

Manages a set of ObjectHandles.

public interface
PinnedObject

Holder for a pinned object, such that the object doesn't move until the pin is removed.

public interface
Platform

Root of the interface hierarchy for architectures, OS, and supported combinations of them.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Platforms

Restricts the annotated element (type, method, or field) to the specified Platform groups.

Class Summary

Modifier and TypeClass and Description
public class
AnnotationAccess

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.

public class
CurrentIsolate

Utility methods that provide access to the current isolate.

public class
ImageInfo

Utility class to retrieve information about the context in which code gets executed.

public class
ImageSingletons

A key-value store of singleton objects.

public class
Isolates

Support for the creation, access to, and tear-down of isolates.

public class
MissingReflectionRegistrationError

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.

public class
ProcessProperties

Utility class to get and set properties of the OS process at run time.

public class
RuntimeOptions

Used for manipulating options at run time.

public class
StackValue

Contains static methods for memory allocation in the stack frame.

pack-priv class
StackValueSnippets

This class contains code snippets used when generating the Javadoc.

public class
Threading

Functionality related to execution in threads.

public class
UnmanagedMemory

Contains static methods that allow allocate/free of unmanaged memory, i.e., memory that is not under the control of the garbage collector.

public class
VMRuntime

Used for doing VM runtime operations.