Top Interfaces Annotations Classes
module nativebridge

Package org.graalvm.nativebridge


Interface Summary

Modifier and TypeInterface and Description
public interface
BinaryMarshaller<T>

A marshaller used by the native bridge processor to read or write method parameters and results of a custom type.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
AlwaysByReference

Annotation configuring a type as a by reference parameter in the whole annotated compilation unit.

public @interface
AlwaysByReferenceRepeated

Container for repeated AlwaysByReference annotations.

public @interface
ByReference

Instruments the native bridge processor to marshall annotated method return type or method parameter as a reference to a foreign object.

public @interface
CustomDispatchAccessor

Marks a method as a custom dispatch accessor.

public @interface
CustomDispatchFactory

Marks a method as a factory for custom dispatch API objects.

public @interface
CustomReceiverAccessor

Marks a method as a custom receiver accessor.

public @interface
EndPointHandle

Marks a bridge class field as a foreign reference handle.

public @interface
GenerateHotSpotToNativeBridge

Generates a HotSpot to native bridge.

public @interface
GenerateNativeToHotSpotBridge

Generate a native to HotSpot bridge for an annotated class.

public @interface
GenerateNativeToNativeBridge

Generates a native to native bridge.

public @interface
Idempotent

Enables the return value caching.

public @interface
In

Configures an array parameter as an in-parameter.

public @interface
MarshallerAnnotation

Meta-annotation that marks an annotation to be used for marshaller lookup.

public @interface
Out

Configures an array parameter as an out-parameter.

public @interface
RawReference

Instruments the native bridge processor to marshall annotated method return type or method parameter as a pointer value stored as Java long type.

public @interface
ReceiverMethod

The ReceiverMethod allows you to provide a custom method implementation in the generated type but still generate the over the boundary call.

Class Summary

Modifier and TypeClass and Description
public abstract class
BinaryInput

A buffer used by the BinaryMarshaller to unmarshal parameters and results passed by value.

public abstract class
BinaryOutput

A buffer used by the BinaryMarshaller to marshall parameters and results passed by value.

pack-priv class
pack-priv class
public class
ForeignException

This exception is used to transfer a local exception over the boundary.

pack-priv class
public class
JNIClassCache

Support class for JClass lookup.

public class
JNIConfig

A configuration used by the NativeIsolate and classes generated by the native bridge processor.

public class
MarshalledException

An exception representing an exception thrown over the isolate boundary.

public class
NativeIsolate

Represents a single native image isolate.

public class
NativeIsolateThread

Represents an entered isolate thread.

public class
NativeObject

Encapsulates a handle to an object in a native image heap where the object's lifetime is bound to the lifetime of the NativeObject instance.

public abstract class
NativeObjectCleaner<T>

A weak reference performing a given action when a referent becomes weakly reachable and is enqueued into reference queue.

public class
NativeObjectHandles

A support class for mapping objects in the native image isolate to long handles.

pack-priv class
pack-priv class
pack-priv class
StringMarshaller

BinaryMarshaller used to marshall string array components.

public abstract class
TypeLiteral<T>

Represents a generic type T.