public final class TruffleNFIFeature extends Object implements org.graalvm.nativeimage.hosted.Feature
NFILanguage
on SVM. This is
re-using most of the code of the default (libffi based) implementation from the Truffle
repository. All substitutions in this package (unless noted otherwise in a separate comment) are
direct re-implementations of the original NFI functions with the C interface of Substrate VM. If
this feature is enabled, the image is statically linked with libffi.Modifier and Type | Class and Description |
---|---|
static class |
TruffleNFIFeature.IsEnabled |
org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess, org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess, org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess, org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess, org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess, org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess, org.graalvm.nativeimage.hosted.Feature.CompilationAccess, org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess, org.graalvm.nativeimage.hosted.Feature.FeatureAccess, org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess, org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess, org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
Constructor and Description |
---|
TruffleNFIFeature() |
Modifier and Type | Method and Description |
---|---|
void |
duringSetup(org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess access) |
List<Class<? extends org.graalvm.nativeimage.hosted.Feature>> |
getRequiredFeatures() |
public List<Class<? extends org.graalvm.nativeimage.hosted.Feature>> getRequiredFeatures()
getRequiredFeatures
in interface org.graalvm.nativeimage.hosted.Feature
public void duringSetup(org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess access)
duringSetup
in interface org.graalvm.nativeimage.hosted.Feature