VM Options Explorer - GraalVM native-image CE JDK8

Hey Reader! If these notes float your boat you'll find more great JVM info in this book I co-wrote! Optimizing Java: Practical techniques for improving JVM application performance
NameTypeDefaultAvailabilityDescription
TypeAvailability
AOTInlinebooltrueHosted
Perform method inlining in the AOT compiled native image.
AOTInliningDepthToSizeRatedouble2.5Runtime
AOTInliningSizeMaximumint300Runtime
AOTInliningSizeMinimumint50Runtime
AOTTrivialInlinebooltrueHosted
Perform trivial method inlining in the AOT compiled native image.
AOTVerifyOopsboolfalseRuntime
Generate verify oop checks in AOT code.
APIFunctionPrefixString"graal_"Hosted
Prefix that is added to the names of API functions. 
ASMInstructionProfilingStringNoneRuntime
Enables instruction profiling on assembler level. Valid values are a comma separated list of supported instructions. 
Compare with subclasses of Assembler.InstructionCounter.
AbortOnBenchmarkCounterOverflowboolfalseRuntime
Abort VM with SIGILL if benchmark counters controlled by the (Generic|Timed|Benchmark)DynamicCounters.
ActiveProcessorCountint-1Runtime
Overwrites the available number of processors provided by the OS. Any value <= 0 means using the processor count from 
the OS.
AddAllCharsetsboolfalseHosted
Make all hosted charsets available at run time.
AddAllFileSystemProvidersbooltrueHosted
Make all supported providers returned by FileSystemProvider.installedProviders() available at run time.
AdditionalSecurityProvidersString*Hosted
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.
AdditionalSecurityServiceTypesString*Hosted
Comma-separated list of additional security service types (fully qualified class names) for automatic registration. Note 
that these must be JCA compliant.
AggregatedMetricsFileStringNoneRuntime
File 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.
AliasArrayTypeFlowsbooltrueRuntime
Model all array type flows using a unique elements type flow abstraction.
AlignedHeapChunkSizeint1048576Hosted
The size of an aligned chunk. 
AllocateInstancePrefetchLinesint1Hosted
Number of cache lines to load after the object address using prefetch instructions. 
AllocatePrefetchDistanceint256Hosted
Sets 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.
AllocatePrefetchInstrint0Hosted
Sets 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.
AllocatePrefetchLinesint3Hosted
Number of cache lines to load after the array allocation using prefetch instructions. 
AllocatePrefetchStepSizeint16Hosted
Sets the step size (in bytes) for sequential prefetch instructions. 
AllocatePrefetchStyleint1Hosted
Generated 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.
AllocationBeforePhysicalMemorySizeint1048576Hosted
Bytes that can be allocated before (re-)querying the physical memory size.
AllocationProfilingThresholdint1048576Runtime
The minimum size in bytes required for printing an allocation profiling entry. 
AllocationProfilingboolfalseHosted
Enable runtime profiling of allocation.
AllocationSiteSensitiveHeapboolfalseRuntime
A context sensitive heap means that each heap allocated object is modeled by using at least the allocation site.
AllowFoldMethodsboolfalseHosted
Allow MethodTypeFlow to see @Fold methods.
AllowIncompleteClasspathboolfalseHosted
Allow image building with an incomplete class path: report type resolution errors at run time when they are accessed the 
first time, instead of during image building.
AllowJRTFileSystemboolfalseHosted
Enable support for reading Java modules (jimage format) and the jrt:// file system. Requires java.home to be set at 
runtime.
AllowVMInspectionboolfalseHosted
Enables features that allow the VM to be inspected during runtime.
AlwaysInlineIntrinsicsboolfalseRuntime
Unconditionally inline intrinsics.
AlwaysInlineVTableStubsboolfalseRuntime
AnalysisContextSensitivityString"insens"Runtime
Controls 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).
AnalysisSizeCutoffint8Runtime
The maximum size of type and method profiles returned by the static analysis. -1 indicates no limitation. 
AnalysisStatisticsFileStringNoneRuntime
Analysis results statistics file.
BenchmarkCounterPrintingCutoffbooltrueRuntime
Use a cutoff to print only most significant counters.
BenchmarkCountersDumpDynamicbooltrueRuntime
Dump dynamic counters.
BenchmarkCountersDumpStaticboolfalseRuntime
Dump static counters.
BenchmarkCountersFileStringNoneRuntime
File 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.
BenchmarkDynamicCountersStringNone [Extra help available]Runtime
Turn on the benchmark counters. The format of this option is:.
BitcodeOptimizationsboolfalseHosted
Enable LLVM bitcode optimizations.
BootstrapInitializeOnlyboolfalseRuntime
Do not compile anything on bootstrap but just initialize the compiler.
BootstrapTimeoutdouble15.0Runtime
Maximum time in minutes to spend bootstrapping (0 to disable this limit). 
BootstrapWatchDogCriticalRateRatiodouble0.25Runtime
Ratio of the maximum compilation rate below which the bootstrap compilation rate must not fall (0 or less disables 
monitoring).
CAPCacheDir""Hosted
Directory where information generated by the CAnnotation Processor are cached. 
CCompilerOptionString*Hosted
Provide custom C compiler option used for query code compilation. 
CCompilerPathStringNoneHosted
Provide custom path to C compiler used for query code compilation and linking.
CLibraryPathString*Hosted
Search path for C libraries passed to the linker (list of comma-separated directories). 
CPUFeaturesString*Hosted
Comma separated list of CPU features that will be used for image generation. The specific options available are platform 
dependent. For AMD64, SSE and SSE2 are enabled by default. Available features are: CX8, CMOV, FXSR, HT, MMX,
AMD_3DNOW_PREFETCH, SSE3, SSSE3, SSE4A, SSE4_1, SSE4_2, POPCNT, LZCNT, TSC, TSCINV, AVX, AVX2, AES, ERMS, CLMUL, BMI1,
BMI2, RTM, ADX, AVX512F, AVX512DQ, AVX512PF, AVX512ER, AVX512CD, AVX512BW, AVX512VL, SHA, FMA. On AArch64, no features
are enabled by default. Available features are: FP, ASIMD, EVTSTRM, AES, PMULL, SHA1, SHA2, CRC32, LSE, STXR_PREFETCH,
A53MAC.
CStandardString"C89"Hosted
C standard to use in header files. Possible values are: [C89, C99, C11]. 
CanOmitFramebooltrueRuntime
CanonicalGraphStringsCheckConstantsboolfalseRuntime
Exclude virtual nodes when dumping canonical text for graphs.
CanonicalGraphStringsExcludeVirtualsbooltrueRuntime
Exclude virtual nodes when dumping canonical text for graphs.
CanonicalGraphStringsRemoveIdentitiesbooltrueRuntime
Attempts to remove object identity hashes when dumping canonical text for graphs.
CheckRecurringCallbackOnNativeToJavaTransitionboolfalseHosted
Test whether a thread's recurring callback is pending on each transition from native code to Java.
CheckToolchainbooltrueHosted
Check if native-toolchain is known to work with native-image.
ClassInitializationString*Hosted
A comma-separated list of classes appended with their initialization strategy (':build_time', ':rerun', or ':run_time'). 
Class""Hosted
Class containing the default entry point method. Optional if --shared is used. 
ClearMetricsAfterBootstrapboolfalseRuntime
Clear the debug metrics after bootstrap.
CodeAlignmentint16Hosted
Alignment of AOT and JIT compiled code in bytes. 
CodeCacheCountersboolfalseHosted
Count accesses to the image and runtime code info table.
CodeInfoEncoderCountersboolfalseHosted
Statistics about code and deoptimization information.
CodeInfoIndexGranularityint256Hosted
The granularity of the index for looking up code metadata. Should be a power of 2. Larger values make the index smaller, 
but access slower.
CollectYoungGenerationSeparatelyboolfalseRuntime
Determines if a full GC collects the young generation separately or together with the old generation.
CompilationBailoutAsFailureboolfalseRuntime
Treat compilation bailouts like compilation failures.
CompilationCountLimitint0Runtime
The number of compilations allowed for any method before the VM exits (a value of 0 means there is no limit). 
CompilationExcludePhasesStringNoneRuntime
Exclude certain phases from compilation, either unconditionally or with a method filter.
CompilationExpirationPeriodint300Runtime
Time 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.
CompilationFailureActionStringSilentRuntime
Specifies the action to take when compilation fails. [Extra help available] 
CompilationIsolateAddressSpaceSizeint0Runtime
Size of the reserved address space of each compilation isolate (0: default for new isolates). 
CompilationWatchDogStackTraceIntervaldouble60.0Runtime
Interval in seconds between a watch dog reporting stack traces for long running compilations.
CompilationWatchDogStartDelaydouble0.0Runtime
Delay in seconds before watch dog monitoring a compilation (0 disables monitoring). 
CompileGraalWithC1OnlybooltrueRuntime
In tiered mode compile Graal and JVMCI using optimized first tier code.
CompileInIsolatesbooltrueRuntime
Activate runtime compilation in separate isolates (enable support during image build with option 
SupportCompileInIsolates).
CompilerBackendString"lir"Hosted
Backend used by the compiler. 
CompilerConfigurationStringNoneRuntime
Names 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.
ConditionalEliminationMaxIterationsint4Runtime
ConditionalEliminationbooltrueRuntime
ConfigurationFileDirectoriesString*Hosted
Directories directly containing configuration files for dynamic features at runtime. 
ConfigurationResourceRootsString*Hosted
Resource path above configuration resources for dynamic features at runtime. 
CountWriteBarriersboolfalseHosted
Instrument write barriers with counters.
CountStringNoneRuntime
Pattern for specifying scopes in which counters are enabled. See the Dump option for the pattern syntax. An empty value 
enables all counters unconditionally.
CountersStringNoneRuntime
Comma separated names of counters that are enabled irrespective of the value for Count option. An empty value enables 
all counters unconditionally.
CrashAtStringNoneRuntime
Pattern 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.
CustomLD""Hosted
Path to a custom ld binary for LLVM linking. 
DashboardAllboolfalseHosted
In the dashboard dump, include all available information about the native image (this takes precedence over more 
specific flags).
DashboardBgvbooltrueHosted
Set dashboard to use BGV format for dump.
DashboardCodeboolfalseHosted
In the dashboard dump, include the breakdown of the code size across different packages.
DashboardDumpStringNoneHosted
Enable dashboard dumps to the specified file.
DashboardHeapboolfalseHosted
In the dashboard dump, include the breakdown of the object sizes in the heap across different classes.
DashboardJsonboolfalseHosted
Set dashboard to use JSON format for dump.
DashboardPointsToboolfalseHosted
In the dashboard dump, include the information about the points-to analysis.
DashboardPrettyboolfalseHosted
Set dashboard to use pretty print in JSON format.
DeadlockWatchdogExitOnTimeoutbooltrueHosted
Exit the image builder VM after printing call stacks.
DeadlockWatchdogIntervalint10Hosted
The interval in minutes between watchdog checks (0 disables the watchdog). 
DebugInfoSourceCacheRootString"sources"Hosted
Directory under which to create source file cache for Application or GraalVM classes. 
DebugInfoSourceSearchPathString*Hosted
Search path for source files for Application or GraalVM classes (list of comma-separated directories or jar files). 
DebugStubsAndSnippetsboolfalseRuntime
Enable debug output for stub code generation and snippet preparation.
DefaultLocaleString"en-US"Hosted
Default locale of the image, by the default it is the same as the default locale of the image builder. 
DeleteLocalSymbolsbooltrueHosted
Use linker option to remove all local symbols from image.
DeoptALotboolfalseRuntime
DeoptAfterOSRbooltrueRuntime
Deoptimize OSR compiled code when the OSR entry loop is finished if there is no mature profile available for the rest of 
the method.
DeoptimizeAllboolfalseHosted
Compiles all methods as deoptimization targets for testing.
DeoptsToDisableOptimisticOptimizationint40Runtime
DetailedAssertsboolfalseRuntime
Enable expensive assertions if normal assertions (i.e. -ea or -esa) are enabled.
DetectUserDirectoriesInImageHeapboolfalseHosted
When set to true, the image generator verifies that the image heap does not contain a home directory as a substring.
DiagnoseDumpLevelint3Runtime
Specify the DumpLevel if CompilationFailureAction#Diagnose is used.See CompilationFailureAction for details. 
file:doc-files/CompilationFailureActionHelp.txt.
DisableExplicitGCboolfalseRuntime
Ignore calls to System.gc().
DisableInterceptboolfalseRuntime
Disable intercepting exceptions in debug scopes.
DisableTypeIdResultVerificationbooltrueHosted
For internal purposes only. Disables type id result verification even when running with assertions enabled.
DivertParameterReturningMethodbooltrueRuntime
Analysis: Detect methods that return one of their parameters and hardwire the parameter straight to the return.
DumpAfterEveryBCIboolfalseRuntime
Dump the current graph after every bci to IGV.
DumpHeapString*Hosted
Dump the heap at a specific time during image building.The option accepts a list of comma separated phases, any of: 
after-analysis, before-compilation.
DumpLLVMStackMapStringNoneHosted
Dump contents of the generated stackmap to the specified file.
DumpOnErrorboolfalseRuntime
Send compiler IR to dump handlers on error.
DumpOnPhaseChangeStringNoneRuntime
Dump 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.
DumpPathString"graal_dumps"Runtime
The directory where various Graal dump files are written. 
DumpTargetInfoboolfalseHosted
Show native-toolchain information and image-build settings.
DumpThreadStacksOnSignalboolfalseHosted
Dumps all thread stacktraces on SIGQUIT/SIGBREAK.
DumpStringNone [Extra help available]Runtime
Filter pattern for specifying scopes in which dumping is enabled.
DumpingErrorsAreFatalboolfalseRuntime
Treat any exceptions during dumping as fatal.
DuplicateIrreducibleLoopsbooltrueRuntime
When enabled, some limited amount of duplication will be performed in order compile code containing irreducible loops.
DynamicCountersPrintGroupSeparatorbooltrueRuntime
Use grouping separators for number printing.
DynamicProxyConfigurationFilesString*Hosted
One or several (comma-separated) paths to JSON files that specify lists of interfaces that define Java proxy classes. 
[Extra help available]
DynamicProxyConfigurationResourcesString*Hosted
Resources describing program elements to be made available for reflection (see ProxyConfigurationFiles).
DynamicProxyTracingboolfalseHosted
Enable trace logging for dynamic proxy.
EagerSnippetsboolfalseRuntime
Eagerly construct extra snippet info.
EmitStringSubstitutionsbooltrueRuntime
Emit substitutions for String methods.
EnableAllSecurityServicesboolfalseHosted
Add all security service classes to the generated image.
EnableLoggingFeaturebooltrueHosted
Enable the feature that provides support for logging.
EnableSecurityServicesFeaturebooltrueHosted
Enable automatic registration of security services.
EnableSignalAPIbooltrueHosted
Enables the signal API (sun.misc.Signal or jdk.internal.misc.Signal). Defaults to false for shared library and true for 
executables.
EnableURLProtocolsString*Hosted
List of comma separated URL protocols to enable. 
EnableWildcardExpansionbooltrueHosted
Enable wildcard expansion in command line arguments on Windows.
EnforceMaxRuntimeCompileMethodsboolfalseHosted
Enforce 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.
EntryPointNamePrefix""Hosted
Prefix that is added to the names of entry point methods. 
EscapeAnalysisIterationsint2Runtime
EscapeAnalysisLoopCutoffint20Runtime
EscapeAnalyzeOnlyStringNoneRuntime
ExactFullUnrollMaxNodesint800Runtime
ExactPartialUnrollMaxNodesint200Runtime
ExcludeResourcesString*Hosted
Regexp to match names of resources to be excluded from the image. 
ExhaustiveHeapScanboolfalseRuntime
Scan all objects reachable from roots for analysis. By default false.
ExitAfterAnalysisboolfalseHosted
Exit after analysis.
ExitAfterCAPCacheboolfalseHosted
Exit image generation after C Annotation Processor Cache creation.
ExitAfterQueryCodeGenerationboolfalseHosted
Output query code for target platform without executing it.
ExitAfterRelocatableImageWriteboolfalseHosted
Exit after writing relocatable file.
ExitVMOnExceptionboolfalseRuntime
Alias for CompilationFailureAction=ExitVM.
ExtendedAssertsboolfalseRuntime
Enable extended asserts which slow down analysis.
FailedLoopExplosionIsFatalboolfalseRuntime
Do not bail out but throw an exception on failed loop explosion.
FallbackExecutorClasspathStringNoneHosted
Internal option used to specify Classpath for FallbackExecutor.
FallbackExecutorJavaArgString*Hosted
Internal option used to specify java arguments for FallbackExecutor. 
FallbackExecutorMainClassStringNoneHosted
Internal option used to specify MainClass for FallbackExecutor.
FallbackExecutorRuntimeJavaArgString*Runtime
Internal option used to specify runtime java arguments for FallbackExecutor. 
FallbackExecutorSystemPropertyString*Hosted
Internal option used to specify system properties for FallbackExecutor. 
FallbackThresholdint5Hosted
Define when fallback-image generation should be used. 
FeaturesString*Hosted
A comma-separated list of fully qualified Feature implementation classes. 
FlightRecorderLoggingString"all=warning"Runtime
Usage: -XX:FlightRecorderLogging=[tag1[+tag2...][*][=level][,...]]. [Extra help available] 
FlightRecorderboolfalseRuntime
Enable Java Flight Recorder.
FoldSecurityManagerGetterbooltrueHosted
Fold SecurityManager getter.
ForceDumpGraphsBeforeCompilationboolfalseRuntime
Force-dump graphs before compilation.
ForceNoROSectionRelocationsboolfalseHosted
Use only a writable native image heap (requires ld.gold linker).
FullUnrollConstantCompareBoostint15Runtime
FullUnrollMaxApplicationint60Runtime
FullUnrollMaxIterationsint600Runtime
FullUnrollMaxNodesint400Runtime
FullUnrollbooltrueRuntime
GCDebugStartCycleint-1Runtime
Start tracing compiled GC barriers after N garbage collections (disabled if N <= 0). 
GatherSafepointStatisticsboolfalseHosted
Gather statistics about each safepoint.
GenLoopSafepointsbooltrueRuntime
GenerateDebugInfoint0Hosted
Insert debug info into the generated native image or library. 
GeneratePICboolfalseRuntime
Generate position independent code.
GenericDynamicCountersboolfalseRuntime
Turn on the benchmark counters, and displays the results on VM shutdown.
GraalArithmeticStubsboolfalseRuntime
Use Graal arithmetic stubs instead of HotSpot stubs where possible.
GraalCompileOnlyStringNoneRuntime
A 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.
GraphCompressionThresholdint70Runtime
Graal graph compression is performed when percent of live nodes falls below this value. 
GreyToBlackObjRefDemographicsboolfalseHosted
Develop demographics of the object references visited.
GreyToBlackObjectVisitorDiagnosticHistoryint0Hosted
Length of GreyToBlackObjectVisitor history for diagnostics. 0 implies no history is kept.
GuardPrioritiesbooltrueRuntime
HeapChunkHeaderPaddingint0Hosted
Number 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.
HotSpotDeoptExplicitExceptionsboolfalseRuntime
Testing only option that forces deopts for exception throws.
HotSpotPostOnExceptionsboolfalseRuntime
Testing only option that forces deopts for exception throws.
HotSpotPrintInliningboolfalseRuntime
Print inlining optimizations.
HybridStaticContextboolfalseRuntime
Enable hybrid context for static methods, i.e. uses invocation site as context for static methods.
ImageHeapCardMarkingboolfalseHosted
Enables card marking for image heap objects, which arranges them in chunks. Automatically enabled when supported. 
ImageObjectTreeExpandRoots""Runtime
Override the default suppression of specified roots. See: Reports.md. 
ImageObjectTreeExpandTypes""Runtime
Override the default suppression of specified types. See: Reports.md. 
ImageObjectTreeSuppressRoots""Runtime
Suppress the expansion of specified roots. See: Reports.md. 
ImageObjectTreeSuppressTypes""Runtime
Suppress the expansion of specified types. See: Reports.md. 
ImageSymbolsPrefix""Hosted
Common prefix used by method symbols in image. 
ImmutableCodeboolfalseRuntime
Try to avoid emitting code where patching is required.
IncludeAllLocalesboolfalseHosted
Make all hosted locales available at run time.
IncludeAllTimeZonesboolfalseHosted
When true, all time zones will be pre-initialized in the image.
IncludeLLVMDebugInfoint0Hosted
Include debugging info in the generated image (for LLVM backend). 
IncludeLocalesString*Hosted
Comma separated list of locales to be included into the image. The default locale is included in the list automatically 
if not present.
IncludeNodeSourcePositionsboolfalseHosted
Track NodeSourcePositions during runtime-compilation.
IncludeResourceBundlesString*Hosted
Comma separated list of bundles to be included into the image. 
IncludeResourcesString*Hosted
Regexp to match names of resources to be included in the image. 
IncludeTimeZones""Hosted
The time zones, in addition to the default zone of the host, that will be pre-initialized in the image. 
InitialCollectionPolicyString"com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime"Hosted
The initial garbage collection policy, as a fully-qualified class name (might require quotes or escaping).
InlineBeforeAnalysisAllowedDepthint20Hosted
Maximum number of invokes for method inlined before static analysis. 
InlineBeforeAnalysisAllowedInvokesint1Hosted
Maximum number of invokes for method inlined before static analysis. 
InlineBeforeAnalysisAllowedNodesint1Hosted
Maximum number of computation nodes for method inlined before static analysis. 
InlineBeforeAnalysisMaxDepthint9Hosted
Maximum depth when inlining. 
InlineBeforeAnalysisboolfalseRuntime
Experimental: Inline methods before static analysis.
InlineDuringParsingMaxDepthint10Runtime
Maximum depth when inlining during bytecode parsing. 
InlineDuringParsingbooltrueRuntime
Inlines trivial methods during bytecode parsing.
InlineEverythingboolfalseRuntime
InlineIntrinsicsDuringParsingbooltrueRuntime
Inlines intrinsic methods during bytecode parsing.
InlineMegamorphicCallsbooltrueRuntime
Inline calls with megamorphic type profile (i.e., not all types could be recorded).
InlineMonomorphicCallsbooltrueRuntime
Inline calls with monomorphic type profile.
InlinePartialIntrinsicExitDuringParsingbooltrueRuntime
Inlines 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.
InlinePolymorphicCallsbooltrueRuntime
Inline calls with polymorphic type profile.
InlineVTableStubsbooltrueRuntime
InlinebooltrueRuntime
Enable inlining.
InliningDepthErrorint1000Runtime
Maximum inlining depth during partial evaluation before reporting an infinite recursion. 
InspectServerContentPathString"inspect"Runtime
Path to the contents of the Inspect web server. 
InstallExitHandlersboolfalseHosted
Provide java.lang.Terminator exit handlers for executable images.
InstallSegfaultHandlerbooltrueRuntime
Install segfault handler that prints register contents and full Java stacktrace.
InterceptBailoutboolfalseRuntime
Intercept also bailout exceptions.
InternalSymbolsAreGlobalboolfalseHosted
Compatibility 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.
IntrinsifybooltrueRuntime
Use compiler intrinsifications.
JNIConfigurationFilesString*Hosted
Files describing program elements to be made accessible via JNI (for syntax, see ReflectionConfigurationFiles). 
JNIConfigurationResourcesString*Hosted
Resources describing program elements to be made accessible via JNI (see JNIConfigurationFiles). 
JNIExportSymbolsbooltrueHosted
Export Invocation API symbols.
JNIVerboseLookupErrorsboolfalseHosted
Report information about known JNI elements when lookup fails.
JNIbooltrueHosted
Enable Java Native Interface (JNI) support.
LIRDynMoveProfileMethodboolfalseRuntime
Enable dynamic move profiling per method.
LIROptConstantLoadOptimizationboolfalseRuntime
Enable constant load optimization. 
LIROptControlFlowOptimizerboolRuntime
LIROptEdgeMoveOptimizerboolRuntime
LIROptLSRAEliminateSpillMovesboolRuntime
Enable spill move elimination. 
LIROptLSRAOptimizeSpillPositionboolRuntime
Enable spill position optimization. 
LIROptLSStackSlotAllocatorboolRuntime
Use linear scan stack slot allocation. 
LIROptNullCheckOptimizerboolRuntime
LIROptRedundantMoveEliminationboolRuntime
LIROptStackMoveOptimizerboolRuntime
LIROptimizationbooltrueRuntime
Enable LIR level optimiztations.
LIRProfileMethodsboolfalseRuntime
Enables profiling of methods.
LIRProfileMovesboolfalseRuntime
Enables 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).
LLVMMaxFunctionsPerBatchint1000Hosted
Maximum size of batches used for LLVM compilation. 0 means a single batch, 1 means all functions separately. 
LSRAOptSplitOnlyboolfalseRuntime
LSRA optimization: Only split but do not reassign.
LSRAOptimizationboolfalseRuntime
Enable LSRA optimization.
LargeArrayThresholdint0Hosted
The size at or above which an array will be allocated in its own unaligned chunk. 0 implies (AlignedHeapChunkSize / 8). 
LimitInlinedInvokesdouble5.0Runtime
LimitObjectArrayLengthboolfalseRuntime
Enable 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.
LinkerRPathString*Hosted
Path passed to the linker as the -rpath (list of comma-separated directories). 
ListMetricsboolfalseRuntime
Lists 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.
LoadExceptionObjectInVMboolfalseRuntime
Use a VM runtime call to load and clear the exception object from the thread at the start of a compiled exception 
handler.
LocalizationCompressBundlesString*Hosted
Regular expressions matching which bundles should be compressed. 
LocalizationCompressInParallelbooltrueHosted
Compress the bundles in parallel.
LocalizationOptimizedModebooltrueHosted
Optimize the resource bundle lookup using a simple map.
LocalizationSubstituteLoadLookupbooltrueHosted
Store the resource bundle content more efficiently in the fallback mode.
LogFileStringNoneRuntime
File 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 '' otherwise %i is removed. An %I is the same as %i except that the replacement is '@'. Using %o as filename sends logging to System.out whereas %e sends logging to System.err.
LogVerboseboolfalseRuntime
Enable more verbose log output when available.
LogStringNoneRuntime
Pattern for specifying scopes in which logging is enabled. See the Dump option for the pattern syntax.
LoopHeaderAlignmentint16Runtime
Alignment in bytes for loop header blocks. 
LoopMaxUnswitchint3Runtime
LoopPeelingbooltrueRuntime
LoopPredicationMainPathbooltrueRuntime
Restricts LoopPredication to only focus on array bounds checks that dominate the back edge of a loop.
LoopPredicationbooltrueRuntime
Hoists array bounds checks out of simple loops. This is ignored if SpeculativeGuardMovement is enabled.
LoopUnswitchFrequencyBoostdouble10.0Runtime
LoopUnswitchMaxIncreaseint500Runtime
LoopUnswitchTrivialint10Runtime
LoopUnswitchbooltrueRuntime
MatchExpressionsbooltrueRuntime
Allow backend to match complex expressions.
MaxCallingContextDepthint0Runtime
The maximum length of the methods context chains. 
MaxCallingContextWidthint0Runtime
The maximum number of contexts to record for a method. It only affects the analysis when the max and min calling context 
depth are different.
MaxCompilationProblemsPerActionint2Runtime
The 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.
MaxConstantObjectsPerTypeint100Runtime
The 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.
MaxDirectMemorySizeint0Runtime
Maximum total size of NIO direct-buffer allocations. 
MaxDuplicationFactordouble2.0Runtime
How much duplication can happen because of irreducible loops before bailing out. 
MaxHeapContextDepthint0Runtime
The maximum length of the context used to model a heap object in addition to the allocation site; used only when 
ContextSensitiveHeap is enabled.
MaxHeapContextWidthint0Runtime
The 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.
MaxHeapSizeint0Runtime
The maximum heap size at run-time, in bytes. 
MaxInvokesInTrivialMethodint1Hosted
Maximum number of invokes in a method so that it is considered trivial (for testing only). 
MaxJavaStackTraceDepthint1024Runtime
The maximum number of lines in the stack trace for Java exceptions (0 means all). 
MaxNewSizeint0Runtime
The maximum size of the young generation at run-time, in bytes. 
MaxNodesInTrivialLeafMethodint40Hosted
Maximum number of nodes in a method so that it is considered trivial, if it does not have any invokes. 
MaxNodesInTrivialMethodint20Hosted
Maximum number of nodes in a method so that it is considered trivial. 
MaxObjectSetSizeint100Runtime
The 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.
MaxReachableTypesint-1Hosted
Maximum number of types allowed in the image. Used for tests where small number of types is necessary. 
MaxRuntimeCompileMethodsString*Hosted
Maximum number of methods allowed for runtime compilation. 
MaxSurvivorSpacesint0Hosted
Maximum number of survivor spaces. 
MaxTemplatesPerSnippetint50Runtime
MaxUnrolledObjectZeroingStoresint8Hosted
Define the maximum number of stores for which the loop that zeroes out objects is unrolled. 
MaximumDesiredSizeint20000Runtime
Maximum desired size of the compiler graph in nodes. 
MaximumEscapeAnalysisArrayLengthint128Runtime
The maximum length of an array that will be escape analyzed. 
MaximumHeapSizePercentint80Runtime
The maximum heap size as percent of physical memory. 
MaximumInliningSizeint300Runtime
Inlining is explored up to this number of nodes in the graph for each call site. 
MaximumLoopExplosionCountint10000Runtime
Max number of loop explosions per method. 
MaximumRecursiveInliningint5Runtime
Maximum level of recursive inlining. 
MaximumYoungGenerationSizePercentint10Runtime
The maximum size of the young generation as a percentage of the maximum heap size. 
MegamorphicInliningMinMethodProbabilitydouble0.33Runtime
Minimum probability for methods to be inlined for megamorphic type profiles.
MemUseTrackersStringNoneRuntime
Comma 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.
MethodFilterRootOnlyboolfalseRuntime
Only check MethodFilter against the root method in the context if true, otherwise check all methods.
MethodFilterStringNone [Extra help available]Runtime
Pattern for matching methods. The syntax for a pattern is:.
MethodInlineBailoutLimitint5000Runtime
Per-compilation method inlining exploration limit before giving up (use 0 to disable). 
MethodString"main"Hosted
Name of the main entry point method. Optional if --shared is used. 
MetricsFileStringNone [Extra help available]Runtime
File to which metrics are dumped per compilation.
MinCallingContextDepthint0Runtime
The minimum length of the methods context chains. 
MinHeapContextDepthint0Runtime
The minimum length of the context used to model a heap object in addition to the allocation site; used only when 
ContextSensitiveHeap is enabled.
MinHeapSizeint0Runtime
The minimum heap size at run-time, in bytes. 
MinimalBulkZeroingSizeint2048Runtime
If applicable, use bulk zeroing instructions when the zeroing size in bytes exceeds this threshold. 
MinimumPeelFrequencydouble0.35Runtime
Module""Hosted
Module containing the class that contains the main entry point. Optional if --shared is used. 
MoveGuardsUpwardsbooltrueRuntime
Move guard nodes to earlier places in the dominator tree if all successors of basic block share a common guard 
condition.
MultiThreadedbooltrueHosted
Enable support for threads and and thread-local variables (disable for single-threaded implementation).
NDCVint0Runtime
Run level for NoDeadCodeVerifyHandler (0 = off, 1 = info, 2 = verbose, 3 = fatal). 
Name""Hosted
Name of the output file to be generated. 
NativeArchitectureboolfalseHosted
Overrides CPUFeatures and uses the native architecture, i.e., the architecture of a machine that builds an image. 
NativeArchitecture takes precedence over CPUFeatures.
NativeLinkerOptionString*Hosted
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.
NeverInlineString*Hosted
Pattern for disabling inlining of methods during image generation. [Extra help available] 
NewCAPCacheboolfalseHosted
Create a C Annotation Processor Cache. Will erase any previous cache at that same location.
NodeCountersboolfalseRuntime
Counts the number of instances of each node class.
NonFatalIdenticalCompilationSnapshotsint20Runtime
Number of contiguous identical compiler thread stack traces allowed before the VM exits on the basis of a stuck 
compilation.
NumberOfAnalysisThreadsint-1Hosted
The number of threads to use for analysis during native image generation. The number must be smaller than the 
NumberOfThreads.
NumberOfThreadsint8Hosted
The maximum number of threads to use concurrently during native image generation. 
ObjdumpExecutablesStringNoneRuntime
Comma 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.
OldInlineBeforeAnalysisboolfalseHosted
Experimental: Inline methods which folds to constant during parsing before the static analysis.
OmitHotExceptionStacktraceboolfalseRuntime
OmitInlinedMethodDebugLineInfobooltrueHosted
Omit generation of DebugLineInfo originating from inlined methods.
OptAssumptionsbooltrueRuntime
OptConvertDeoptsToGuardsbooltrueRuntime
OptDeoptimizationGroupingbooltrueRuntime
OptDevirtualizeInvokesOptimisticallybooltrueRuntime
OptEarlyReadEliminationbooltrueRuntime
OptEliminateGuardsbooltrueRuntime
OptFloatingReadsbooltrueRuntime
OptImplicitNullChecksbooltrueRuntime
OptReadEliminationbooltrueRuntime
OptScheduleOutOfLoopsbooltrueRuntime
OptStaticFinalFieldFoldingbooltrueHosted
Optimize static final fields that get a constant assigned in the class initializer.
Optimizeint2Hosted
Control native-image code optimizations: 0 - no optimizations, 1 - basic optimizations, 2 - aggressive optimizations. 
PageSizeint0Hosted
Define PageSize of a machine that runs the image. The default = 0 (== same as host machine page size). 
ParseOncebooltrueHosted
When true, compiler graphs are parsed only once before static analysis. When false, compiler graphs are parsed for 
static analysis and again for AOT compilation.
ParseRuntimeOptionsbooltrueHosted
Parse and consume standard options and system properties from the command line arguments when the VM is created.
PartialEscapeAnalysisbooltrueRuntime
PartialUnrollbooltrueRuntime
PathStringNoneHosted
Directory of the image file to be generated.
PeelALotboolfalseRuntime
PercentTimeInIncrementalCollectionint50Runtime
Percentage of total collection time that should be spent on young generation collections. 
PlatformInterfaceCompatibilityModeboolfalseHosted
Enable the behavior of old GraalVM versions. When enabled, interfaces not available for the current platform are 
filtered.
PredefinedClassesConfigurationFilesString*Hosted
Files describing predefined classes that can be loaded at runtime.
PredefinedClassesConfigurationResourcesString*Hosted
Resources describing predefined classes that can be loaded at runtime.
PreferContainerQuotaForCPUCountbooltrueRuntime
Calculate 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.
PreserveFramePointerboolfalseHosted
Saves stack base pointer on the stack on method entry.
PrintAOTCompilationboolfalseHosted
Print logging information during compilation.
PrintAnalysisCallTreeboolfalseRuntime
Print analysis call tree, a breadth-first tree reduction of the call graph.
PrintAnalysisStatisticsboolfalseRuntime
Print analysis results statistics.
PrintBackendCFGboolfalseRuntime
Enable dumping LIR, register allocation and code generation info to the C1Visualizer.
PrintBlockMappingboolfalseRuntime
Enable dumping CFG built during initial BciBlockMapping.
PrintCFGboolfalseRuntime
Enable dumping to the C1Visualizer. Enabling this option implies PrintBackendCFG.
PrintCanonicalGraphStringFlavorint0Runtime
Choose 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).
PrintCanonicalGraphStringsboolfalseRuntime
Enable dumping canonical text from for graphs.
PrintClassInitializationboolfalseHosted
Prints class initialization info for all classes detected by analysis.
PrintCompilationboolfalseRuntime
Print an informational line to the console for each completed compilation.
PrintDetailedAllocationProfilingbooltrueRuntime
Print detailed information for each allocation site.
PrintFeaturesboolfalseHosted
Print features-specific information.
PrintFlagsWithExtraHelpStringNoneRuntime
Print extra help, if available, based on comma-separated option names. Pass * to show all options that contain extra 
help.
PrintFlagsStringNoneRuntime
Show available options based on comma-separated option-types (allowed categories: User, Expert, Debug).
PrintGCSummaryboolfalseRuntime
Print summary GC information after application main method returns.
PrintGCTimeStampsboolfalseRuntime
Print a time stamp at each collection, if +PrintGC or +VerboseGC.
PrintGCTimesboolfalseRuntime
Print the time for each of the phases of each collection, if +VerboseGC.
PrintGCboolfalseRuntime
Print summary GC information after each collection.
PrintGraphFilebooltrueRuntime
Setting to true sets PrintGraph=file, setting to false sets PrintGraph=network.
PrintGraphHostdouble"127.0.0.1"Runtime
Host part of the address to which graphs are dumped. 
PrintGraphPortint4445Runtime
Port part of the address to which graphs are dumped in binary format. 
PrintGraphWithScheduleboolfalseRuntime
Schedule graphs as they are dumped.
PrintGraphStringFileRuntime
Where IdealGraphVisualizer graph dumps triggered by Dump or DumpOnError should be written. [Extra help available] 
PrintHeapHistogramboolfalseHosted
Print class statistics of native image heap.
PrintHeapShapeboolfalseRuntime
Print the shape of the heap before and after each collection, if +VerboseGC.
PrintIRWithLIRboolfalseRuntime
Print HIR along side LIR as the latter is generated.
PrintImageElementSizesboolfalseHosted
Print the sizes of the elements of the built image.
PrintImageHeapPartitionSizesboolfalseHosted
Print the sizes of the native image heap as the image is built.
PrintImageObjectTreeboolfalseRuntime
Print image object hierarchy.
PrintJNIMethodsboolfalseHosted
Print JNI methods added to generated image.
PrintLIRWithAssemblyboolfalseRuntime
Include the LIR as comments with the final assembly.
PrintMethodHistogramboolfalseHosted
Print statistics of methods in native image heap.
PrintPointsToStatisticsboolfalseRuntime
Report analysis statistics.
PrintProfilingInformationboolfalseRuntime
Print profiling information when parsing a method's bytecode.
PrintRestrictHeapAccessPathbooltrueHosted
Print path for @RestrictHeapAccess warnings.
PrintRestrictHeapAccessWarningsbooltrueHosted
Print warnings for @RestrictHeapAccess annotations.
PrintRuntimeCompileMethodsboolfalseHosted
Print call tree of methods available for runtime compilation.
PrintStaticTruffleBoundariesboolfalseHosted
Print truffle boundaries found during the analysis.
PrintSynchronizedAnalysisboolfalseRuntime
Print types used for Java synchronization.
PrintUninterruptibleCalleeDOTGraphboolfalseHosted
Print (to stderr) a DOT graph of the @Uninterruptible annotations.
PrintUniverseboolfalseHosted
Print information about classes, methods, and fields that are present in the native image.
ProbabilisticProfilingbooltrueRuntime
Control probabilistic profiling on AMD64.
ProfileAllocationsContextStringAllocatingMethodRuntime
Control the naming and granularity of the counters when using ProfileAllocations. [Extra help available]
ProfileAllocationsboolfalseRuntime
Enable profiling of allocation sites.
ProfileAnalysisOperationsboolfalseRuntime
Track the progress of the static analysis.
ProfileBackedgesbooltrueRuntime
Emit profiling of backedges.
ProfileCompiledMethodsboolfalseRuntime
ProfileConstantObjectsboolfalseRuntime
Track the creation of constant objects.
ProfileDeoptimizationboolfalseHosted
Print logging information during object file writing.
ProfileInvokesbooltrueRuntime
Emit profiling of invokes.
ProfileMonitorsboolfalseRuntime
Enable profiling of monitor operations.
ProfileSimpleMethodsbooltrueRuntime
Profile simple methods.
QueryCodeDir""Hosted
Directory where query code for target platform should be output. 
RawConditionalEliminationbooltrueRuntime
ReadEliminationMaxLoopVisitsint5Runtime
ReassociateExpressionsbooltrueRuntime
Re-associate loop invariants and constants.
ReduceDCEbooltrueRuntime
Disable optional dead code eliminations.
ReflectionConfigurationFilesString*Hosted
One or several (comma-separated) paths to JSON files that specify which program elements should be made available via 
reflection. [Extra help available]
ReflectionConfigurationResourcesString*Hosted
Resources describing program elements to be made available for reflection (see ReflectionConfigurationFiles).
ReflectionPluginTracingboolfalseHosted
Enable trace logging for reflection plugins.
RegisterPressureStringNoneRuntime
Comma separated list of registers that register allocation is limited to.
RelaxTypeFlowStateConstraintsbooltrueRuntime
Allow a type flow state to contain types not compatible with its declared type.
RemoveNeverExecutedCodebooltrueRuntime
RemoveSaturatedTypeFlowsbooltrueRuntime
Enable the type flow saturation analysis performance optimization.
RemoveUnusedSymbolsbooltrueHosted
Use linker option to prevent unreferenced symbols in image.
ReplaceInputsWithConstantsBasedOnStampsbooltrueRuntime
ReportAnalysisForbiddenTypeString*Hosted
Report error if [:{,}] is discovered during analysis (valid values for UsageKind: 
InHeap, Allocated, Reachable).
ReportExceptionStackTracesboolfalseHosted
Show exception stack traces for exceptions during image building.).
ReportPerformedSubstitutionsboolfalseHosted
Report performed substitutions.
ReportUnsafeOffsetWarningsboolfalseHosted
Print unsafe operation offset warnings.).
ReportUnsupportedElementsAtRuntimeboolfalseHosted
Report usage of unsupported methods and fields at run time when they are accessed the first time, instead of as an error 
during image building.
ResourceConfigurationFilesString*Hosted
Files describing Java resources to be included in the image. 
ResourceConfigurationResourcesString*Hosted
Resources describing Java resources to be included in the image. 
ReturnAfterAnalysisboolfalseHosted
Return after analysis.
ReturnSpecialRegsbooltrueHosted
Return special registers from functions in LLVM bitcode. This may decrease performance if the target doesn't support 
returning multiple values from a function.
RuntimeAssertionsString*Hosted
Enable or disable Java assert statements at run time. 
RuntimeSystemAssertionsboolfalseHosted
Enable or disable Java system assertions at run time.
SafepointPromptnessFailureNanosint0Runtime
Exit the VM if I can not come to a safepoint in this many nanoseconds. 0 implies forever. 
SafepointPromptnessWarningNanosint0Runtime
Print a warning if I can not come to a safepoint in this many nanoseconds. 0 implies forever. 
ScanObjectsParallelbooltrueRuntime
Object scanning in parallel.
SerializationConfigurationFilesString*Hosted
One or several (comma-separated) paths to JSON files that specify lists of serialization configurations. [Extra help 
available]
SerializationConfigurationResourcesString*Hosted
Resources describing program elements to be made available for serialization (see SerializationConfigurationFiles).
SerializationDenyConfigurationFilesString*Hosted
One or several (comma-separated) paths to JSON files that specify lists of serialization configurations. [Extra help
available]
SerializationDenyConfigurationResourcesString*Hosted
Resources describing program elements that must not be made available for serialization.
ServiceLoaderFeatureExcludeServiceProvidersString*Hosted
Comma-separated list of service providers that should be excluded.
ServiceLoaderFeatureExcludeServicesString*Hosted
Comma-separated list of services that should be excluded.
SharedLibraryboolfalseHosted
Build shared library.
ShowConfigurationStringnoneRuntime
Writes to the VM log information about the compiler configuration selected. 
ShowDumpFilesboolfalseRuntime
Print the name of each dump file path as it's created.
ShowSubstitutionSourceInfoboolfalseRuntime
Controls 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.
SimpleFastInflatedLockingbooltrueRuntime
Handle simple cases for inflated monitors in the fast-path.
SimpleMethodCallsint1Runtime
Maximum number of calls in a simple method. 
SimpleMethodGraphSizeint256Runtime
Maximum number of nodes in a graph for a simple method. 
SimpleMethodIndirectCallsint0Runtime
Maximum number of indirect calls in a simple moethod. 
SmallCompiledLowLevelGraphSizeint330Runtime
If the previous low-level graph size of the method exceeds the threshold, it is not inlined. 
SnippetCountersboolfalseRuntime
Enable counters for various paths in snippets.
SoftRefLRUPolicyMSPerMBint1000Hosted
Soft references: this 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.
SpawnIsolatesboolHosted
Support multiple isolates. 
SpectrePHTBarriersStringNoneRuntime
Select a strategy to mitigate speculative bounds check bypass (aka Spectre-PHT or Spectre V1). [Extra help available] 
SpectrePHTIndexMaskingboolfalseRuntime
Mask indices to scope access to allocation size after bounds check.
SpeculativeGuardMovementbooltrueRuntime
Move loop invariant guards (e.g., array bounds checks) out of loops.
StackRedZoneSizeint8192Hosted
Size (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.
StackSizeint0Runtime
The size of each thread stack at run-time, in bytes. 
StackTracebooltrueHosted
Provide method names for stack traces.
StackYellowZoneSizeint32768Hosted
Size (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.
StartFlightRecording""Runtime
Start flight recording with options. 
StaticExecutableWithDynamicLibCboolfalseHosted
Builds a statically linked executable with libc dynamically linked.
StaticExecutableboolfalseHosted
Build statically linked executable (requires static libc and zlib).
StressExplicitExceptionCodeboolfalseRuntime
Stress the code emitting explicit exception throwing code.
StressInvokeWithExceptionNodeboolfalseRuntime
Stress the code emitting invokes with explicit exception edges.
StressTestEarlyReadsboolfalseRuntime
Stress the code by emitting reads at earliest instead of latest point.
StrictQueryCodeCompilationbooltrueHosted
Use strict checks when performing query code compilation.
StringIndexOfLimitint4096Runtime
String.indexOf invocations will be evaluated at compile time if the receiver is a constant and its length is lower than 
this value.
SubstitutionFilesString*Hosted
Comma-separated list of file names with declarative substitutions. 
SubstitutionResourcesString*Hosted
Comma-separated list of resource file names with declarative substitutions. 
SupportCompileInIsolatesboolHosted
Support runtime compilation in separate isolates (enable at runtime with option CompileInIsolates). 
SupportJsrBytecodesbooltrueRuntime
SupportOSRWithLocksbooltrueRuntime
Support 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.
SupportRecurringCallbackbooltrueHosted
Support a per-thread timer that is called at a specific interval.
SuppressStderrboolfalseHosted
Suppress console error output for unittests.
SuppressStdoutboolfalseHosted
Suppress console normal output for unittests.
TargetPlatform""Hosted
Selects native-image compilation target (in - format). Defaults to host's OS-architecture pair. 
TearDownFailureNanosint0Runtime
The number of nanoseconds before tearing down an isolate gives a failure message. 0 implies no message. 
TearDownWarningNanosint0Runtime
The number of nanoseconds before and between which tearing down an isolate gives a warning message. 0 implies no 
warning.
TempDirectory""Hosted
Directory 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.
TestFile""Hosted
ThrowUnsafeOffsetErrorsbooltrueHosted
Throw unsafe operation offset errors.).
TierABackedgeNotifyFreqLogint16Runtime
Backedge notification frequency. 
TierABackedgeProfileProbabilityLogint12Runtime
Backedge profile probability. 
TierAInvokeInlineeNotifyFreqLogint-1Runtime
Inlinee invocation notification frequency (-1 means count, but do not notify). 
TierAInvokeNotifyFreqLogint13Runtime
Invocation notification frequency. 
TierAInvokeProfileProbabilityLogint8Runtime
Invocation profile probability. 
TieredAOTboolfalseRuntime
Do profiling and callbacks to tiered runtime.
TimeStringNoneRuntime
Pattern for specifying scopes in which timing is enabled. See the Dump option for the pattern syntax. An empty value 
enables all timers unconditionally.
TimedDynamicCountersint-1Runtime
Turn on the benchmark counters, and displays the results every n milliseconds. 
TimersStringNoneRuntime
Comma separated names of timers that are enabled irrespective of the value for Time option. An empty value enables all 
timers unconditionally.
TraceBytecodeParserLevelint0Runtime
The 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.
TraceClassInitialization""Hosted
Comma-separated list of fully-qualified class names that class initialization is traced for. 
TraceCodeCacheboolfalseRuntime
Print logging information for runtime code cache modifications.
TraceDeoptimizationDetailsboolfalseRuntime
Print verbose logging information for every deoptimization.
TraceDeoptimizationboolfalseRuntime
Print logging information for every deoptimization.
TraceEscapeAnalysisboolfalseRuntime
TraceExceptionHandlerStubboolfalseRuntime
Trace execution of stub used to handle an exception thrown by a callee.
TraceHeapChunksboolfalseRuntime
Trace heap chunks during collections, if +VerboseGC and +PrintHeapShape.
TraceInlineDuringParsingboolfalseRuntime
Traces inlining performed during bytecode parsing.
TraceInliningForStubsAndSnippetsboolfalseRuntime
Enable inlining decision tracing in stubs and snippets.
TraceInliningboolfalseRuntime
Enable tracing of inlining decisions.
TraceLIRGeneratorLevelint0Runtime
The trace level for the LIR generator. 
TraceLocalizationFeatureboolfalseHosted
When enabled, localization feature details are printed.
TraceLoggingFeatureboolfalseHosted
When enabled, logging feature details are printed.
TraceMonitorsMethodFilterStringNoneRuntime
Trace monitor operations in methods whose fully qualified name contains this substring.
TraceMonitorsTypeFilterStringNoneRuntime
Trace monitor operations on objects whose type contains this substring.
TraceNativeToolUsageboolfalseHosted
Trace all native tool invocations as part of image building.
TraceObjectInstantiation""Hosted
Comma-separated list of fully-qualified class names that object instantiation is traced for. 
TraceParserPluginsboolfalseRuntime
Traces use of plugins during bytecode parsing.
TraceSecurityServicesboolfalseHosted
Enable tracing of security services automatic registration.
TraceServiceLoaderFeatureboolfalseHosted
When enabled, each service loader resource and class will be printed out to standard output.
TraceUnwindStubboolfalseRuntime
Trace execution of the stub that routes an exception to a handler in the calling frame.
TraceVMOperationsboolfalseHosted
Trace VMOperation execution.
TrackAccessChainboolfalseRuntime
Track the callers for methods and accessing methods for fields.
TrackInputFlowsboolfalseRuntime
Track the input for type flows.
TrackMemUseStringNoneRuntime
Pattern 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.
TrackNodeInsertionboolfalseRuntime
Track source stack trace where a node was inserted into the graph.
TrackNodeSourcePositionboolfalseRuntime
Track the NodeSourcePosition.
TreatRuntimeCodeInfoReferencesAsWeakbooltrueHosted
Determines if references from runtime-compiled code to Java heap objects should be treated as strong or weak.
TrivialInliningSizeint10Runtime
Graphs with less than this number of nodes are trivial and therefore always inlined. 
TruffleCheckBlackListedMethodsbooltrueHosted
Fail if a method known as not suitable for partial evaluation is reachable for runtime compilation.
TruffleCheckFrameImplementationbooltrueHosted
Enforce that the Truffle runtime provides the only implementation of Frame.
TruffleCheckNeverPartOfCompilationbooltrueHosted
Check that CompilerAsserts.neverPartOfCompilation is not reachable for runtime compilation.
TruffleCompilerConfigurationStringNoneRuntime
Select a compiler configuration for Truffle compilation (default: use Graal system compiler configuration).
TruffleInlineDuringParsingbooltrueHosted
Inline trivial methods in Truffle graphs during native image generation.
TruffleMultiThreadedbooltrueHosted
Enable support for Truffle background compilation.
TrufflePropagateCompilationErrorsboolfalseHosted
Propagate Truffle compilation errors.
TrustFinalDefaultFieldsbooltrueRuntime
Determines whether to treat final fields with default values as constant.
TypeCheckMaxHintsint2Runtime
The 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.
TypeCheckMinProfileHitProbabilitydouble0.5Runtime
If 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.
TypeFlowSaturationCutoffint20Runtime
The maximum number of types recorded in a type flow. -1 indicates no limitation. 
UnresolvedIsErrorbooltrueRuntime
Report unresolved elements as errors.
UnrollMaxIterationsint16Runtime
UnsafeAutomaticSubstitutionsLogLevelint1Hosted
Unsafe automatic substitutions logging level: Disabled=0, Basic=1, Info=2, Debug=3.). 
UnsafeOffsetWarningsAreFatalboolfalseHosted
Print unsafe operation offset warnings.).
UseBranchesWithin32ByteBoundaryboolfalseRuntime
Force 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.
UseCAPCacheboolfalseHosted
Indicate the C Annotation Processor to use previously cached native information when generating C Type information.
UseCalleeSavedRegistersbooltrueHosted
Use callee saved registers to reduce spilling for low-frequency calls to stubs (if callee saved registers are supported 
by the architecture).
UseCompilationStatisticsboolfalseRuntime
Enables CompilationStatistics.
UseContainerSupportbooltrueHosted
Enable detection and runtime container configuration support.
UseDedicatedVMOperationThreadboolfalseHosted
Determines if VM operations should be executed in a dedicated thread.
UseEncodedGraphsboolfalseRuntime
Encode and decode snippets and substitutions before parsing to test libgraal code path. This option is ignored in the 
context of libgraal.
UseEpsilonGCboolfalseHosted
Use a no-op GC.
UseExceptionProbabilitybooltrueRuntime
UseGraalStubsbooltrueRuntime
Use Graal-generated stubs for complicated LIR operations instead of embedding all the emitted code.
UseLibCStringNoneHosted
Selects the libc implementation to use. Available implementations: glibc, musl, bionic.
UseLoomboolfalseHosted
Build with Loom JDK.
UseLoopLimitChecksbooltrueRuntime
UseReferenceHandlerThreadboolfalseHosted
Populate reference queues in a separate thread rather than after a garbage collection.
UseRememberedSetbooltrueHosted
Determines if a remembered sets is used, which is necessary for collecting the young and old generation independently.
UseSerialGCbooltrueHosted
Use a serial GC.
UseServiceLoaderFeaturebooltrueHosted
Automatically register services for run-time lookup using ServiceLoader.
UseSnippetGraphCachebooltrueRuntime
Use a cache for snippet graphs.
UseSnippetTemplateCachebooltrueRuntime
Use a LRU cache for snippet templates.
UseTrappingNullChecksbooltrueRuntime
Use traps for null checks instead of explicit null-checks.
UseTypeCheckHintsbooltrueRuntime
VerboseGCboolfalseRuntime
Print more information about the heap before and after each collection.
VerifyBalancedMonitorsboolfalseRuntime
Emit extra code to dynamically check monitor operations are balanced.
VerifyDeoptimizationEntryPointsboolfalseHosted
Verify that all possible deoptimization entry points have been properly compiled and registered in the metadata.
VerifyGraalGraphEdgesboolfalseRuntime
Perform expensive verification of graph inputs, usages, successors and predecessors.
VerifyGraalGraphsbooltrueRuntime
Verify graphs often during compilation when assertions are turned on.
VerifyGraalPhasesSizeboolfalseRuntime
Verify before - after relation of the relative, computed, code size of a graph.
VerifyHeapAtReturnboolfalseRuntime
Perform platform dependent validation of the Java heap at returns.
VerifyHeapboolfalseHosted
Verify the heap before and after each collection.
VerifyKillCFGUnusedNodesboolfalseRuntime
Verify that there are no new unused nodes when performing killCFG.
VerifyNamingConventionsboolfalseHosted
Verify naming conventions during image construction.
VerifyPhasesboolfalseRuntime
VerifyReferencesbooltrueHosted
Verify all object references if VerifyHeap is enabled.
VerifyRememberedSetbooltrueHosted
Verify the remembered set if VerifyHeap is enabled.
VerifyStringNoneRuntime
Pattern for specifying scopes in which logging is enabled. See the Dump option for the pattern syntax.
WriteableCodeCacheboolfalseRuntime
Allocate code cache with write access, allowing inlining of objects.
ZapChunksboolfalseHosted
Fill unused memory chunks with a sentinel value.
ZapConsumedHeapChunksboolfalseHosted
After use, Fill memory chunks with a sentinel value.
ZapProducedHeapChunksboolfalseHosted
Before use, fill memory chunks with a sentinel value.
ZapStackOnMethodEntryboolfalseRuntime
Default: - (disabled). 
[total]:   1,747.75 ms,  1.17 GB