Skip to main content

native-image Expert Options - 22.3.2

Other versions:22.0.122.3.322.3.022.2.022.1.022.0.0.221.3.020.3.4

Name
Type
Data Type
Default value
Description
AOTInlineHbooleanDeprecated.
AOTTrivialInlineHbooleanPerform trivial method inlining in the AOT compiled native image.
APIFunctionPrefixHstringgraal_Prefix that is added to the names of API functions.
ASMInstructionProfilingHstringNoneEnables instruction profiling on assembler level. Valid values are a comma separated list of supported instructions. Compare with subclasses of Assembler.InstructionCounter.
AbortOnBenchmarkCounterOverflowHbooleanAbort VM with SIGILL if benchmark counters controlled by the (Generic|Timed|Benchmark)DynamicCounters.
AddAllCharsetsHbooleanMake all hosted charsets available at run time.
AddAllFileSystemProvidersHbooleanMake all supported providers returned by FileSystemProvider.installedProviders() available at run time.
AddExportsHstring<string>*Value <module>/<package><target-module>(,<target-module>)* updates <module> to export <package> to <target-module>, regardless of module declaration. <target-module> can be ALL-UNNAMED to export to all unnamed modules.
AddOpensHstring<string>*Value <module>/<package><target-module>(,<target-module>)* updates <module> to open <package> to <target-module>, regardless of module declaration.
AddReadsHstring<string>*Value <module><target-module>(,<target-module>)* updates <module> to read <target-module>, regardless of module declaration. <target-module> can be ALL-UNNAMED to read all unnamed modules.
AdditionalSecurityProvidersHstring<string>*Comma-separated list of additional security provider fully qualified class names to mark as used.Note that this option is only necessary if you use custom engine classes not available in JCA that are not JCA compliant.
AdditionalSecurityServiceTypesHstring<string>*Comma-separated list of additional security service types (fully qualified class names) for automatic registration. Note that these must be JCA compliant.
AggregatedMetricsFileHstringNoneFile to which aggregated metrics are dumped at shutdown. A CSV format is used if the file ends with .csv otherwise a more human readable format is used. If not specified, metrics are dumped to the console.
AliasArrayTypeFlowsHbooleanModel all array type flows using a unique elements type flow abstraction.
AlignedHeapChunkSizeHlong1048576The size of an aligned chunk. Serial and epsilon GC only.
AllocateInstancePrefetchLinesHlong1Number of cache lines to load after the object address using prefetch instructions.
AllocatePrefetchDistanceHlong192Sets the size (in bytes) of the prefetch distance for object allocation. Memory about to be written with the value of new objects is prefetched up to this distance starting from the address of the last allocated object. Each Java thread has its own allocation point.
AllocatePrefetchInstrHlong0Sets the prefetch instruction to prefetch ahead of the allocation pointer. Possible values are from 0 to 3. The actual instructions behind the values depend on the platform.
AllocatePrefetchLinesHlong4Number of cache lines to load after the array allocation using prefetch instructions.
AllocatePrefetchStepSizeHlong64Sets the step size (in bytes) for sequential prefetch instructions.
AllocatePrefetchStyleHlong1Generated code style for prefetch instructions: for 0 or less no prefetch instructions are generated and for 1 or more prefetch instructions are introduced after each allocation.
AllocationBeforePhysicalMemorySizeHlong1048576Bytes that can be allocated before (re-)querying the physical memory size. Serial and epsilon GC only.
AllocationProfilingHbooleanEnable runtime profiling of allocation.
AllocationSiteSensitiveHeapHbooleanA context sensitive heap means that each heap allocated object is modeled by using at least the allocation site.
AllowDeprecatedAutomaticFeatureHbooleanAllow using deprecated @AutomaticFeature annotation. If set to false, an error is shown instead of a warning.
AllowFoldMethodsHbooleanAllow MethodTypeFlow to see @Fold methods.
AllowIncompleteClasspathHbooleanDeprecated.
AllowJRTFileSystemHbooleanEnable support for reading Java modules (jimage format) and the jrt:// file system. Requires java.home to be set at runtime.
AllowVMInspectionHbooleanEnables features that allow the VM to be inspected during run time.
AllowVMInternalThreadsHbooleanDetermines if VM internal threads (e.g., a dedicated VM operation or reference handling thread) are allowed in this image.
AlwaysInlineIntrinsicsHbooleanUnconditionally inline intrinsics.
AlwaysInlineVTableStubsHboolean
AnalysisContextSensitivityHstringinsensControls the static analysis context sensitivity. Available values: insens (context insensitive analysis), allocsens (context insensitive analysis, context insensitive heap, allocation site sensitive heap), _1obj (1 object sensitive analysis with a context insensitive heap), _2obj1h (2 object sensitive with a 1 context sensitive heap).
AnalysisSizeCutoffHlong8The maximum size of type and method profiles returned by the static analysis. -1 indicates no limitation.
AnalysisStatisticsFileHstringNoneAnalysis results statistics file.
ArrayRegionEqualsConstantLimitHlong4096Array region equality checks will be evaluated at compile time if the receiver is a constant and its length is smaller than this value.
AssertInitializationSpecifiedForAllClassesHbooleanAssert class initialization is specified for all classes.
BenchmarkCounterPrintingCutoffHbooleanUse a cutoff to print only most significant counters.
BenchmarkCountersDumpDynamicHbooleanDump dynamic counters.
BenchmarkCountersDumpStaticHbooleanDump static counters.
BenchmarkCountersFileHstringNoneFile to which benchmark counters are dumped. A CSV format is used if the file ends with .csv otherwise a more human readable format is used. The fields in the CSV format are: category, group, name, value.
BenchmarkDynamicCountersHstringNoneTurn on the benchmark counters. The format of this option is:.
BootstrapInitializeOnlyHbooleanDo not compile anything on bootstrap but just initialize the compiler.
BootstrapTimeoutHdouble15Maximum time in minutes to spend bootstrapping (0 to disable this limit).
BootstrapWatchDogCriticalRateRatioHdouble0.25Ratio of the maximum compilation rate below which the bootstrap compilation rate must not fall (0 or less disables monitoring).
BuildOutputBreakdownsHbooleanShow code and heap breakdowns as part of the build output.
BuildOutputColorfulHbooleanColorize build output.
BuildOutputGCWarningsHbooleanPrint GC warnings as part of build output.
BuildOutputJSONFileHstringPrint build output statistics as JSON to the specified file. The output is according to the JSON schema located at: docs/reference-manual/native-image/assets/build-output-schema-v0.9.0.json.
BuildOutputLinksHbooleanShow links in build output.
BuildOutputPrefixHbooleanPrefix build output with '<pid>:<image name>'.
BuildOutputProgressHbooleanReport progress in build output.
BuildOutputSilentHbooleanSilence build output.
CAPCacheDirHstringDirectory where information generated by the CAnnotation Processor are cached.
CCompilerOptionHstring<string>*Provide custom C compiler option used for query code compilation.
CCompilerPathHstringNoneProvide custom path to C compiler used for query code compilation and linking.
CLibraryPathHstring<string>*Search path for C libraries passed to the linker (list of comma-separated directories).
CPUFeaturesHstring<string>*Comma separated list of CPU features that will be enabled while building the target executable, irrespective of whether they are supported by the hosted environment. Note that enabling features not present within the target environment may result in application crashes. The specific options available are target platform dependent. See --list-cpu-features for feature list.
CStandardHstringC89C standard to use in header files. Possible values are: [C89, C99, C11].
CanOmitFrameHboolean
CanonicalGraphStringsCheckConstantsHbooleanExclude virtual nodes when dumping canonical text for graphs.
CanonicalGraphStringsExcludeVirtualsHbooleanExclude virtual nodes when dumping canonical text for graphs.
CanonicalGraphStringsRemoveIdentitiesHbooleanAttempts to remove object identity hashes when dumping canonical text for graphs.
CheckRecurringCallbackOnNativeToJavaTransitionHbooleanTest whether a thread's recurring callback is pending on each transition from native code to Java.
CheckToolchainHbooleanCheck if native-toolchain is known to work with native-image.
ClassHstringClass containing the default entry point method. Optional if --shared is used.
ClassInitializationHstring<string>*A comma-separated list of classes appended with their initialization strategy (':build_time', ':rerun', or ':run_time').
ClearMetricsAfterBootstrapHbooleanClear the debug metrics after bootstrap.
CodeAlignmentHlong16Alignment of AOT and JIT compiled code in bytes.
CodeCacheCountersHbooleanCount accesses to the image and runtime code info table.
CodeInfoEncoderCountersHbooleanStatistics about code and deoptimization information.
CodeInfoIndexGranularityHlong256The granularity of the index for looking up code metadata. Should be a power of 2. Larger values make the index smaller, but access slower.
CollectImageBuildStatisticsHbooleanCollect information during image build about devirtualized invokes and bytecode exceptions.
CompilationBailoutAsFailureHbooleanTreat compilation bailouts like compilation failures.
CompilationCountLimitHlong0The number of compilations allowed for any method before the VM exits (a value of 0 means there is no limit).
CompilationExcludePhasesHstringNoneExclude certain phases from compilation, either unconditionally or with a method filter. Multiple exclusions can be specified separated by ':'. Phase names are matched as substrings, e.g.: CompilationExcludePhasesPartialEscape:LoopA.*,B.foo excludes PartialEscapePhase from all compilations and any phase containing 'Loop' in its name from compilations of all methods in class A and of method B.foo.
CompilationExpirationPeriodHlong300Time limit in seconds before a compilation expires (0 to disable the limit). A non-zero value for this option is doubled if assertions are enabled and quadrupled if DetailedAsserts is true.
CompilationFailureActionHstringSilentSpecifies the action to take when compilation fails.
CompilationWatchDogStartDelayHlong0Delay in seconds before watch dog monitors a compilation (0 disables monitoring).
CompilationWatchDogVMExitDelayHlong0Number of seconds after which a compilation appearing to make no progress causes the VM to exit (0 disables VM exiting).
CompileGraalWithC1OnlyHbooleanIn tiered mode compile Graal and JVMCI using optimized first tier code.
CompilerBackendHstringlirBackend used by the compiler.
CompilerConfigurationHstringNoneNames the compiler configuration to use. If omitted, the compiler configuration with the highest auto-selection priority is used. To see the set of available configurations, supply the value 'help' to this option.
ConditionalEliminationHboolean
ConditionalEliminationMaxIterationsHlong4
ConfigurationFileDirectoriesHstring<string>*Directories directly containing configuration files for dynamic features at runtime.
ConfigurationResourceRootsHstring<string>*Resource path above configuration resources for dynamic features at runtime.
ConfigureReflectionMetadataHbooleanEnable runtime instantiation of reflection objects for non-invoked methods.
CountHstringNonePattern for specifying scopes in which counters are enabled. See the Dump option for the pattern syntax. An empty value enables all counters unconditionally.
CountWriteBarriersHbooleanInstrument write barriers with counters. Serial GC only.
CountersHstringNoneComma separated names of counters that are enabled irrespective of the value for Count option. An empty value enables all counters unconditionally.
CrashAtHstringNonePattern for method(s) that will trigger an exception when compiled. This option exists to test handling compilation crashes gracefully. See the MethodFilter option for the pattern syntax. A ':Bailout' suffix will raise a bailout exception and a ':PermanentBailout' suffix will raise a permanent bailout exception.
CreateJvmShimHbooleanCreate a `jvm` shim for native libraries that link against that library.
DashboardAllHbooleanIn the dashboard dump, include all available information about the native image (this takes precedence over more specific flags).
DashboardBgvHbooleanSet dashboard to use BGV format for dump.
DashboardCodeHbooleanIn the dashboard dump, include the breakdown of the code size across different packages.
DashboardDumpHstringNoneEnable dashboard dumps to the specified file.
DashboardHeapHbooleanIn the dashboard dump, include the breakdown of the object sizes in the heap across different classes.
DashboardJsonHbooleanSet dashboard to use JSON format for dump.
DashboardPointsToHbooleanIn the dashboard dump, include the information about the points-to analysis.
DashboardPrettyHbooleanSet dashboard to use pretty print in JSON format.
DeadlockWatchdogExitOnTimeoutHbooleanExit the image builder VM after printing call stacks.
DeadlockWatchdogIntervalHlong10The interval in minutes between watchdog checks (0 disables the watchdog).
DebugInfoSourceCacheRootHstringsourcesDirectory under which to create source file cache for Application or GraalVM classes.
DebugInfoSourceSearchPathHstring<string>*Search path for source files for Application or GraalVM classes (list of comma-separated directories or jar files).
DebugStubsAndSnippetsHbooleanEnable debug output for stub code generation and snippet preparation.
DefaultCharsetHstringUS-ASCIIDefault charset of the image, by the default it is the same as the default charset of the image builder.
DefaultLocaleHstringen-USDefault locale of the image, by the default it is the same as the default locale of the image builder.
DefaultLoopFrequencyHdouble100Default frequency for loops with unknown local frequency.
DefaultUnswitchFactorHdouble0.7Default unswitching factor for control split node with unkown profile data.
DeleteLocalSymbolsHbooleanUse linker option to remove all local symbols from image.
DeoptALotHboolean
DeoptAfterOSRHbooleanDeoptimize OSR compiled code when the OSR entry loop is finished if there is no mature profile available for the rest of the method.
DeoptimizeAllHbooleanCompiles all methods as deoptimization targets for testing.
DeoptsToDisableOptimisticOptimizationHlong40
DetailedAssertsHbooleanEnable expensive assertions if normal assertions (i.e. -ea or -esa) are enabled.
DetectUserDirectoriesInImageHeapHbooleanWhen set to true, the image generator verifies that the image heap does not contain a home directory as a substring.
DiagnoseDumpLevelHlong3Specify the dump level if CompilationFailureAction#Diagnose is used.See CompilationFailureAction for details. file:doc-files/CompilationFailureActionHelp.txt.
DiagnosticsDirHstringreports/diagnostics_20230529_003106Sets the dir where diagnostic information is dumped.
DiagnosticsModeHbooleanEnables the diagnostic mode.
DisableInterceptHbooleanDisable intercepting exceptions in debug scopes.
DisableIntrinsicsHstringNoneDisable intrinsics matching the given method filter (see MethodFilter option for details). For example, 'DisableIntrinsicsString.equals' disables intrinsics for any method named 'equals' in a class whose simple name is 'String'. You can append ':verbose' at the end of the filter value to print out disabled intrinsics as they are encountered during compilation (e.g., 'String.equals:verbose').
DisableTypeIdResultVerificationHbooleanFor internal purposes only. Disables type id result verification even when running with assertions enabled.
DisableURLProtocolsHstring<string>*List of comma separated URL protocols that must never be included.
DivertParameterReturningMethodHbooleanAnalysis: Detect methods that return one of their parameters and hardwire the parameter straight to the return.
DumpHstringNoneFilter pattern for specifying scopes in which dumping is enabled.
DumpAfterEveryBCIHbooleanDump the current graph after every bci to IGV.
DumpEndVersusExitLoopFrequenciesHbooleanDebug flag to dump loop frequency differences computed based on loop end or exit nodes.If the frequencies diverge a lot, this may indicate missing profiles on control flowinside the loop body.
DumpHeapHstring<string>*Dump the heap at a specific time during image building.The option accepts a list of comma separated phases, any of: during-analysis, after-analysis, before-compilation.
DumpOnErrorHbooleanSend compiler IR to dump handlers on error.
DumpOnPhaseChangeHstringNoneDump a before and after graph if the named phase changes the graph.%nThe argument is substring matched against the simple name of the phase class.
DumpPathHstringgraal_dumpsThe directory where various Graal dump files are written.
DumpRuntimeCompilationOnSignalHbooleanDumps all runtime compiled methods on SIGUSR2.
DumpTargetInfoHbooleanShow native-toolchain information and image-build settings.
DumpThreadStacksOnSignalHbooleanDumps all thread stacktraces on SIGQUIT/SIGBREAK.
DumpingErrorsAreFatalHbooleanTreat any exceptions during dumping as fatal.
DynamicCountersPrintGroupSeparatorHbooleanUse grouping separators for number printing.
DynamicProxyConfigurationFilesHstring<string>*One or several (comma-separated) paths to JSON files that specify lists of interfaces that define Java proxy classes.
DynamicProxyConfigurationResourcesHstring<string>*Resources describing program elements to be made available for reflection (see ProxyConfigurationFiles).
DynamicProxyTracingHbooleanEnable trace logging for dynamic proxy.
EagerSnippetsHbooleanEagerly construct extra snippet info.
EarlyCodeEmissionOrderHbooleanEnable early code emission order computation instead of late code emission order computation.
EarlyGVNHbooleanPerform early global value numbering.
EarlyLICMHbooleanPerform early loop invariant code motion.
EmitStringSubstitutionsHbooleanEmit substitutions for String methods.
EnableAllSecurityServicesHbooleanAdd all security service classes to the generated image.
EnableLoggingFeatureHbooleanEnable the feature that provides support for logging.
EnableMonitoringFeaturesHstring<string>*Enable monitoring features that allow the VM to be inspected at run time. Comma-separated list can contain 'heapdump', 'jfr', 'jvmstat', or 'all' (defaults to 'all' if no argument is provided). For example: `--enable-monitoringheapdump,jvmstat`.
EnableSecurityServicesFeatureHbooleanEnable automatic registration of security services.
EnableSignalAPIHbooleanEnables the signal API (sun.misc.Signal or jdk.internal.misc.Signal). Defaults to false for shared library and true for executables.
EnableURLProtocolsHstring<string>*List of comma separated URL protocols to enable.
EnableWildcardExpansionHbooleanEnable wildcard expansion in command line arguments on Windows.
EnforceMaxRuntimeCompileMethodsHbooleanEnforce checking of maximum number of methods allowed for runtime compilation. Useful for checking in the gate that the number of methods does not go up without a good reason.
EntryPointNamePrefixHstringPrefix that is added to the names of entry point methods.
EscapeAnalysisIterationsHlong2
EscapeAnalysisLoopCutoffHlong20
EscapeAnalyzeOnlyHstringNone
ExactFullUnrollMaxNodesHlong800
ExactPartialUnrollMaxNodesHlong200
ExcludeResourcesHstring<string>*Regexp to match names of resources to be excluded from the image.
ExhaustiveHeapScanHbooleanScan all objects reachable from roots for analysis. By default false.
ExitAfterAnalysisHbooleanExit after analysis.
ExitAfterCAPCacheHbooleanExit image generation after C Annotation Processor Cache creation.
ExitAfterQueryCodeGenerationHbooleanOutput query code for target platform without executing it.
ExitAfterRelocatableImageWriteHbooleanExit after writing relocatable file.
ExitOnUnknownClassLoadingFailureHbooleanEnable termination caused by missing metadata.
ExitVMOnExceptionHbooleanAlias for CompilationFailureActionExitVM.
ExpectedEdenSizeHlong33554432Soft upper limit for used eden size. The hinted GC will be performed if the used eden size exceeds this value.
ExtendedAssertsHbooleanEnable extended asserts which slow down analysis.
FailedLoopExplosionIsFatalHbooleanDo not bail out but throw an exception on failed loop explosion.
FallbackExecutorClasspathHstringNoneInternal option used to specify Classpath for FallbackExecutor.
FallbackExecutorJavaArgHstring<string>*Internal option used to specify java arguments for FallbackExecutor.
FallbackExecutorMainClassHstringNoneInternal option used to specify MainClass for FallbackExecutor.
FallbackExecutorSystemPropertyHstring<string>*Internal option used to specify system properties for FallbackExecutor.
FallbackThresholdHlong5Define when fallback-image generation should be used.
FeaturesHstring<string>*A comma-separated list of fully qualified Feature implementation classes.
FloatingDivNodesHbooleanTry to float non-constant division operations to expose global value numbering of divisions.
FoldSecurityManagerGetterHbooleanFold SecurityManager getter.
ForceAdversarialLayoutHbooleanPlace N-byte constants in the data section such that they are misaligned with respect to N*2. For example, place 4 byte constants at offset 4, 12 or 20, etc. This layout is used to detect instructions that load constants with alignment smaller than the fetch size. For instance, an XORPS instruction that does a 16-byte fetch of a 4-byte float not aligned to 16 bytes will cause a segfault.
ForceExplicitReachabilityFenceHbooleanForce an explicit compiler node for Reference.reachabilityFence, instead of relying on FrameState liveness.
ForceNoROSectionRelocationsHbooleanUse only a writable native image heap (requires ld.gold linker).
FullUnrollHboolean
FullUnrollCodeSizeBudgetFactorForLargeGraphsHdouble2Maximum factor by which full unrolling can increase code size for large graphs. The FullUnrollSmallGraphThreshold option determines which graphs are small.
FullUnrollCodeSizeBudgetFactorForSmallGraphsHdouble10Maximum factor by which full unrolling can increase code size for small graphs. The FullUnrollSmallGraphThreshold option determines which graphs are small.
FullUnrollConstantCompareBoostHlong15
FullUnrollMaxApplicationHlong60
FullUnrollMaxIterationsHlong600
FullUnrollMaxNodesHlong400
FullUnrollSmallGraphThresholdHlong1000The threshold in terms of NodeSize for a graph to be considered small for the purpose of full unrolling. Applied in conjunction with the FullUnrollCodeSizeBudgetFactorForSmallGraphs and FullUnrollCodeSizeBudgetFactorForLargeGraphs options.
GCDebugStartCycleHlong-1Start tracing compiled GC barriers after N garbage collections (disabled if N < 0).
GatherSafepointStatisticsHbooleanGather statistics about each safepoint.
GenLoopSafepointsHboolean
GenerateDebugInfoHlong0Insert debug info into the generated native image or library.
GenericDynamicCountersHbooleanTurn on the benchmark counters, and displays the results on VM shutdown.
GraalArithmeticStubsHbooleanUse Graal arithmetic stubs instead of HotSpot stubs where possible.
GraalCompileOnlyHstringNoneA filter applied to a method the VM has selected for compilation by Graal. A method not matching the filter is redirected to a lower tier compiler. The filter format is the same as for the MethodFilter option.
GraphCompressionThresholdHlong70Graal graph compression is performed when percent of live nodes falls below this value.
GreyToBlackObjRefDemographicsHbooleanDevelop demographics of the object references visited. Serial GC only.
GuardPrioritiesHboolean
HeapChunkHeaderPaddingHlong0Number of bytes at the beginning of each heap chunk that are not used for payload data, i.e., can be freely used as metadata by the heap chunk provider. Serial and epsilon GC only.
HeapVerifierVerbosityHlong0Control heap verifier verbosity level: 0 - quiet, 1 - info, 2 - warning, 3 - all.
HotSpotDeoptExplicitExceptionsHbooleanTesting only option that forces deopts for exception throws.
HotSpotPostOnExceptionsHbooleanTesting only option that forces deopts for exception throws.
HotSpotPrintInliningHbooleanPrint inlining optimizations.
HybridStaticContextHbooleanEnable hybrid context for static methods, i.e. uses invocation site as context for static methods.
ImageBuildStatisticsFileHstringNoneFile for printing image build statistics.
ImageHeapCardMarkingHbooleanEnables card marking for image heap objects, which arranges them in chunks. Automatically enabled when supported. Serial GC only.
ImageObjectTreeExpandRootsHstringOverride the default suppression of specified roots. See: Reports.md.
ImageObjectTreeExpandTypesHstringOverride the default suppression of specified types. See: Reports.md.
ImageObjectTreeSuppressRootsHstringSuppress the expansion of specified roots. See: Reports.md.
ImageObjectTreeSuppressTypesHstringSuppress the expansion of specified types. See: Reports.md.
ImageSymbolsPrefixHstringCommon prefix used by method symbols in image.
IncludeAllLocalesHbooleanMake all hosted locales available at run time.
IncludeAllTimeZonesHbooleanWhen true, all time zones will be pre-initialized in the image.
IncludeDebugHelperMethodsHbooleanDetermines if debugging-specific helper methods are embedded into the image. Those methods can be called directly from the debugger to obtain or print additional information.
IncludeLocalesHstring<string>*Comma separated list of locales to be included into the image. The default locale is included in the list automatically if not present.
IncludeMethodDataHbooleanInclude a list of methods included in the image for runtime inspection.
IncludeNodeSourcePositionsHbooleanTrack NodeSourcePositions during runtime-compilation.
IncludeResourceBundlesHstring<string>*Comma separated list of bundles to be included into the image.
IncludeResourcesHstring<string>*Regexp to match names of resources to be included in the image.
IncludeTimeZonesHstringThe time zones, in addition to the default zone of the host, that will be pre-initialized in the image.
InitialCollectionPolicyHstringAdaptiveThe garbage collection policy, either Adaptive (default) or BySpaceAndTime. Serial GC only.
InjectedCompilationDelayHlong0The number of seconds by which to slow down each compilation. The compilations slowed down can be restricted with MethodFilter. This option exists to test the compilation watchdog.
InlineHbooleanEnable inlining.
InlineBeforeAnalysisHbooleanInline methods before static analysis.
InlineBeforeAnalysisAllowedDepthHlong20Maximum number of invokes for method inlined before static analysis.
InlineBeforeAnalysisAllowedInvokesHlong1Maximum number of invokes for method inlined before static analysis.
InlineBeforeAnalysisAllowedNodesHlong1Maximum number of computation nodes for method inlined before static analysis.
InlineDuringParsingHbooleanInlines trivial methods during bytecode parsing.
InlineDuringParsingMaxDepthHlong10Maximum depth when inlining during bytecode parsing.
InlineEverythingHboolean
InlineGraalStubsHbooleanEmbed all the emitted code for Graal-generated stubs.
InlineMegamorphicCallsHbooleanInline calls with megamorphic type profile (i.e., not all types could be recorded).
InlineMonomorphicCallsHbooleanInline calls with monomorphic type profile.
InlinePartialIntrinsicExitDuringParsingHbooleanInlines partial intrinsic exits during bytecode parsing when possible. A partial intrinsic exit is a call within an intrinsic to the method being intrinsified and denotes semantics of the original method that the intrinsic does not support.
InlinePolymorphicCallsHbooleanInline calls with polymorphic type profile.
InlineVTableStubsHboolean
InliningDepthErrorHlong1000Maximum inlining depth during partial evaluation before reporting an infinite recursion.
InspectServerContentPathHstringinspectPath to the contents of the Inspect web server.
InstallExitHandlersHbooleanProvide java.lang.Terminator exit handlers.
InterceptBailoutHbooleanIntercept also bailout exceptions.
InternalSymbolsAreGlobalHbooleanCompatibility option to make symbols used for the image heap global. Using global symbols is problematic for shared libraries because the loader implicitly changes the value when the symbol is already defined in the executable loading the library. Setting this option to true preserves the broken behavior of old Native Image versions.
InternalThreadStackSizeHlong2097152The size of each internal thread stack, in bytes.
IntrinsifyHbooleanUse compiler intrinsifications.
IsolatedLoopHeaderAlignmentHlong32Alignment in bytes for loop header blocks that have no fall through paths.
IterativePeelingLimitHlong2Allow iterative peeling of loops up to this many times (each time the peeling phase runs).
JNIHbooleanEnable Java Native Interface (JNI) support.
JNIConfigurationFilesHstring<string>*Files describing program elements to be made accessible via JNI (for syntax, see ReflectionConfigurationFiles).
JNIConfigurationResourcesHstring<string>*Resources describing program elements to be made accessible via JNI (see JNIConfigurationFiles).
JNIExportSymbolsHbooleanExport Invocation API symbols.
JNIVerboseLookupErrorsHbooleanReport information about known JNI elements when lookup fails.
LIRDynMoveProfileMethodHbooleanEnable dynamic move profiling per method.
LIRInstructionVerifierPathHstringNonePath to jar file containing LIR instruction verifier.
LIROptConstantLoadOptimizationHbooleanEnable constant load optimization.
LIROptControlFlowOptimizerHboolean
LIROptEdgeMoveOptimizerHboolean
LIROptLSRAEliminateSpillMovesHbooleanEnable spill move elimination.
LIROptLSRAOptimizeSpillPositionHbooleanEnable spill position optimization.
LIROptLSStackSlotAllocatorHbooleanUse linear scan stack slot allocation.
LIROptNullCheckOptimizerHboolean
LIROptRedundantMoveEliminationHboolean
LIROptStackMoveOptimizerHboolean
LIROptimizationHbooleanEnable LIR level optimizations.
LIRProfileMethodsHbooleanEnables profiling of methods.
LIRProfileMovesHbooleanEnables profiling of move types on LIR level. Move types are for example stores (register to stack), constant loads (constant to register) or copies (register to register).
LSRAOptSplitOnlyHbooleanLSRA optimization: Only split but do not reassign.
LSRAOptimizationHbooleanEnable LSRA optimization.
LargeArrayThresholdHlong0The size at or above which an array will be allocated in its own unaligned chunk. 0 implies (AlignedHeapChunkSize / 8). Serial and epsilon GC only.
LimitInlinedInvokesHdouble5
LimitObjectArrayLengthHbooleanEnable a limit for the number of objects recorded for each type of a type state before disabling heap sensitivity for that type. The analysis must be heap sensitive.
LinkAtBuildTimeHstring<string>*Require types to be fully defined at image build-time. If used without args, all classes in scope of the option are required to be fully defined.
LinkAtBuildTimePathsHstring<string>*Require all types in given class or module-path entries to be fully defined at image build-time.
LinkerRPathHstring<string>*Path passed to the linker as the -rpath (list of comma-separated directories).
ListCPUFeaturesHbooleanShow CPU features specific to the target platform and exit.
ListMetricsHbooleanLists on the console at VM shutdown the metric names available to the Timers, Counters and MemUseTrackers options. Note that this only lists the metrics that were initialized during the VM execution and so will not include metrics for compiler code that is not executed.
ListModulesHbooleanList observable modules and exit.
LoadExceptionObjectInVMHbooleanUse a VM runtime call to load and clear the exception object from the thread at the start of a compiled exception handler.
LocalizationCompressBundlesHstring<string>*Regular expressions matching which bundles should be compressed.
LocalizationCompressInParallelHbooleanCompress the bundles in parallel.
LocalizationOptimizedModeHbooleanOptimize the resource bundle lookup using a simple map.
LocalizationSubstituteLoadLookupHbooleanStore the resource bundle content more efficiently in the fallback mode.
LogHstringNonePattern for specifying scopes in which logging is enabled. See the Dump option for the pattern syntax.
LogFileHstringNoneFile to which logging is sent. A %p in the name will be replaced with a string identifying the process, usually the process id and %t will be replaced by System.currentTimeMillis(). If the current runtime is in an isolate, then %i will be replaced by '<isolate id>' otherwise %i is removed. An %I is the same as %i except that the replacement is '<isolate id>@<isolate address>'. Using %o as filename sends logging to System.out whereas %e sends logging to System.err.
LogVerboseHbooleanEnable more verbose log output when available.
LoopExitVsLoopEndFrequencyDiffHdouble1000Scaling factor of frequency difference computed based on loop ends or exits.
LoopHeaderAlignmentHlong16Alignment in bytes for loop header blocks.
LoopMaxUnswitchHlong3
LoopPeelingHboolean
LoopPredicationHbooleanHoists array bounds checks out of simple loops. This is ignored if SpeculativeGuardMovement is enabled.
LoopPredicationMainPathHbooleanRestricts LoopPredication to only focus on array bounds checks that dominate the back edge of a loop.
LoopUnswitchHboolean
LoopUnswitchFrequencyBoostHdouble20Number of nodes allowed for a loop unswitching per loop frequency. The number of nodes allowed for the unswitching is proportional to the relative frequency of the loop by this constant.
LoopUnswitchFrequencyMaxFactorHdouble0.95Maximun value for the frequency factor of an invariant.
LoopUnswitchFrequencyMinFactorHdouble0.05Minimum value for the frequency factor of an invariant.
LoopUnswitchMaxIncreaseHlong2000Maximum loop unswitching code size increase in nodes.
LoopUnswitchMinSplitFrequencyHdouble1Lower bound for the minimun frequency of an invariant condition to be unswitched.
LoopUnswitchTrivialHlong20Number of nodes allowed for a loop unswitching regardless of the loop frequency.
MatchExpressionsHbooleanAllow backend to match complex expressions.
MaxCallingContextDepthHlong0The maximum length of the methods context chains.
MaxCallingContextWidthHlong0The maximum number of contexts to record for a method. It only affects the analysis when the max and min calling context depth are different.
MaxCompilationProblemsPerActionHlong2The maximum number of compilation failures to handle with the action specified by CompilationFailureAction before changing to a less verbose action. This does not apply to the ExitVM action.
MaxConstantObjectsPerTypeHlong100The maximum number of constant objects recorded for each type before merging the constants into one unique constant object per type. The analysis must be heap sensitive. It has a minimum value of 1.
MaxDuplicationFactorHdouble2Max amount of extra effort to expend handling irreducible loops. A value < 1 disables support for irreducible loops.
MaxHeapContextDepthHlong0The maximum length of the context used to model a heap object in addition to the allocation site; used only when ContextSensitiveHeap is enabled.
MaxHeapContextWidthHlong0The maximum number of contexts to record for a heap object. It only affects the analysis when the max and min calling context depth are different.
MaxInvokesInTrivialMethodHlong1Maximum number of invokes in a method so that it is considered trivial (for testing only).
MaxNodesInTrivialLeafMethodHlong40Maximum number of nodes in a method so that it is considered trivial, if it does not have any invokes.
MaxNodesInTrivialMethodHlong20Maximum number of nodes in a method so that it is considered trivial.
MaxObjectSetSizeHlong100The maximum number of objects recorded for each type of a type state before disabling heap sensitivity for that type. The analysis must be heap sensitive. It has a minimum value of 1.
MaxReachableTypesHlong-1Maximum number of types allowed in the image. Used for tests where small number of types is necessary.
MaxRuntimeCompileMethodsHstring<string>*Maximum number of methods allowed for runtime compilation.
MaxSurvivorSpacesHstringNoneMaximum number of survivor spaces. Serial GC only.
MaxTemplatesPerSnippetHlong50
MaxUnrolledObjectZeroingStoresHlong8Define the maximum number of stores for which the loop that zeroes out objects is unrolled.
MaxUnswitchSuccessorsHlong64Maximum number of split successors before aborting unswitching.
MaximumDesiredSizeHlong20000Maximum desired size of the compiler graph in nodes.
MaximumEscapeAnalysisArrayLengthHlong128The maximum length of an array that will be escape analyzed.
MaximumInliningSizeHlong300Inlining is explored up to this number of nodes in the graph for each call site.
MaximumLoopExplosionCountHlong10000Max number of loop explosions per method.
MaximumRecursiveInliningHlong5Maximum level of recursive inlining.
MegamorphicInliningMinMethodProbabilityHdouble0.33Minimum probability for methods to be inlined for megamorphic type profiles.
MemUseTrackersHstringNoneComma separated names of memory usage trackers that are enabled irrespective of the value for TrackMemUse option. An empty value enables all memory usage trackers unconditionally.
MethodHstringmainName of the main entry point method. Optional if --shared is used.
MethodFilterHstringNonePattern for matching methods. The syntax for a pattern is:.
MethodFilterRootOnlyHbooleanOnly check MethodFilter against the root method in the context if true, otherwise check all methods.
MethodInlineBailoutLimitHlong5000Per-compilation method inlining exploration limit before giving up (use 0 to disable).
MetricsFileHstringNoneFile to which metrics are dumped per compilation.
MinCallingContextDepthHlong0The minimum length of the methods context chains.
MinHeapContextDepthHlong0The minimum length of the context used to model a heap object in addition to the allocation site; used only when ContextSensitiveHeap is enabled.
MinimalBulkZeroingSizeHlong2048If applicable, use bulk zeroing instructions when the zeroing size in bytes exceeds this threshold.
MinimalGraphNodeSizeCheckSizeHlong1000Minimal size in NodeSize to check the graph size increases of phases.
MinimumPeelFrequencyHdouble0.35
ModuleHstringModule containing the class that contains the main entry point. Optional if --shared is used.
MoveGuardsUpwardsHbooleanMove guard nodes to earlier places in the dominator tree if all successors of basic block share a common guard condition.
MultiThreadedHbooleanEnable support for threads and and thread-local variables (disable for single-threaded implementation).
NDCVHlong0Run level for NoDeadCodeVerifyHandler (0 off, 1 info, 2 verbose, 3 fatal).
NameHstringName of the output file to be generated.
NativeArchitectureHbooleanOverrides CPUFeatures and uses the native architecture, i.e., the architecture of a machine that builds an image. NativeArchitecture takes precedence over CPUFeatures.
NativeLinkerOptionHstring<string>*Pass the provided raw option that will be appended to the linker command to produce the final binary. The possible options are platform specific and passed through without any validation.
NeverInlineHstring<string>*Pattern for disabling inlining of methods during image generation.
NewCAPCacheHbooleanCreate a C Annotation Processor Cache. Will erase any previous cache at that same location.
NodeCountersHbooleanCounts the number of instances of each node class.
NumberOfAnalysisThreadsHlong-1The number of threads to use for analysis during native image generation. The number must be smaller than the NumberOfThreads.
NumberOfThreadsHlong4The maximum number of threads to use concurrently during native image generation.
ObjdumpExecutablesHstringNoneComma separated list of candidate GNU objdump executables. If not specified, disassembling via GNU objdump is disabled. Otherwise, the first existing executable in the list is used.
OmitHotExceptionStacktraceHboolean
OmitInlinedMethodDebugLineInfoHbooleanOmit generation of DebugLineInfo originating from inlined methods.
OptAssumptionsHboolean
OptConvertDeoptsToGuardsHboolean
OptDeoptimizationGroupingHboolean
OptDevirtualizeInvokesOptimisticallyHboolean
OptEarlyReadEliminationHboolean
OptEliminateGuardsHboolean
OptFloatingReadsHboolean
OptImplicitNullChecksHboolean
OptReadEliminationHboolean
OptScheduleOutOfLoopsHboolean
OptStaticFinalFieldFoldingHbooleanOptimize static final fields that get a constant assigned in the class initializer.
OptimizeHlong2Control native-image code optimizations: b - optimize for shortest build time, 0 - no optimizations, 1 - basic optimizations, 2 - aggressive optimizations.
PageSizeHlong0Define PageSize of a machine that runs the image. The default 0 ( same as host machine page size).
ParseOnceHbooleanWhen true, compiler graphs are parsed only once before static analysis. When false, compiler graphs are parsed for static analysis and again for AOT compilation.
ParseRuntimeOptionsHbooleanParse and consume standard options and system properties from the command line arguments when the VM is created.
PartialEscapeAnalysisHboolean
PartialUnrollHboolean
PathHstringNoneDirectory of the image file to be generated.
PeelALotHboolean
PerfDataMemoryMappedFileHbooleanDetermines if the collected performance data should be written to a memory-mapped file so that it can be accessed by external tools.
PlatformInterfaceCompatibilityModeHbooleanEnable the behavior of old GraalVM versions. When enabled, interfaces not available for the current platform are filtered.
PredefinedClassesConfigurationFilesHstring<string>*Files describing predefined classes that can be loaded at runtime.
PredefinedClassesConfigurationResourcesHstring<string>*Resources describing predefined classes that can be loaded at runtime.
PreferUnsignedComparisonHbooleanRewrite signed comparisons to unsigned ones if the result is equal.
PreserveFramePointerHbooleanSaves stack base pointer on the stack on method entry.
PrintAOTCompilationHbooleanPrint logging information during compilation.
PrintAnalysisCallTreeHbooleanPrint analysis call tree, a breadth-first tree reduction of the call graph.
PrintAnalysisCallTreeTypeHstringTXTChange the output format of the analysis call tree, available options are TXT and CSV. See: Reports.md.
PrintAnalysisStatisticsHbooleanPrint analysis results statistics.
PrintBBInfoHbooleanEnables dumping of basic blocks relative PC and frequencies in the dump directory.
PrintBackendCFGHbooleanEnable dumping scheduled HIR, LIR, register allocation and code generation info to the C1Visualizer.
PrintBlockMappingHbooleanEnable dumping CFG built during initial BciBlockMapping.
PrintCallEdgesHbooleanPrint call edges with other analysis results statistics.
PrintCanonicalGraphStringFlavorHlong0Choose format used when dumping canonical text for graphs: 0 gives a scheduled graph (better for spotting changes involving the schedule) while 1 gives a CFG containing expressions rooted at fixed nodes (better for spotting small structure differences).
PrintCanonicalGraphStringsHbooleanEnable dumping canonical text from for graphs.
PrintClassInitializationHbooleanPrints class initialization info for all classes detected by analysis.
PrintCompilationHbooleanPrint an informational line to the console for each completed compilation.
PrintFeaturesHbooleanPrint a list of active features.
PrintFlagsHstringNoneShow available options based on comma-separated option-types (allowed categories: User, Expert, Debug).
PrintFlagsWithExtraHelpHstringNonePrint extra help, if available, based on comma-separated option names. Pass * to show all options that contain extra help.
PrintGraphHstringFileWhere IdealGraphVisualizer graph dumps triggered by Dump or DumpOnError should be written.
PrintGraphFileHbooleanSetting to true sets PrintGraphfile, setting to false sets PrintGraphnetwork.
PrintGraphHostHstring127.0.0.1Host part of the address to which graphs are dumped.
PrintGraphPortHlong4445Port part of the address to which graphs are dumped in binary format.
PrintGraphStateDiffHbooleanPrints the difference in the graph state caused by each phase of the suite.
PrintGraphWithScheduleHbooleanSchedule graphs as they are dumped.
PrintHeapHistogramHbooleanPrint class statistics of native image heap.
PrintIRWithLIRHbooleanPrint HIR along side LIR as the latter is generated.
PrintImageElementSizesHbooleanPrint the sizes of the elements of the built image.
PrintImageHeapPartitionSizesHbooleanPrint the sizes of the native image heap as the image is built.
PrintImageObjectTreeHbooleanPrint image object hierarchy.
PrintJNIMethodsHbooleanPrint JNI methods added to generated image.
PrintLIRWithAssemblyHbooleanInclude the LIR as comments with the final assembly.
PrintMethodHistogramHbooleanPrint statistics of methods in native image heap.
PrintPointsToStatisticsHbooleanReport analysis statistics.
PrintProfilingInformationHbooleanPrint profiling information when parsing a method's bytecode.
PrintRestrictHeapAccessPathHbooleanPrint path for @RestrictHeapAccess warnings.
PrintRestrictHeapAccessWarningsHbooleanPrint warnings for @RestrictHeapAccess annotations.
PrintRuntimeCompileMethodsHbooleanPrint call tree of methods available for runtime compilation.
PrintStaticTruffleBoundariesHbooleanPrint truffle boundaries found during the analysis.
PrintSynchronizedAnalysisHbooleanPrint types used for Java synchronization.
PrintUninterruptibleCalleeDOTGraphHbooleanPrint (to stderr) a DOT graph of the @Uninterruptible annotations.
PrintUniverseHbooleanPrint information about classes, methods, and fields that are present in the native image.
PrintUnmodifiedGraphsHbooleanDump a graph even if it has not changed since it was last dumped. Change detection is based on adding and deleting nodes or changing inputs.
ProfileAllocationsHbooleanEnable profiling of allocation sites.
ProfileAllocationsContextHstringAllocatingMethodControl the naming and granularity of the counters when using ProfileAllocations.
ProfileAnalysisOperationsHbooleanTrack the progress of the static analysis.
ProfileCompiledMethodsHboolean
ProfileConstantObjectsHbooleanTrack the creation of constant objects.
ProfileDeoptimizationHbooleanPrint logging information during object file writing.
ProfileMonitorsHbooleanEnable profiling of monitor operations.
QueryCodeDirHstringDirectory where query code for target platform should be output.
RawConditionalEliminationHboolean
ReadEliminationMaxLoopVisitsHlong5
ReassociateExpressionsHbooleanRe-associate loop invariants and constants.
ReduceDCEHbooleanDisable optional dead code eliminations.
ReflectionConfigurationFilesHstring<string>*One or several (comma-separated) paths to JSON files that specify which program elements should be made available via reflection.
ReflectionConfigurationResourcesHstring<string>*Resources describing program elements to be made available for reflection (see ReflectionConfigurationFiles).
ReflectionPluginTracingHbooleanEnable trace logging for reflection plugins.
RegisterPressureHstringNoneComma separated list of registers that register allocation is limited to.
RelaxTypeFlowStateConstraintsHbooleanAllow a type flow state to contain types not compatible with its declared type.
RemoveNeverExecutedCodeHboolean
RemoveSaturatedTypeFlowsHbooleanEnable the type flow saturation analysis performance optimization.
RemoveUnusedSymbolsHbooleanUse linker option to prevent unreferenced symbols in image.
ReplaceInputsWithConstantsBasedOnStampsHboolean
ReportAnalysisForbiddenTypeHstring<string>*Report error if <typename>[:<UsageKind>{,<UsageKind>}] is discovered during analysis (valid values for UsageKind: InHeap, Allocated, Reachable).
ReportExceptionStackTracesHbooleanShow exception stack traces for exceptions during image building.).
ReportPerformedSubstitutionsHbooleanReport performed substitutions.
ReportUnsafeOffsetWarningsHbooleanPrint unsafe operation offset warnings.).
ReportUnsupportedElementsAtRuntimeHbooleanReport usage of unsupported methods and fields at run time when they are accessed the first time, instead of as an error during image building.
ResourceConfigurationFilesHstring<string>*Files describing Java resources to be included in the image.
ResourceConfigurationResourcesHstring<string>*Resources describing Java resources to be included in the image.
ReturnAfterAnalysisHbooleanReturn after analysis.
RunMainInNewThreadHbooleanInitializes and runs main entry point in a new native thread.
RunReachabilityHandlersConcurrentlyHbooleanRun reachability handlers concurrently during analysis.
RuntimeAssertionsHstring<string>*Enable or disable Java assert statements at run time.
RuntimeCheckedCPUFeaturesHstring<string>*Comma separated list of CPU features that will be enabled for runtime checks. The native image may check at run time if such features are supported by the target CPU, and can optimize certain operations based on this information. If a feature is not supported at run time, a less optimized variant will be executed. Because of the presence of multiple code variants, enabling runtime features can result in larger executables. To completely turn off runtime checked CPU features, set this option to the empty string. The specific options available are target platform dependent. See --list-cpu-features for feature list. The default values are: AMD64: 'AVX,AVX2'; AArch64: ''.
RuntimeSystemAssertionsHbooleanEnable or disable Java system assertions at run time.
ScanObjectsParallelHbooleanObject scanning in parallel.
SerializationConfigurationFilesHstring<string>*One or several (comma-separated) paths to JSON files that specify lists of serialization configurations.
SerializationConfigurationResourcesHstring<string>*Resources describing program elements to be made available for serialization (see SerializationConfigurationFiles).
SerializationDenyConfigurationFilesHstring<string>*One or several (comma-separated) paths to JSON files that specify lists of serialization configurations.
SerializationDenyConfigurationResourcesHstring<string>*Resources describing program elements that must not be made available for serialization.
ServiceLoaderFeatureExcludeServiceProvidersHstring<string>*Comma-separated list of service providers that should be excluded.
ServiceLoaderFeatureExcludeServicesHstring<string>*Comma-separated list of services that should be excluded.
SharedLibraryHbooleanBuild shared library.
ShowConfigurationHstringnoneWrites to the VM log information about the compiler configuration selected.
ShowDumpFilesHbooleanPrint the name of each dump file path as it's created.
ShowSubstitutionSourceInfoHbooleanControls whether the source position information of snippets and method substitutions are exposed to HotSpot. Can be useful when profiling to get more precise position information.
SimpleFastInflatedLockingHbooleanHandle simple cases for inflated monitors in the fast-path.
SmallCompiledLowLevelGraphSizeHlong330If the previous low-level graph size of the method exceeds the threshold, it is not inlined.
SnippetCountersHbooleanEnable counters for various paths in snippets.
SoftRefLRUPolicyMSPerMBHlong1000This number of milliseconds multiplied by the free heap memory in MByte is the time span for which a soft reference will keep its referent alive after its last access. Serial GC only.
SourceLevelDebugHbooleanPreserve the local variable information for every Java source line to allow line-by-line stepping in the debugger. Allow the lookup of Java-level method information, e.g., in stack traces.
SourceLevelDebugFilterHstring<string>*Constrain debug info generation to the comma-separated list of package prefixes given to this option.
SpawnIsolatesHbooleanSupport multiple isolates.
SpectrePHTBarriersHstringNoneSelect a strategy to mitigate speculative bounds check bypass (aka Spectre-PHT or Spectre V1).
SpectrePHTIndexMaskingHbooleanMask indices to scope access to allocation size after bounds check.
SpeculativeGuardMovementHbooleanMove loop invariant guards (e.g., array bounds checks) out of loops.
StackRedZoneSizeHlong8192Size (in bytes) of the red zone reserved at the end of the stack. This stack space can only be used by critical VM code and C code, e.g., to report fatal errors.
StackTraceHbooleanProvide method names for stack traces.
StackYellowZoneSizeHlong32768Size (in bytes) of the yellow zone reserved at the end of the stack. This stack space is reserved for VM use and cannot be used by the application.
StaticExecutableHbooleanBuild statically linked executable (requires static libc and zlib).
StaticExecutableWithDynamicLibCHbooleanBuilds a statically linked executable with libc dynamically linked.
StressExplicitExceptionCodeHbooleanStress the code emitting explicit exception throwing code.
StressInvokeWithExceptionNodeHbooleanStress the code emitting invokes with explicit exception edges.
StressTestEarlyReadsHbooleanStress the code by emitting reads at earliest instead of latest point.
StrictConfigurationHbooleanCauses unknown attributes in configuration objects to abort the image build instead of emitting a warning.
StrictDeoptInsertionChecksHbooleanPerform checks that guards and deopts aren't introduced in graphs that should handle exceptions explicitly.
StrictQueryCodeCompilationHbooleanUse strict checks when performing query code compilation.
StringIndexOfConstantLimitHlong4096String.indexOf invocations will be evaluated at compile time if the receiver is a constant and its length is smaller than this value.
SubstrateVirtualThreadsParallelismHstringNoneFor internal usage. Instead, use the equivalent property 'jdk.virtualThreadScheduler.parallelism' as specified by JEP 425 Virtual Threads (Project Loom).
SupportCompileInIsolatesHbooleanSupport runtime compilation in separate isolates (enable at runtime with option CompileInIsolates).
SupportContinuationsHbooleanSupport continuations (without requiring a Project Loom JDK).
SupportJsrBytecodesHboolean
SupportOSRWithLocksHbooleanSupport OSR compilations with locks. If DeoptAfterOSR is true we can per definition not have unbalanced enter/exits mappings. If DeoptAfterOSR is false insert artificial monitor enters after the OSRStart to have balanced enter/exits in the graph.
SupportPredefinedClassesHbooleanEnable support for predefining additional classes.
SupportRecurringCallbackHbooleanSupport a per-thread timer that is called at a specific interval.
SuppressStderrHbooleanSuppress console error output for unittests.
SuppressStdoutHbooleanSuppress console normal output for unittests.
TargetPlatformHstringSelects native-image compilation target (in <OS>-<architecture> format). Defaults to host's OS-architecture pair.
TempDirectoryHstringDirectory for temporary files generated during native image generation. If this option is specified, the temporary files are not deleted so that you can inspect them after native image generation.
ThrowUnsafeOffsetErrorsHbooleanThrow unsafe operation offset errors.).
TimeHstringNonePattern for specifying scopes in which timing is enabled. See the Dump option for the pattern syntax. An empty value enables all timers unconditionally.
TimedDynamicCountersHlong-1Turn on the benchmark counters, and displays the results every n milliseconds.
TimersHstringNoneComma separated names of timers that are enabled irrespective of the value for Time option. An empty value enables all timers unconditionally.
TraceBytecodeParserLevelHlong0The trace level for the bytecode parser. A value of 1 enables instruction tracing and any greater value emits a frame state trace just prior to each instruction trace.Instruction tracing output from multiple compiler threads will be interleaved so use of this option make most sense for single threaded compilation. The MethodFilter option can be used to refine tracing to selected methods.
TraceClassInitializationHstring<string>*Comma-separated list of fully-qualified class names that class initialization is traced for.
TraceEscapeAnalysisHboolean
TraceExceptionHandlerStubHbooleanTrace execution of stub used to handle an exception thrown by a callee.
TraceInlineDuringParsingHbooleanTraces inlining performed during bytecode parsing.
TraceInliningHbooleanEnable tracing of inlining decisions.
TraceInliningForStubsAndSnippetsHbooleanEnable inlining decision tracing in stubs and snippets.
TraceLIRGeneratorLevelHlong0The trace level for the LIR generator.
TraceLocalizationFeatureHbooleanWhen enabled, localization feature details are printed.
TraceLoggingFeatureHbooleanWhen enabled, logging feature details are printed.
TraceMonitorsMethodFilterHstringNoneTrace monitor operations in methods whose fully qualified name contains this substring.
TraceMonitorsTypeFilterHstringNoneTrace monitor operations on objects whose type contains this substring.
TraceNativeToolUsageHbooleanTrace all native tool invocations as part of image building.
TraceObjectInstantiationHstring<string>*Comma-separated list of fully-qualified class names that object instantiation is traced for.
TraceParserPluginsHbooleanTraces use of plugins during bytecode parsing.
TraceSecurityServicesHbooleanEnable tracing of security services automatic registration.
TraceServiceLoaderFeatureHbooleanWhen enabled, each service loader resource and class will be printed out to standard output.
TraceUnwindStubHbooleanTrace execution of the stub that routes an exception to a handler in the calling frame.
TraceVMOperationsHbooleanTrace VMOperation execution.
TrackAccessChainHbooleanTrack the callers for methods and accessing methods for fields.
TrackInputFlowsHbooleanTrack the input for type flows.
TrackMemUseHstringNonePattern for specifying scopes in which memory use tracking is enabled. See the Dump option for the pattern syntax. An empty value enables all memory use trackers unconditionally.
TrackNodeInsertionHbooleanTrack source stack trace where a node was inserted into the graph.
TrackNodeSourcePositionHbooleanTrack the NodeSourcePosition.
TreatRuntimeCodeInfoReferencesAsWeakHbooleanDetermines if references from runtime-compiled code to Java heap objects should be treated as strong or weak.
TrivialInliningSizeHlong10Graphs with less than this number of nodes are trivial and therefore always inlined.
TruffleCheckBlackListedMethodsHbooleanFail if a method known as not suitable for partial evaluation is reachable for runtime compilation.
TruffleCheckBlockListMethodsHbooleanFail if a method known as not suitable for partial evaluation is reachable for runtime compilation.
TruffleCheckFrameImplementationHbooleanEnforce that the Truffle runtime provides the only implementation of Frame.
TruffleCheckNeverPartOfCompilationHbooleanCheck that CompilerAsserts.neverPartOfCompilation is not reachable for runtime compilation.
TruffleCompilerConfigurationHstringNoneSelect a compiler configuration for Truffle compilation (default: use Graal system compiler configuration).
TruffleHostInliningHbooleanWhether Truffle host inlining is enabled.
TruffleHostInliningBaseBudgetHlong5000Maximum budget for Truffle host inlining for runtime compiled methods.
TruffleHostInliningByteCodeInterpreterBudgetHlong100000Maximum budget for Truffle host inlining for runtime compiled methods with a BytecodeInterpreterSwitch annotation.
TruffleHostInliningMaxExplorationDepthHlong1000Determines the maximum call depth for exploration during host inlining.
TruffleHostInliningMaxSubtreeInvokesHlong20Maximum number of subtree invokes for a subtree to get inlined until it is considered too complex.
TruffleHostInliningPrintExploredHbooleanWhen logging is activated for this phase enables printing of only explored, but ultimately not inlined call trees.
TruffleInlineDuringParsingHbooleanInline trivial methods in Truffle graphs during native image generation.
TruffleMultiThreadedHbooleanEnable support for Truffle background compilation.
TrufflePropagateCompilationErrorsHbooleanPropagate Truffle compilation errors.
TrustFinalDefaultFieldsHbooleanDetermines whether to treat final fields with default values as constant.
TypeCheckMaxHintsHlong2The maximum number of profiled types that will be used when compiling a profiled type check. Note that TypeCheckMinProfileHitProbability also influences whether profiling info is used in compiled type checks.
TypeCheckMinProfileHitProbabilityHdouble0.5If the probability that a type check will hit one the profiled types (up to TypeCheckMaxHints) is below this value, the type check will be compiled without profiling info.
TypeFlowSaturationCutoffHlong20The maximum number of types recorded in a type flow. -1 indicates no limitation.
UnresolvedIsErrorHbooleanReport unresolved elements as errors.
UnrollMaxIterationsHlong16
UnsafeAutomaticSubstitutionsLogLevelHlong1Unsafe automatic substitutions logging level: Disabled0, Basic1, Info2, Debug3.).
UnsafeOffsetWarningsAreFatalHbooleanPrint unsafe operation offset warnings.).
UseApplicationCodeSourceLocationHbooleanReturn the application path as the Class.getProtectionDomain().getCodeSource().getLocation() for all classes that have no explicit ProtectionDomain.
UseBranchesWithin32ByteBoundaryHbooleanForce branch instructions to align with 32-bytes boundary, to mitigate the jcc erratum. See https://www.intel.com/content/dam/support/us/en/documents/processors/mitigations-jump-conditional-code-erratum.pdf for more details. If not set explicitly, the default value will be determined according to the CPU model.
UseCAPCacheHbooleanIndicate the C Annotation Processor to use previously cached native information when generating C Type information.
UseCalleeSavedRegistersHbooleanUse callee saved registers to reduce spilling for low-frequency calls to stubs (if callee saved registers are supported by the architecture).
UseCompilationStatisticsHbooleanEnables CompilationStatistics.
UseCompressedFrameEncodingsHbooleanUse compressed frame encoding for frames without local values.
UseContainerCpuSharesHbooleanInclude CPU shares in the CPU availability calculation.
UseContainerSupportHbooleanEnable detection and runtime container configuration support.
UseDedicatedVMOperationThreadHbooleanDetermines if VM operations should be executed in a dedicated thread.
UseDirectCallTrampolinesALotHbooleanForce many trampolines to be needed for inter-method calls. Normally trampolines are only used when a method destination is outside the range of a pc-relative branch instruction.
UseEpsilonGCHbooleanUse a no-op GC.
UseExceptionProbabilityHboolean
UseExperimentalReachabilityAnalysisHbooleanUse experimental Reachability Analysis instead of points-to.
UseLibCHstringNoneSelects the libc implementation to use. Available implementations: glibc, musl, bionic.
UseLoopEndFrequenciesHbooleanDerive loop frequencies only from backedge frequencies instead of from loop exit frequencies.
UseLoopLimitChecksHboolean
UseNewExperimentalClassInitializationHbooleanUse new class initialization strategy that allows all classes to be used at image build time.
UseNullRegionHbooleanDetermines if a null region is present between the heap base and the image heap.
UseReachabilityMethodSummariesHbooleanUse method summaries for Reachability Analysis.
UseRememberedSetHbooleanDetermines if a remembered sets is used, which is necessary for collecting the young and old generation independently.
UseSerialGCHbooleanUse a serial GC.
UseServiceLoaderFeatureHbooleanAutomatically register services for run-time lookup using ServiceLoader.
UseSnippetGraphCacheHbooleanUse a cache for snippet graphs.
UseSnippetTemplateCacheHbooleanUse a LRU cache for snippet templates.
UseTrappingNullChecksHbooleanUse traps for null checks instead of explicit null-checks.
UseTypeCheckHintsHboolean
UsedEdenProportionThresholdHdouble0.75Ratio of used bytes to total allocated bytes for eden space. Setting it to a smaller value will trade more triggered hinted GCs for less resident set size.
VerifyHstringNonePattern for specifying scopes in which logging is enabled. See the Dump option for the pattern syntax.
VerifyBalancedMonitorsHbooleanEmit extra code to dynamically check monitor operations are balanced.
VerifyDeoptimizationEntryPointsHbooleanVerify that all possible deoptimization entry points have been properly compiled and registered in the metadata.
VerifyGraalGraphEdgesHbooleanPerform expensive verification of graph inputs, usages, successors and predecessors.
VerifyGraalGraphsHbooleanVerify graphs often during compilation when assertions are turned on.
VerifyGraalPhasesSizeHbooleanVerify before - after relation of the relative, computed, code size of a graph.
VerifyHeapHbooleanVerify the heap before and after each collection.
VerifyHeapAtReturnHbooleanPerform platform dependent validation of the Java heap at returns.
VerifyKillCFGUnusedNodesHbooleanVerify that there are no new unused nodes when performing killCFG.
VerifyNamingConventionsHbooleanVerify naming conventions during image construction.
VerifyPhasePlanHbooleanVerifies that the phase plan respects the phase ordering constraints.
VerifyPhasesHboolean
VerifyReferencesHbooleanVerify all object references if VerifyHeap is enabled. Serial GC only.
VerifyRememberedSetHbooleanVerify the remembered set if VerifyHeap is enabled. Serial GC only.
VerifyTypesHbooleanVerify type states computed by the static analysis at run time. This is useful when diagnosing problems in the static analysis, but reduces peak performance significantly.
VerifyWriteBarriersHbooleanVerify write barriers. Serial GC only.
WarnMissingIntrinsicHbooleanPrint a warning when a missing intrinsic is seen.
ZapChunksHbooleanFill unused memory chunks with a sentinel value. Serial and epsilon GC only.
ZapConsumedHeapChunksHbooleanAfter use, Fill memory chunks with a sentinel value. Serial and epsilon GC only.
ZapProducedHeapChunksHbooleanBefore use, fill memory chunks with a sentinel value. Serial and epsilon GC only.
ZapStackOnMethodEntryHboolean
ASMInstructionProfilingRstringNoneEnables instruction profiling on assembler level. Valid values are a comma separated list of supported instructions. Compare with subclasses of Assembler.InstructionCounter.
AbortOnBenchmarkCounterOverflowRbooleanAbort VM with SIGILL if benchmark counters controlled by the (Generic|Timed|Benchmark)DynamicCounters.
ActiveProcessorCountRlong-1Overwrites the available number of processors provided by the OS. Any value < 0 means using the processor count from the OS.
AggregatedMetricsFileRstringNoneFile to which aggregated metrics are dumped at shutdown. A CSV format is used if the file ends with .csv otherwise a more human readable format is used. If not specified, metrics are dumped to the console.
AliasArrayTypeFlowsRbooleanModel all array type flows using a unique elements type flow abstraction.
AllocationProfilingThresholdRlong1048576The minimum size in bytes required for printing an allocation profiling entry.
AllocationSiteSensitiveHeapRbooleanA context sensitive heap means that each heap allocated object is modeled by using at least the allocation site.
AlwaysInlineIntrinsicsRbooleanUnconditionally inline intrinsics.
AlwaysInlineVTableStubsRboolean
AnalysisContextSensitivityRstringinsensControls the static analysis context sensitivity. Available values: insens (context insensitive analysis), allocsens (context insensitive analysis, context insensitive heap, allocation site sensitive heap), _1obj (1 object sensitive analysis with a context insensitive heap), _2obj1h (2 object sensitive with a 1 context sensitive heap).
AnalysisSizeCutoffRlong8The maximum size of type and method profiles returned by the static analysis. -1 indicates no limitation.
AnalysisStatisticsFileRstringNoneAnalysis results statistics file.
ArrayRegionEqualsConstantLimitRlong4096Array region equality checks will be evaluated at compile time if the receiver is a constant and its length is smaller than this value.
AutomaticReferenceHandlingRbooleanDetermines if the reference handling is executed automatically or manually.
BenchmarkCounterPrintingCutoffRbooleanUse a cutoff to print only most significant counters.
BenchmarkCountersDumpDynamicRbooleanDump dynamic counters.
BenchmarkCountersDumpStaticRbooleanDump static counters.
BenchmarkCountersFileRstringNoneFile to which benchmark counters are dumped. A CSV format is used if the file ends with .csv otherwise a more human readable format is used. The fields in the CSV format are: category, group, name, value.
BenchmarkDynamicCountersRstringNoneTurn on the benchmark counters. The format of this option is:.
BootstrapInitializeOnlyRbooleanDo not compile anything on bootstrap but just initialize the compiler.
BootstrapTimeoutRdouble15Maximum time in minutes to spend bootstrapping (0 to disable this limit).
BootstrapWatchDogCriticalRateRatioRdouble0.25Ratio of the maximum compilation rate below which the bootstrap compilation rate must not fall (0 or less disables monitoring).
CanOmitFrameRboolean
CanonicalGraphStringsCheckConstantsRbooleanExclude virtual nodes when dumping canonical text for graphs.
CanonicalGraphStringsExcludeVirtualsRbooleanExclude virtual nodes when dumping canonical text for graphs.
CanonicalGraphStringsRemoveIdentitiesRbooleanAttempts to remove object identity hashes when dumping canonical text for graphs.
ClearMetricsAfterBootstrapRbooleanClear the debug metrics after bootstrap.
CollectImageBuildStatisticsRbooleanCollect information during image build about devirtualized invokes and bytecode exceptions.
CollectYoungGenerationSeparatelyRbooleanDetermines if a full GC collects the young generation separately or together with the old generation. Serial GC only.
CompilationBailoutAsFailureRbooleanTreat compilation bailouts like compilation failures.
CompilationCountLimitRlong0The number of compilations allowed for any method before the VM exits (a value of 0 means there is no limit).
CompilationExcludePhasesRstringNoneExclude certain phases from compilation, either unconditionally or with a method filter. Multiple exclusions can be specified separated by ':'. Phase names are matched as substrings, e.g.: CompilationExcludePhasesPartialEscape:LoopA.*,B.foo excludes PartialEscapePhase from all compilations and any phase containing 'Loop' in its name from compilations of all methods in class A and of method B.foo.
CompilationExpirationPeriodRlong300Time limit in seconds before a compilation expires (0 to disable the limit). A non-zero value for this option is doubled if assertions are enabled and quadrupled if DetailedAsserts is true.
CompilationFailureActionRstringSilentSpecifies the action to take when compilation fails.
CompilationIsolateAddressSpaceSizeRlong0Size of the reserved address space of each compilation isolate (0: default for new isolates).
CompilationWatchDogStartDelayRlong0Delay in seconds before watch dog monitors a compilation (0 disables monitoring).
CompilationWatchDogVMExitDelayRlong0Number of seconds after which a compilation appearing to make no progress causes the VM to exit (0 disables VM exiting).
CompileGraalWithC1OnlyRbooleanIn tiered mode compile Graal and JVMCI using optimized first tier code.
CompileInIsolatesRbooleanActivate runtime compilation in separate isolates (enable support during image build with option SupportCompileInIsolates).
CompilerConfigurationRstringNoneNames the compiler configuration to use. If omitted, the compiler configuration with the highest auto-selection priority is used. To see the set of available configurations, supply the value 'help' to this option.
ConditionalEliminationRboolean
ConditionalEliminationMaxIterationsRlong4
ConstantFoldSamplingCodeStartIdRbooleanUse the option to avoid the initial value of the enterSamplingCodeMethodId constant folding. The value of this option must never be set to true in order to keep the correct information in the variable.
CountRstringNonePattern for specifying scopes in which counters are enabled. See the Dump option for the pattern syntax. An empty value enables all counters unconditionally.
CountersRstringNoneComma separated names of counters that are enabled irrespective of the value for Count option. An empty value enables all counters unconditionally.
CrashAtRstringNonePattern for method(s) that will trigger an exception when compiled. This option exists to test handling compilation crashes gracefully. See the MethodFilter option for the pattern syntax. A ':Bailout' suffix will raise a bailout exception and a ':PermanentBailout' suffix will raise a permanent bailout exception.
DebugStubsAndSnippetsRbooleanEnable debug output for stub code generation and snippet preparation.
DefaultLoopFrequencyRdouble100Default frequency for loops with unknown local frequency.
DefaultUnswitchFactorRdouble0.7Default unswitching factor for control split node with unkown profile data.
DeoptALotRboolean
DeoptAfterOSRRbooleanDeoptimize OSR compiled code when the OSR entry loop is finished if there is no mature profile available for the rest of the method.
DeoptsToDisableOptimisticOptimizationRlong40
DetailedAssertsRbooleanEnable expensive assertions if normal assertions (i.e. -ea or -esa) are enabled.
DiagnoseDumpLevelRlong3Specify the dump level if CompilationFailureAction#Diagnose is used.See CompilationFailureAction for details. file:doc-files/CompilationFailureActionHelp.txt.
DiagnosticDetailsRstringSpecifies how many details are printed for certain diagnostic thunks, e.g.: 'DumpThreads:1,DumpRegisters:2'. A value of 1 will result in the maximum amount of information, higher values will print less information. By default, the most detailed output is enabled for all diagnostic thunks. Wildcards (*) are supported in the name of the diagnostic thunk.
DisableExplicitGCRbooleanIgnore calls to System.gc().
DisableInterceptRbooleanDisable intercepting exceptions in debug scopes.
DisableIntrinsicsRstringNoneDisable intrinsics matching the given method filter (see MethodFilter option for details). For example, 'DisableIntrinsicsString.equals' disables intrinsics for any method named 'equals' in a class whose simple name is 'String'. You can append ':verbose' at the end of the filter value to print out disabled intrinsics as they are encountered during compilation (e.g., 'String.equals:verbose').
DivertParameterReturningMethodRbooleanAnalysis: Detect methods that return one of their parameters and hardwire the parameter straight to the return.
DumpRstringNoneFilter pattern for specifying scopes in which dumping is enabled.
DumpAfterEveryBCIRbooleanDump the current graph after every bci to IGV.
DumpEndVersusExitLoopFrequenciesRbooleanDebug flag to dump loop frequency differences computed based on loop end or exit nodes.If the frequencies diverge a lot, this may indicate missing profiles on control flowinside the loop body.
DumpHeapAndExitRbooleanCreate a heap dump and exit.
DumpOnErrorRbooleanSend compiler IR to dump handlers on error.
DumpOnPhaseChangeRstringNoneDump a before and after graph if the named phase changes the graph.%nThe argument is substring matched against the simple name of the phase class.
DumpPathRstringgraal_dumpsThe directory where various Graal dump files are written.
DumpingErrorsAreFatalRbooleanTreat any exceptions during dumping as fatal.
DynamicCountersPrintGroupSeparatorRbooleanUse grouping separators for number printing.
EagerSnippetsRbooleanEagerly construct extra snippet info.
EarlyCodeEmissionOrderRbooleanEnable early code emission order computation instead of late code emission order computation.
EarlyGVNRbooleanPerform early global value numbering.
EarlyLICMRbooleanPerform early loop invariant code motion.
EmitStringSubstitutionsRbooleanEmit substitutions for String methods.
EnableSignalHandlingRbooleanEnables signal handling.
EscapeAnalysisIterationsRlong2
EscapeAnalysisLoopCutoffRlong20
EscapeAnalyzeOnlyRstringNone
ExactFullUnrollMaxNodesRlong800
ExactPartialUnrollMaxNodesRlong200
ExhaustiveHeapScanRbooleanScan all objects reachable from roots for analysis. By default false.
ExitOnOutOfMemoryErrorRbooleanExit on the first occurrence of an out-of-memory error that is thrown because the Java heap is out of memory.
ExitVMOnExceptionRbooleanAlias for CompilationFailureActionExitVM.
ExtendedAssertsRbooleanEnable extended asserts which slow down analysis.
FailedLoopExplosionIsFatalRbooleanDo not bail out but throw an exception on failed loop explosion.
FallbackExecutorRuntimeJavaArgRstring<string>*Internal option used to specify runtime java arguments for FallbackExecutor.
FlightRecorderRbooleanEnable Java Flight Recorder.
FlightRecorderLoggingRstringallwarningUsage: -XX:FlightRecorderLogging[tag1[+tag2...][*][level][,...]].
FloatingDivNodesRbooleanTry to float non-constant division operations to expose global value numbering of divisions.
ForceAdversarialLayoutRbooleanPlace N-byte constants in the data section such that they are misaligned with respect to N*2. For example, place 4 byte constants at offset 4, 12 or 20, etc. This layout is used to detect instructions that load constants with alignment smaller than the fetch size. For instance, an XORPS instruction that does a 16-byte fetch of a 4-byte float not aligned to 16 bytes will cause a segfault.
ForceDumpGraphsBeforeCompilationRbooleanForce-dump graphs before compilation.
ForceExplicitReachabilityFenceRbooleanForce an explicit compiler node for Reference.reachabilityFence, instead of relying on FrameState liveness.
FullUnrollRboolean
FullUnrollCodeSizeBudgetFactorForLargeGraphsRdouble2Maximum factor by which full unrolling can increase code size for large graphs. The FullUnrollSmallGraphThreshold option determines which graphs are small.
FullUnrollCodeSizeBudgetFactorForSmallGraphsRdouble10Maximum factor by which full unrolling can increase code size for small graphs. The FullUnrollSmallGraphThreshold option determines which graphs are small.
FullUnrollConstantCompareBoostRlong15
FullUnrollMaxApplicationRlong60
FullUnrollMaxIterationsRlong600
FullUnrollMaxNodesRlong400
FullUnrollSmallGraphThresholdRlong1000The threshold in terms of NodeSize for a graph to be considered small for the purpose of full unrolling. Applied in conjunction with the FullUnrollCodeSizeBudgetFactorForSmallGraphs and FullUnrollCodeSizeBudgetFactorForLargeGraphs options.
GCDebugStartCycleRlong-1Start tracing compiled GC barriers after N garbage collections (disabled if N < 0).
GenLoopSafepointsRboolean
GenericDynamicCountersRbooleanTurn on the benchmark counters, and displays the results on VM shutdown.
GraalArithmeticStubsRbooleanUse Graal arithmetic stubs instead of HotSpot stubs where possible.
GraalCompileOnlyRstringNoneA filter applied to a method the VM has selected for compilation by Graal. A method not matching the filter is redirected to a lower tier compiler. The filter format is the same as for the MethodFilter option.
GraphCompressionThresholdRlong70Graal graph compression is performed when percent of live nodes falls below this value.
GuardPrioritiesRboolean
HeapVerifierVerbosityRlong0Control heap verifier verbosity level: 0 - quiet, 1 - info, 2 - warning, 3 - all.
HotSpotDeoptExplicitExceptionsRbooleanTesting only option that forces deopts for exception throws.
HotSpotPostOnExceptionsRbooleanTesting only option that forces deopts for exception throws.
HotSpotPrintInliningRbooleanPrint inlining optimizations.
HybridStaticContextRbooleanEnable hybrid context for static methods, i.e. uses invocation site as context for static methods.
ImageBuildStatisticsFileRstringNoneFile for printing image build statistics.
ImageObjectTreeExpandRootsRstringOverride the default suppression of specified roots. See: Reports.md.
ImageObjectTreeExpandTypesRstringOverride the default suppression of specified types. See: Reports.md.
ImageObjectTreeSuppressRootsRstringSuppress the expansion of specified roots. See: Reports.md.
ImageObjectTreeSuppressTypesRstringSuppress the expansion of specified types. See: Reports.md.
InjectedCompilationDelayRlong0The number of seconds by which to slow down each compilation. The compilations slowed down can be restricted with MethodFilter. This option exists to test the compilation watchdog.
InlineRbooleanEnable inlining.
InlineBeforeAnalysisRbooleanInline methods before static analysis.
InlineDuringParsingRbooleanInlines trivial methods during bytecode parsing.
InlineDuringParsingMaxDepthRlong10Maximum depth when inlining during bytecode parsing.
InlineEverythingRboolean
InlineGraalStubsRbooleanEmbed all the emitted code for Graal-generated stubs.
InlineMegamorphicCallsRbooleanInline calls with megamorphic type profile (i.e., not all types could be recorded).
InlineMonomorphicCallsRbooleanInline calls with monomorphic type profile.
InlinePartialIntrinsicExitDuringParsingRbooleanInlines partial intrinsic exits during bytecode parsing when possible. A partial intrinsic exit is a call within an intrinsic to the method being intrinsified and denotes semantics of the original method that the intrinsic does not support.
InlinePolymorphicCallsRbooleanInline calls with polymorphic type profile.
InlineVTableStubsRboolean
InliningDepthErrorRlong1000Maximum inlining depth during partial evaluation before reporting an infinite recursion.
InspectServerContentPathRstringinspectPath to the contents of the Inspect web server.
InstallSegfaultHandlerRbooleanInstall segfault handler that prints register contents and full Java stacktrace.
InterceptBailoutRbooleanIntercept also bailout exceptions.
IntrinsifyRbooleanUse compiler intrinsifications.
IsolatedLoopHeaderAlignmentRlong32Alignment in bytes for loop header blocks that have no fall through paths.
IterativePeelingLimitRlong2Allow iterative peeling of loops up to this many times (each time the peeling phase runs).
LIRDynMoveProfileMethodRbooleanEnable dynamic move profiling per method.
LIRInstructionVerifierPathRstringNonePath to jar file containing LIR instruction verifier.
LIROptConstantLoadOptimizationRbooleanEnable constant load optimization.
LIROptControlFlowOptimizerRboolean
LIROptEdgeMoveOptimizerRboolean
LIROptLSRAEliminateSpillMovesRbooleanEnable spill move elimination.
LIROptLSRAOptimizeSpillPositionRbooleanEnable spill position optimization.
LIROptLSStackSlotAllocatorRbooleanUse linear scan stack slot allocation.
LIROptNullCheckOptimizerRboolean
LIROptRedundantMoveEliminationRboolean
LIROptStackMoveOptimizerRboolean
LIROptimizationRbooleanEnable LIR level optimizations.
LIRProfileMethodsRbooleanEnables profiling of methods.
LIRProfileMovesRbooleanEnables profiling of move types on LIR level. Move types are for example stores (register to stack), constant loads (constant to register) or copies (register to register).
LSRAOptSplitOnlyRbooleanLSRA optimization: Only split but do not reassign.
LSRAOptimizationRbooleanEnable LSRA optimization.
LimitInlinedInvokesRdouble5
LimitObjectArrayLengthRbooleanEnable a limit for the number of objects recorded for each type of a type state before disabling heap sensitivity for that type. The analysis must be heap sensitive.
ListMetricsRbooleanLists on the console at VM shutdown the metric names available to the Timers, Counters and MemUseTrackers options. Note that this only lists the metrics that were initialized during the VM execution and so will not include metrics for compiler code that is not executed.
LoadExceptionObjectInVMRbooleanUse a VM runtime call to load and clear the exception object from the thread at the start of a compiled exception handler.
LogRstringNonePattern for specifying scopes in which logging is enabled. See the Dump option for the pattern syntax.
LogFileRstringNoneFile to which logging is sent. A %p in the name will be replaced with a string identifying the process, usually the process id and %t will be replaced by System.currentTimeMillis(). If the current runtime is in an isolate, then %i will be replaced by '<isolate id>' otherwise %i is removed. An %I is the same as %i except that the replacement is '<isolate id>@<isolate address>'. Using %o as filename sends logging to System.out whereas %e sends logging to System.err.
LogVerboseRbooleanEnable more verbose log output when available.
LoopExitVsLoopEndFrequencyDiffRdouble1000Scaling factor of frequency difference computed based on loop ends or exits.
LoopHeaderAlignmentRlong16Alignment in bytes for loop header blocks.
LoopMaxUnswitchRlong3
LoopOnFatalErrorRbooleanExecute an endless loop before printing diagnostics for a fatal error.
LoopPeelingRboolean
LoopPredicationRbooleanHoists array bounds checks out of simple loops. This is ignored if SpeculativeGuardMovement is enabled.
LoopPredicationMainPathRbooleanRestricts LoopPredication to only focus on array bounds checks that dominate the back edge of a loop.
LoopUnswitchRboolean
LoopUnswitchFrequencyBoostRdouble20Number of nodes allowed for a loop unswitching per loop frequency. The number of nodes allowed for the unswitching is proportional to the relative frequency of the loop by this constant.
LoopUnswitchFrequencyMaxFactorRdouble0.95Maximun value for the frequency factor of an invariant.
LoopUnswitchFrequencyMinFactorRdouble0.05Minimum value for the frequency factor of an invariant.
LoopUnswitchMaxIncreaseRlong2000Maximum loop unswitching code size increase in nodes.
LoopUnswitchMinSplitFrequencyRdouble1Lower bound for the minimun frequency of an invariant condition to be unswitched.
LoopUnswitchTrivialRlong20Number of nodes allowed for a loop unswitching regardless of the loop frequency.
MatchExpressionsRbooleanAllow backend to match complex expressions.
MaxCallingContextDepthRlong0The maximum length of the methods context chains.
MaxCallingContextWidthRlong0The maximum number of contexts to record for a method. It only affects the analysis when the max and min calling context depth are different.
MaxCompilationProblemsPerActionRlong2The maximum number of compilation failures to handle with the action specified by CompilationFailureAction before changing to a less verbose action. This does not apply to the ExitVM action.
MaxConstantObjectsPerTypeRlong100The maximum number of constant objects recorded for each type before merging the constants into one unique constant object per type. The analysis must be heap sensitive. It has a minimum value of 1.
MaxDirectMemorySizeRlong0Maximum total size of NIO direct-buffer allocations.
MaxDuplicationFactorRdouble2Max amount of extra effort to expend handling irreducible loops. A value < 1 disables support for irreducible loops.
MaxHeapContextDepthRlong0The maximum length of the context used to model a heap object in addition to the allocation site; used only when ContextSensitiveHeap is enabled.
MaxHeapContextWidthRlong0The maximum number of contexts to record for a heap object. It only affects the analysis when the max and min calling context depth are different.
MaxHeapFreeRlong0The maximum free bytes reserved for allocations, in bytes (0 for automatic according to GC policy). Serial GC only.
MaxHeapSizeRlong0The maximum heap size at run-time, in bytes.
MaxJavaStackTraceDepthRlong1024The maximum number of lines in the stack trace for Java exceptions (0 means all).
MaxNewSizeRlong0The maximum size of the young generation at run-time, in bytes.
MaxObjectSetSizeRlong100The maximum number of objects recorded for each type of a type state before disabling heap sensitivity for that type. The analysis must be heap sensitive. It has a minimum value of 1.
MaxTemplatesPerSnippetRlong50
MaxUnswitchSuccessorsRlong64Maximum number of split successors before aborting unswitching.
MaximumDesiredSizeRlong20000Maximum desired size of the compiler graph in nodes.
MaximumEscapeAnalysisArrayLengthRlong128The maximum length of an array that will be escape analyzed.
MaximumHeapSizePercentRlong80The maximum heap size as percent of physical memory. Serial and epsilon GC only.
MaximumInliningSizeRlong300Inlining is explored up to this number of nodes in the graph for each call site.
MaximumLoopExplosionCountRlong10000Max number of loop explosions per method.
MaximumRecursiveInliningRlong5Maximum level of recursive inlining.
MaximumYoungGenerationSizePercentRlong10The maximum size of the young generation as a percentage of the maximum heap size. Serial and epsilon GC only.
MegamorphicInliningMinMethodProbabilityRdouble0.33Minimum probability for methods to be inlined for megamorphic type profiles.
MemUseTrackersRstringNoneComma separated names of memory usage trackers that are enabled irrespective of the value for TrackMemUse option. An empty value enables all memory usage trackers unconditionally.
MethodFilterRstringNonePattern for matching methods. The syntax for a pattern is:.
MethodFilterRootOnlyRbooleanOnly check MethodFilter against the root method in the context if true, otherwise check all methods.
MethodInlineBailoutLimitRlong5000Per-compilation method inlining exploration limit before giving up (use 0 to disable).
MetricsFileRstringNoneFile to which metrics are dumped per compilation.
MinCallingContextDepthRlong0The minimum length of the methods context chains.
MinHeapContextDepthRlong0The minimum length of the context used to model a heap object in addition to the allocation site; used only when ContextSensitiveHeap is enabled.
MinHeapSizeRlong0The minimum heap size at run-time, in bytes.
MinimalBulkZeroingSizeRlong2048If applicable, use bulk zeroing instructions when the zeroing size in bytes exceeds this threshold.
MinimalGraphNodeSizeCheckSizeRlong1000Minimal size in NodeSize to check the graph size increases of phases.
MinimumPeelFrequencyRdouble0.35
MoveGuardsUpwardsRbooleanMove guard nodes to earlier places in the dominator tree if all successors of basic block share a common guard condition.
NDCVRlong0Run level for NoDeadCodeVerifyHandler (0 off, 1 info, 2 verbose, 3 fatal).
NodeCountersRbooleanCounts the number of instances of each node class.
ObjdumpExecutablesRstringNoneComma separated list of candidate GNU objdump executables. If not specified, disassembling via GNU objdump is disabled. Otherwise, the first existing executable in the list is used.
OmitHotExceptionStacktraceRboolean
OptAssumptionsRboolean
OptConvertDeoptsToGuardsRboolean
OptDeoptimizationGroupingRboolean
OptDevirtualizeInvokesOptimisticallyRboolean
OptEarlyReadEliminationRboolean
OptEliminateGuardsRboolean
OptFloatingReadsRboolean
OptImplicitNullChecksRboolean
OptReadEliminationRboolean
OptScheduleOutOfLoopsRboolean
PartialEscapeAnalysisRboolean
PartialUnrollRboolean
PeelALotRboolean
PercentTimeInIncrementalCollectionRlong50Percentage of total collection time that should be spent on young generation collections. Serial GC with collection policy 'BySpaceAndTime' only.
PerfDataMemorySizeRlong32768Size of performance data memory region. Will be rounded up to a multiple of the native os page size.
PerfDataSamplingIntervalRlong200Jvmstat instrumentation sampling interval (in milliseconds).
PerfMaxStringConstLengthRlong1024Maximum PerfStringConstant string length before truncation.
PreferContainerQuotaForCPUCountRbooleanCalculate the container CPU availability based on the value of quotas (if set), when true. Otherwise, use the CPU shares value, provided it is less than quota.
PreferUnsignedComparisonRbooleanRewrite signed comparisons to unsigned ones if the result is equal.
PrintAnalysisCallTreeRbooleanPrint analysis call tree, a breadth-first tree reduction of the call graph.
PrintAnalysisCallTreeTypeRstringTXTChange the output format of the analysis call tree, available options are TXT and CSV. See: Reports.md.
PrintAnalysisStatisticsRbooleanPrint analysis results statistics.
PrintBBInfoRbooleanEnables dumping of basic blocks relative PC and frequencies in the dump directory.
PrintBackendCFGRbooleanEnable dumping scheduled HIR, LIR, register allocation and code generation info to the C1Visualizer.
PrintBlockMappingRbooleanEnable dumping CFG built during initial BciBlockMapping.
PrintCallEdgesRbooleanPrint call edges with other analysis results statistics.
PrintCanonicalGraphStringFlavorRlong0Choose format used when dumping canonical text for graphs: 0 gives a scheduled graph (better for spotting changes involving the schedule) while 1 gives a CFG containing expressions rooted at fixed nodes (better for spotting small structure differences).
PrintCanonicalGraphStringsRbooleanEnable dumping canonical text from for graphs.
PrintCompilationRbooleanPrint an informational line to the console for each completed compilation.
PrintDetailedAllocationProfilingRbooleanPrint detailed information for each allocation site.
PrintFlagsRstringNoneShow available options based on comma-separated option-types (allowed categories: User, Expert, Debug).
PrintFlagsWithExtraHelpRstringNonePrint extra help, if available, based on comma-separated option names. Pass * to show all options that contain extra help.
PrintGCRbooleanPrint summary GC information after each collection.
PrintGCSummaryRbooleanPrint summary GC information after application main method returns. Serial GC only.
PrintGCTimeStampsRbooleanPrint a time stamp at each collection, if +PrintGC or +VerboseGC. Serial GC only.
PrintGCTimesRbooleanPrint the time for each of the phases of each collection, if +VerboseGC. Serial GC only.
PrintGraphRstringFileWhere IdealGraphVisualizer graph dumps triggered by Dump or DumpOnError should be written.
PrintGraphFileRbooleanSetting to true sets PrintGraphfile, setting to false sets PrintGraphnetwork.
PrintGraphHostRstring127.0.0.1Host part of the address to which graphs are dumped.
PrintGraphPortRlong4445Port part of the address to which graphs are dumped in binary format.
PrintGraphStateDiffRbooleanPrints the difference in the graph state caused by each phase of the suite.
PrintGraphWithScheduleRbooleanSchedule graphs as they are dumped.
PrintHeapShapeRbooleanPrint the shape of the heap before and after each collection, if +VerboseGC. Serial GC only.
PrintIRWithLIRRbooleanPrint HIR along side LIR as the latter is generated.
PrintImageObjectTreeRbooleanPrint image object hierarchy.
PrintLIRWithAssemblyRbooleanInclude the LIR as comments with the final assembly.
PrintPointsToStatisticsRbooleanReport analysis statistics.
PrintProfilingInformationRbooleanPrint profiling information when parsing a method's bytecode.
PrintSynchronizedAnalysisRbooleanPrint types used for Java synchronization.
PrintUnmodifiedGraphsRbooleanDump a graph even if it has not changed since it was last dumped. Change detection is based on adding and deleting nodes or changing inputs.
ProfileAllocationsRbooleanEnable profiling of allocation sites.
ProfileAllocationsContextRstringAllocatingMethodControl the naming and granularity of the counters when using ProfileAllocations.
ProfileAnalysisOperationsRbooleanTrack the progress of the static analysis.
ProfileCompiledMethodsRboolean
ProfileConstantObjectsRbooleanTrack the creation of constant objects.
ProfileMonitorsRbooleanEnable profiling of monitor operations.
RawConditionalEliminationRboolean
ReadEliminationMaxLoopVisitsRlong5
ReassociateExpressionsRbooleanRe-associate loop invariants and constants.
ReduceDCERbooleanDisable optional dead code eliminations.
RegisterPressureRstringNoneComma separated list of registers that register allocation is limited to.
RelaxTypeFlowStateConstraintsRbooleanAllow a type flow state to contain types not compatible with its declared type.
RemoveNeverExecutedCodeRboolean
RemoveSaturatedTypeFlowsRbooleanEnable the type flow saturation analysis performance optimization.
ReplaceInputsWithConstantsBasedOnStampsRboolean
SafepointPromptnessFailureNanosRlong0Exit the VM if I can not come to a safepoint in this many nanoseconds. 0 implies forever.
SafepointPromptnessWarningNanosRlong0Print a warning if I can not come to a safepoint in this many nanoseconds. 0 implies forever.
SamplingBasedProfilingRbooleanAllow sampling-based profiling. Default: disabled in execution.
ScanObjectsParallelRbooleanObject scanning in parallel.
ShowConfigurationRstringnoneWrites to the VM log information about the compiler configuration selected.
ShowDumpFilesRbooleanPrint the name of each dump file path as it's created.
ShowSubstitutionSourceInfoRbooleanControls whether the source position information of snippets and method substitutions are exposed to HotSpot. Can be useful when profiling to get more precise position information.
SimpleFastInflatedLockingRbooleanHandle simple cases for inflated monitors in the fast-path.
SmallCompiledLowLevelGraphSizeRlong330If the previous low-level graph size of the method exceeds the threshold, it is not inlined.
SnippetCountersRbooleanEnable counters for various paths in snippets.
SpectrePHTBarriersRstringNoneSelect a strategy to mitigate speculative bounds check bypass (aka Spectre-PHT or Spectre V1).
SpectrePHTIndexMaskingRbooleanMask indices to scope access to allocation size after bounds check.
SpeculativeGuardMovementRbooleanMove loop invariant guards (e.g., array bounds checks) out of loops.
StackSizeRlong0The size of each thread stack at run-time, in bytes.
StartFlightRecordingRstringStart flight recording with options.
StressExplicitExceptionCodeRbooleanStress the code emitting explicit exception throwing code.
StressInvokeWithExceptionNodeRbooleanStress the code emitting invokes with explicit exception edges.
StressTestEarlyReadsRbooleanStress the code by emitting reads at earliest instead of latest point.
StrictDeoptInsertionChecksRbooleanPerform checks that guards and deopts aren't introduced in graphs that should handle exceptions explicitly.
StringIndexOfConstantLimitRlong4096String.indexOf invocations will be evaluated at compile time if the receiver is a constant and its length is smaller than this value.
SupportJsrBytecodesRboolean
SupportOSRWithLocksRbooleanSupport OSR compilations with locks. If DeoptAfterOSR is true we can per definition not have unbalanced enter/exits mappings. If DeoptAfterOSR is false insert artificial monitor enters after the OSRStart to have balanced enter/exits in the graph.
TearDownFailureNanosRlong0The number of nanoseconds before tearing down an isolate gives a failure message. 0 implies no message.
TearDownWarningNanosRlong0The number of nanoseconds before and between which tearing down an isolate gives a warning message. 0 implies no warning.
TimeRstringNonePattern for specifying scopes in which timing is enabled. See the Dump option for the pattern syntax. An empty value enables all timers unconditionally.
TimedDynamicCountersRlong-1Turn on the benchmark counters, and displays the results every n milliseconds.
TimersRstringNoneComma separated names of timers that are enabled irrespective of the value for Time option. An empty value enables all timers unconditionally.
TraceBytecodeParserLevelRlong0The trace level for the bytecode parser. A value of 1 enables instruction tracing and any greater value emits a frame state trace just prior to each instruction trace.Instruction tracing output from multiple compiler threads will be interleaved so use of this option make most sense for single threaded compilation. The MethodFilter option can be used to refine tracing to selected methods.
TraceCodeCacheRbooleanPrint logging information for runtime code cache modifications.
TraceDeoptimizationRbooleanPrint logging information for every deoptimization.
TraceDeoptimizationDetailsRbooleanPrint verbose logging information for every deoptimization.
TraceEscapeAnalysisRboolean
TraceExceptionHandlerStubRbooleanTrace execution of stub used to handle an exception thrown by a callee.
TraceHeapChunksRbooleanTrace heap chunks during collections, if +VerboseGC and +PrintHeapShape. Serial GC only.
TraceInlineDuringParsingRbooleanTraces inlining performed during bytecode parsing.
TraceInliningRbooleanEnable tracing of inlining decisions.
TraceInliningForStubsAndSnippetsRbooleanEnable inlining decision tracing in stubs and snippets.
TraceLIRGeneratorLevelRlong0The trace level for the LIR generator.
TraceMonitorsMethodFilterRstringNoneTrace monitor operations in methods whose fully qualified name contains this substring.
TraceMonitorsTypeFilterRstringNoneTrace monitor operations on objects whose type contains this substring.
TraceParserPluginsRbooleanTraces use of plugins during bytecode parsing.
TraceUnwindStubRbooleanTrace execution of the stub that routes an exception to a handler in the calling frame.
TrackAccessChainRbooleanTrack the callers for methods and accessing methods for fields.
TrackInputFlowsRbooleanTrack the input for type flows.
TrackMemUseRstringNonePattern for specifying scopes in which memory use tracking is enabled. See the Dump option for the pattern syntax. An empty value enables all memory use trackers unconditionally.
TrackNodeInsertionRbooleanTrack source stack trace where a node was inserted into the graph.
TrackNodeSourcePositionRbooleanTrack the NodeSourcePosition.
TrivialInliningSizeRlong10Graphs with less than this number of nodes are trivial and therefore always inlined.
TruffleCompilerConfigurationRstringNoneSelect a compiler configuration for Truffle compilation (default: use Graal system compiler configuration).
TruffleHostInliningRbooleanWhether Truffle host inlining is enabled.
TruffleHostInliningBaseBudgetRlong5000Maximum budget for Truffle host inlining for runtime compiled methods.
TruffleHostInliningByteCodeInterpreterBudgetRlong100000Maximum budget for Truffle host inlining for runtime compiled methods with a BytecodeInterpreterSwitch annotation.
TruffleHostInliningMaxExplorationDepthRlong1000Determines the maximum call depth for exploration during host inlining.
TruffleHostInliningMaxSubtreeInvokesRlong20Maximum number of subtree invokes for a subtree to get inlined until it is considered too complex.
TruffleHostInliningPrintExploredRbooleanWhen logging is activated for this phase enables printing of only explored, but ultimately not inlined call trees.
TrustFinalDefaultFieldsRbooleanDetermines whether to treat final fields with default values as constant.
TypeCheckMaxHintsRlong2The maximum number of profiled types that will be used when compiling a profiled type check. Note that TypeCheckMinProfileHitProbability also influences whether profiling info is used in compiled type checks.
TypeCheckMinProfileHitProbabilityRdouble0.5If the probability that a type check will hit one the profiled types (up to TypeCheckMaxHints) is below this value, the type check will be compiled without profiling info.
TypeFlowSaturationCutoffRlong20The maximum number of types recorded in a type flow. -1 indicates no limitation.
UnresolvedIsErrorRbooleanReport unresolved elements as errors.
UnrollMaxIterationsRlong16
UseBranchesWithin32ByteBoundaryRbooleanForce branch instructions to align with 32-bytes boundary, to mitigate the jcc erratum. See https://www.intel.com/content/dam/support/us/en/documents/processors/mitigations-jump-conditional-code-erratum.pdf for more details. If not set explicitly, the default value will be determined according to the CPU model.
UseCompilationStatisticsRbooleanEnables CompilationStatistics.
UseExceptionProbabilityRboolean
UseExperimentalReachabilityAnalysisRbooleanUse experimental Reachability Analysis instead of points-to.
UseLoopEndFrequenciesRbooleanDerive loop frequencies only from backedge frequencies instead of from loop exit frequencies.
UseLoopLimitChecksRboolean
UsePerfDataRbooleanFlag to disable jvmstat instrumentation for performance testing.
UseReachabilityMethodSummariesRbooleanUse method summaries for Reachability Analysis.
UseSnippetGraphCacheRbooleanUse a cache for snippet graphs.
UseSnippetTemplateCacheRbooleanUse a LRU cache for snippet templates.
UseTrappingNullChecksRbooleanUse traps for null checks instead of explicit null-checks.
UseTypeCheckHintsRboolean
VerboseGCRbooleanPrint more information about the heap before and after each collection.
VerifyRstringNonePattern for specifying scopes in which logging is enabled. See the Dump option for the pattern syntax.
VerifyBalancedMonitorsRbooleanEmit extra code to dynamically check monitor operations are balanced.
VerifyGraalGraphEdgesRbooleanPerform expensive verification of graph inputs, usages, successors and predecessors.
VerifyGraalGraphsRbooleanVerify graphs often during compilation when assertions are turned on.
VerifyGraalPhasesSizeRbooleanVerify before - after relation of the relative, computed, code size of a graph.
VerifyHeapAtReturnRbooleanPerform platform dependent validation of the Java heap at returns.
VerifyKillCFGUnusedNodesRbooleanVerify that there are no new unused nodes when performing killCFG.
VerifyPhasePlanRbooleanVerifies that the phase plan respects the phase ordering constraints.
VerifyPhasesRboolean
WarnMissingIntrinsicRbooleanPrint a warning when a missing intrinsic is seen.
WriteableCodeCacheRbooleanAllocate code cache with write access, allowing inlining of objects.
ZapStackOnMethodEntryRboolean