Annotation Interface GenerateHotSpotToNativeBridge
Generates a HotSpot to native bridge. For the annotated class, the processor generates a bridge
delegating calls to the object in a native image heap. Further information can be found in the
native bridge
tutorial.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends BooleanSupplier> If the supplier returnstrue, the bridge entry points are added automatically when building a shared library.
-
Element Details
-
include
Class<? extends BooleanSupplier> includeIf the supplier returnstrue, the bridge entry points are added automatically when building a shared library. This means the bridge entry points are root methods for compilation, and everything reachable from them is compiled too. The provided class must have a nullary constructor, which is used to instantiate the class. TheBooleanSupplier.getAsBoolean()} function is called on the newly instantiated instance.- Default:
org.graalvm.nativeimage.c.function.CEntryPoint.AlwaysIncluded.class
-
jniConfig
-