public class HeapFeature extends Object implements GraalFeature
org.graalvm.nativeimage.Feature.AfterAnalysisAccess, org.graalvm.nativeimage.Feature.AfterCompilationAccess, org.graalvm.nativeimage.Feature.AfterHeapLayoutAccess, org.graalvm.nativeimage.Feature.AfterImageWriteAccess, org.graalvm.nativeimage.Feature.AfterRegistrationAccess, org.graalvm.nativeimage.Feature.BeforeAnalysisAccess, org.graalvm.nativeimage.Feature.BeforeCompilationAccess, org.graalvm.nativeimage.Feature.BeforeImageWriteAccess, org.graalvm.nativeimage.Feature.CompilationAccess, org.graalvm.nativeimage.Feature.DuringAnalysisAccess, org.graalvm.nativeimage.Feature.DuringSetupAccess, org.graalvm.nativeimage.Feature.FeatureAccess, org.graalvm.nativeimage.Feature.IsInConfigurationAccess, org.graalvm.nativeimage.Feature.OnAnalysisExitAccess| Constructor and Description |
|---|
HeapFeature() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRegistration(org.graalvm.nativeimage.Feature.AfterRegistrationAccess access) |
List<Class<? extends org.graalvm.nativeimage.Feature>> |
getRequiredFeatures() |
boolean |
isInConfiguration(org.graalvm.nativeimage.Feature.IsInConfigurationAccess access) |
void |
registerForeignCalls(RuntimeConfiguration runtimeConfig,
org.graalvm.compiler.phases.util.Providers providers,
org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection,
Map<SnippetRuntime.SubstrateForeignCallDescriptor,SubstrateForeignCallLinkage> foreignCalls,
boolean hosted)
Called to register foreign calls.
|
void |
registerGraalPhases(org.graalvm.compiler.phases.util.Providers providers,
org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection,
org.graalvm.compiler.phases.tiers.Suites suites,
boolean hosted)
Called to register lowering providers for static analysis, ahead-of-time compilation, and
runtime compilation.
|
void |
registerLowerings(RuntimeConfiguration runtimeConfig,
org.graalvm.compiler.options.OptionValues options,
Iterable<org.graalvm.compiler.debug.DebugHandlersFactory> factories,
org.graalvm.compiler.phases.util.Providers providers,
org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection,
Map<Class<? extends org.graalvm.compiler.graph.Node>,NodeLoweringProvider<?>> lowerings,
boolean hosted)
Called to register lowering providers for static analysis, ahead-of-time compilation, and
runtime compilation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterCodeObserver, registerInvocationPlugins, registerNodePluginspublic boolean isInConfiguration(org.graalvm.nativeimage.Feature.IsInConfigurationAccess access)
isInConfiguration in interface org.graalvm.nativeimage.Featurepublic List<Class<? extends org.graalvm.nativeimage.Feature>> getRequiredFeatures()
getRequiredFeatures in interface org.graalvm.nativeimage.Featurepublic void afterRegistration(org.graalvm.nativeimage.Feature.AfterRegistrationAccess access)
afterRegistration in interface org.graalvm.nativeimage.Featurepublic void registerGraalPhases(org.graalvm.compiler.phases.util.Providers providers,
org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection,
org.graalvm.compiler.phases.tiers.Suites suites,
boolean hosted)
GraalFeatureregisterGraalPhases in interface GraalFeatureproviders - Providers that the lowering can use.snippetReflection - Snippet reflection providers.suites - The Graal compilation suites to add to.hosted - True if registering for ahead-of-time compilation, false if registering forpublic void registerLowerings(RuntimeConfiguration runtimeConfig, org.graalvm.compiler.options.OptionValues options, Iterable<org.graalvm.compiler.debug.DebugHandlersFactory> factories, org.graalvm.compiler.phases.util.Providers providers, org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection, Map<Class<? extends org.graalvm.compiler.graph.Node>,NodeLoweringProvider<?>> lowerings, boolean hosted)
GraalFeatureregisterLowerings in interface GraalFeatureruntimeConfig - The runtime configuration.options - The initial option values.factories - The DebugHandlersFactorysproviders - Providers that the lowering can use.snippetReflection - Snippet reflection providers.lowerings - The lowering provider registry to add to.hosted - True if registering for ahead-of-time compilation, false if registering forpublic void registerForeignCalls(RuntimeConfiguration runtimeConfig, org.graalvm.compiler.phases.util.Providers providers, org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection, Map<SnippetRuntime.SubstrateForeignCallDescriptor,SubstrateForeignCallLinkage> foreignCalls, boolean hosted)
GraalFeatureregisterForeignCalls in interface GraalFeatureruntimeConfig - The runtime configuration.providers - Providers that the lowering can use.snippetReflection - Snippet reflection providers.foreignCalls - The foreign call registry to add to.hosted - True if registering for ahead-of-time compilation, false otherwise