AOTInline | bool | true | Hosted | Deprecated. |
AOTPriorityInline | bool | true | Hosted | Enable use of priority inlining during AOT compilation. |
AOTTrivialInline | bool | true | Hosted | Perform trivial method inlining in the AOT compiled native image. |
APIFunctionPrefix | String | "graal_" | Hosted | Prefix that is added to the names of API functions. |
AbortOnBenchmarkCounterOverflow | bool | false | Runtime | Abort VM with SIGILL if benchmark counters controlled by the (Generic|Timed|Benchmark)DynamicCounters. |
AbortOnFieldReachable | String | * | Hosted | Print a trace and abort the build process if any field matching the specified pattern becomes reachable. |
AbortOnMethodReachable | String | * | Hosted | Print a trace and abort the build process if any method matching the specified pattern becomes reachable. |
AbortOnTypeReachable | String | * | Hosted | Print a trace and abort the build process if any type matching the specified pattern becomes reachable. |
ActiveProcessorCount | int | -1 | Runtime | Overwrites the available number of processors provided by the OS. Any value <= 0 means using the processor count from
the OS. |
AddAllCharsets | bool | false | Hosted | Make all hosted charsets available at run time. |
AddAllFileSystemProviders | bool | true | Hosted | Make all supported providers returned by FileSystemProvider.installedProviders() available at run time. |
AddExports | String | * | Hosted | Value /=(,)* updates to export to ,
regardless of module declaration. can be ALL-UNNAMED to export to all unnamed modules. |
AddOpens | String | * | Hosted | Value /=(,)* updates to open to ,
regardless of module declaration. |
AddReads | String | * | Hosted | Value =(,)* updates to read , regardless of module
declaration. can be ALL-UNNAMED to read all unnamed modules. |
AdditionalHeaderBytes | int | 0 | Hosted | Add additional header bytes to each object, for diagnostic purposes. |
AdditionalSecurityProviders | String | * | 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. |
AdditionalSecurityServiceTypes | String | * | Hosted | Comma-separated list of additional security service types (fully qualified class names) for automatic registration. Note
that these must be JCA compliant. |
AdoptedPGOEnabled | String | * | Hosted | A comma-separated list of file paths containing the adopted profiles. We profile frequently used code (e.g., the Java
standard library), and cache collected profiles. Adopted profiles then enable the PGO without the profiling. . |
AggregatedMetricsFile | String | None | Runtime | 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. |
AliasArrayTypeFlows | bool | true | Runtime | Model all array type flows using a unique elements type flow abstraction. |
AlignedHeapChunkSize | int | 524288 | Hosted | The size of an aligned chunk. Serial and epsilon GC only. |
AllocateInstancePrefetchLines | int | 1 | Hosted | Number of cache lines to load after the object address using prefetch instructions. |
AllocatePrefetchDistance | int | 192 | Hosted | 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. |
AllocatePrefetchInstr | int | 0 | Hosted | 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. |
AllocatePrefetchLines | int | 4 | Hosted | Number of cache lines to load after the array allocation using prefetch instructions. |
AllocatePrefetchStepSize | int | 64 | Hosted | Sets the step size (in bytes) for sequential prefetch instructions. |
AllocatePrefetchStyle | int | 1 | Hosted | 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. |
AllocationProfilingThreshold | int | 1048576 | Runtime | The minimum size in bytes required for printing an allocation profiling entry. |
AllocationProfiling | bool | false | Hosted | Enable runtime profiling of allocation. |
AllocationSiteSensitiveHeap | bool | false | Runtime | A context sensitive heap means that each heap allocated object is modeled by using at least the allocation site. |
AllowDeprecatedAutomaticFeature | bool | true | Hosted | Allow using deprecated @AutomaticFeature annotation. If set to false, an error is shown instead of a warning. |
AllowDeprecatedBuilderClassesOnImageClasspath | bool | false | Hosted | Instead of abort, only warn if image builder classes are found on the image class-path. |
AllowDeprecatedInitializeAllClassesAtBuildTime | bool | false | Hosted | Instead of abort, only warn if --initialize-at-build-time= is used. |
AllowFoldMethods | bool | false | Hosted | Allow MethodTypeFlow to see @Fold methods. |
AllowIncompleteClasspath | bool | false | Hosted | Deprecated. |
AllowJRTFileSystem | bool | false | Hosted | Enable support for reading Java modules (jimage format) and the jrt:// file system. Requires java.home to be set at
runtime. |
AllowVMInspection | bool | false | Hosted | Enables features that allow the VM to be inspected during run time. |
AllowVMInternalThreads | bool | true | Hosted | Determines if VM internal threads (e.g., a dedicated VM operation or reference handling thread) are allowed in this
image. |
AlwaysInlineIntrinsics | bool | false | Runtime | Unconditionally inline intrinsics. |
AlwaysInlineVTableStubs | bool | false | Runtime | |
AlwaysPreTouch | bool | false | Runtime | Force all freshly committed pages to be pre-touched. G1 GC only. |
AnalysisContextSensitivity | String | "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). |
AnalysisSizeCutoff | int | 8 | Runtime | The maximum size of type and method profiles returned by the static analysis. -1 indicates no limitation. |
ArrayRegionEqualsConstantLimit | int | 4096 | Runtime | Array region equality checks will be evaluated at compile time if the receiver is a constant and its length is smaller
than this value. |
AssertInitializationSpecifiedForAllClasses | bool | false | Hosted | Assert class initialization is specified for all classes. |
AsyncSignalSafeDiagnostics | bool | false | Hosted | Only print diagnostic output that is async signal safe. |
AutomaticReferenceHandling | bool | true | Runtime | Determines if the reference handling is executed automatically or manually. |
AutomaticUnsafeTransformationLogLevel | int | 1 | Hosted | Automatic unsafe field value transformation logging level: Disabled=0, Basic=1, Info=2, Debug=3.). |
AuxiliaryEngineCache | bool | false | Hosted | Enable the auxiliary engine cache features at runtime. |
BaseTargetSpending | int | 120 | Runtime | The base target spending used to estimate the inlining threshold; the higher, the likelier it is to inline. |
BenchmarkCounterPrintingCutoff | bool | true | Runtime | Use a cutoff to print only most significant counters. |
BenchmarkCountersDumpDynamic | bool | true | Runtime | Dump dynamic counters. |
BenchmarkCountersDumpStatic | bool | false | Runtime | Dump static counters. |
BenchmarkCountersFile | String | None | Runtime | 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. |
BenchmarkDynamicCounters | String | None [Extra help available] | Runtime | Turn on the benchmark counters. The format of this option is:. |
BlindConstants | bool | false | Runtime | Blind constants in code with a random key. |
BootstrapInitializeOnly | bool | false | Runtime | Do not compile anything on bootstrap but just initialize the compiler. |
BootstrapTimeout | double | 15.0 | Runtime | Maximum time in minutes to spend bootstrapping (0 to disable this limit). |
BootstrapWatchDogCriticalRateRatio | double | 0.25 | Runtime | Ratio of the maximum compilation rate below which the bootstrap compilation rate must not fall (0 or less disables
monitoring). |
BreakChainedPhis | bool | true | Runtime | Break chained phis. |
BuildOutputBreakdowns | bool | true | Hosted | Show code and heap breakdowns as part of the build output. |
BuildOutputColorful | bool | false | Hosted | Color build output (enabled by default if colors are supported by terminal). |
BuildOutputGCWarnings | bool | true | Hosted | Print GC warnings as part of build output. |
BuildOutputJSONFile | String | * | Hosted | Print build output statistics as JSON to the specified file. The output conforms to the JSON schema located at:
docs/reference-manual/native-image/assets/build-output-schema-v0.9.2.json. |
BuildOutputLinks | bool | false | Hosted | Show links in build output (defaults to the value of BuildOutputColorful). |
BuildOutputNativeImageOptionsEnvVarValue | String | None | Hosted | Internal option to forward the value of NATIVE_IMAGE_OPTIONS. |
BuildOutputPrefix | bool | false | Hosted | Prefix build output with ':'. |
BuildOutputProgress | bool | false | Hosted | Report progress in build output (default is adaptive). |
BuildOutputRecommendations | bool | true | Hosted | Show recommendations as part of the build output. |
BuildOutputSilent | bool | false | Hosted | Silence build output. |
BuildReportSamplerFlamegraph | bool | false | Hosted | Add sampler output in form of a flame graph to Native Image Build Report. |
BuildReport | bool | false | Hosted | Create a Native Image Build Report. |
CAIAggressiveColdCodeOptimizations | bool | false | Hosted | Determine if the optimizer should run aggressive optimizations on cold code (rarely executed code during the PGO run). |
CAIAggressivelyOptimizeHot | bool | true | Runtime | Perform more aggressive optimization on compilation units deemed to be hot. |
CAIApplyProfilesWhileExpanding | bool | true | Runtime | Apply sampling based profiles to candidates for inlining before doing the inlining. |
CAIColdCodeMaxInvocations | int | 3 | Hosted | Maximum number of invocations of a non-sampled method beyond which that method will be considered cold. Will result in
less optimizations performed on such compilation units. |
CAIHotBonusWhileExpanding | int | 50 | Runtime | Apply a bonus to the priority of hot cutoff nodes during exploration. Set to 0 to disable. |
CAIHotBonusWhileInlining | int | 0 | Runtime | Apply a bonus to the priority of hot nodes during inlining. Set to 0 to disable. |
CAIHotContextsRatio | double | 0.05 | Hosted | The minimal percentage of the total time that has to be spent in a method invoked from a calling-context to consider
them as hot. |
CAIPrintCallees | bool | false | Hosted | Whether to print the hot compilation units. |
CAPCacheDir | | "" | Hosted | Directory where information generated by the CAnnotation Processor are cached. |
CCompilerOption | String | * | Hosted | Provide custom C compiler option used for query code compilation. |
CCompilerPath | String | None | Hosted | Provide custom path to C compiler used for query code compilation and linking. |
CFI | String | NONE | Hosted | Options for configuring control flow integrity (CFI) enforcement. [Extra help available] |
CLibraryPath | String | * | Hosted | Search path for C libraries passed to the linker (list of comma-separated directories). |
CMoveALot | bool | false | Runtime | Perform CMove transformation on every IfNode possible. |
CPUFeatures | String | * | Hosted | 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. These features are in addition to -march. |
CStandard | String | "C89" | Hosted | C standard to use in header files. Possible values are 'C89', 'C99', and 'C11'. |
CallGraphCompilerNodeLimit | int | 35000 | Runtime | Controls the maximum number of compiler nodes that can appear in the call graph. |
CallGraphSizeLimit | int | 1200 | Runtime | Controls the maximum size of the call graph before ceasing inlining. |
CallGraphSizePenaltyCoefficient | double | 0.01 | Runtime | Reduces the likelihood of exploring call graph subtrees that are large. |
CanonicalGraphStringsCheckConstants | bool | false | Runtime | Exclude virtual nodes when dumping canonical text for graphs. |
CanonicalGraphStringsExcludeVirtuals | bool | true | Runtime | Exclude virtual nodes when dumping canonical text for graphs. |
CanonicalGraphStringsRemoveIdentities | bool | true | Runtime | Attempts to remove object identity hashes when dumping canonical text for graphs. |
CanonicalizerVerifyGVNAllowed | bool | true | Runtime | Verify if the current graph state allows GVN to be performed. |
CheckBootModuleDependencies | int | 1 | Hosted | Temporary option to disable checking of image builder module dependencies or increasing its verbosity. |
CheckIsolateThreadAtEntry | bool | false | Hosted | At CEntryPoints check that the passed IsolateThread is valid. |
CheckRecurringCallbackOnNativeToJavaTransition | bool | false | Hosted | Test whether a thread's recurring callback is pending on each transition from native code to Java. |
CheckToolchain | bool | true | Hosted | Check if native-toolchain is known to work with native-image. |
ClampMLInferredProfiles | bool | true | Hosted | Clamp the ML-inferred profiles. |
ClassInitialization | String | * | 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. |
ClearMetricsAfterBootstrap | bool | false | Runtime | Clear the debug metrics after bootstrap. |
CodeAlignment | int | 16 | Hosted | Alignment of AOT and JIT compiled code in bytes. |
CodeCacheCounters | bool | false | Hosted | Count accesses to the image and runtime code info table. |
CodeInfoEncoderCounters | bool | false | Hosted | Statistics about code and deoptimization information. |
CodeInfoIndexGranularity | int | 256 | Hosted | 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. |
CodeSectionLayoutOptimizationClosestIsBestGraphSize | int | 4000 | Hosted |
When code-section layout optimization is on, specify size of the graph used for closest-is-best algorithm. |
CodeSectionLayoutOptimizationSizeLimit | bool | true | Hosted | When code-section layout optimization is on, define if a size limit within closest-is-best algorithm is used. |
CodeSectionLayoutOptimization | String | None | Hosted | Enable code-section layout optimization when writing the native image (optimization valid only with --pgo). |
CollectImageBuildStatistics | bool | false | Runtime | Collect information during image build about devirtualized invokes and bytecode exceptions. |
CollectYoungGenerationSeparately | bool | false | Runtime | Determines if a full GC collects the young generation separately or together with the old generation. Serial GC only. |
Color | String | "auto" | Hosted | Color build output ('always', 'never', or 'auto'). |
CompilationBailoutAsFailure | bool | false | Runtime | Treat compilation bailouts like compilation failures. |
CompilationCountLimit | int | 0 | Runtime | The number of compilations allowed for any method before the VM exits (a value of 0 means there is no limit). |
CompilationExcludePhases | String | None | Runtime | Exclude 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.:
CompilationExcludePhases=PartialEscape:Loop=A.*,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. |
CompilationExpirationPeriod | double | 300.0 | Runtime | 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. |
CompilationFailureAction | String | Silent | Runtime | Specifies the action to take when compilation fails. [Extra help available] |
CompilationIsolateAddressSpaceSize | int | 0 | Runtime | Size of the reserved address space of each compilation isolate (0: default for new isolates). |
CompilationNoProgressPeriod | double | 30.0 | Runtime | Time limit in seconds before a compilation expires (0 to disable the limit) because no progress was made in the
compiler. |
CompilationNoProgressStartTrackingProgressPeriod | double | 10.0 | Runtime |
Delay in seconds before compilation progress detection starts. |
CompilationWatchDogStartDelay | int | 0 | Runtime | Delay in seconds before watch dog monitors a compilation (0 disables monitoring). |
CompilationWatchDogVMExitDelay | int | 0 | Runtime | Number of seconds after which a compilation appearing to make no progress causes the VM to exit (0 disables VM exiting). |
CompileGraalWithC1Only | bool | true | Runtime | In tiered mode compile Graal and JVMCI using optimized first tier code. |
CompileInIsolates | bool | true | Runtime | Activate runtime compilation in separate isolates (enable support during image build with option
SupportCompileInIsolates). |
CompileInPerThreadReusedIsolates | bool | true | Runtime | Create one reusable isolate per compilation thread as opposed to one isolate per compilation (enable through
CompileInIsolates). |
CompilerBackend | String | "lir" | Hosted | Backend used by the compiler. |
CompilerConfiguration | String | None | Runtime | 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. |
CompilerNodePenaltyCoefficient | double | 0.006 | Runtime | Controls the likelihood of exploring subtrees that already have a lot of code during inlining. |
ConcGCThreads | int | 0 | Runtime | Number of concurrent GC threads G1 will use. |
ConditionalEliminationBeforeAnalysis | bool | true | Runtime | Run conditional elimination before static analysis. |
ConditionalEliminationMaxIterations | int | 4 | Runtime | |
ConditionalElimination | bool | true | Runtime | |
ConfigurationFileDirectories | String | * | Hosted | Directories directly containing configuration files for dynamic features at runtime. |
ConfigurationResourceRoots | String | * | Hosted | Resource path above configuration resources for dynamic features at runtime. |
ConfigureReflectionMetadata | bool | true | Hosted | Enable runtime instantiation of reflection objects for non-invoked methods. |
ConsiderVectorizableLoops | bool | true | Runtime | Consider the vectorizability of loop during the duplication of a merge inside a loop.There are rare cases where
duplication can destroy vectorization. |
ContendedPaddingWidth | int | 128 | Hosted | How many bytes to pad fields and classes marked @Contended with. |
ContextAwareInlining | bool | false | Hosted | Use PGO sampling data to do context aware inlining. |
CopyLanguageResources | bool | true | Hosted | Automatically copy the necessary language resources to the resources/languages directory next to the produced
image.Language resources for each language are specified in the native-image-resources.filelist file located in the
language home directory.If there is no native-image-resources.filelist file in the language home directory or the file
is empty, then no resources are copied. |
CopyPrimitiveElementArrays | bool | false | Hosted | Return copies of primitive element arrays when referencing them from native code. |
CostNewLiveVariable | int | 4 | Runtime | PullThroughPhiOptimization: Abstract cost for the creation of a new live value: new values can have a negativeimpact on
register allocation, therefore we penalize it. |
CostReductionFactorHotCode | double | 128.0 | Runtime | See CostReductionFactor. |
CostReductionFactor | double | 32.0 | Runtime | PullThroughPhiOptimization: Cost/Benefit heuristic for EE floating node duplication: reduce cost by a constant factor
when comparing with relative benefit. |
CountWriteBarriers | bool | false | Hosted | Instrument write barriers with counters. Serial GC only. |
Count | String | None | Runtime | Pattern for specifying scopes in which counters are enabled. See the Dump option for the pattern syntax. An empty value
enables all counters unconditionally. |
CountedStripMiningBudgetHotCode | double | 2.5 | Runtime | See CountedStripMiningBudget. |
CountedStripMiningBudget | double | 0.1 | Runtime | Code size budget of the strip mining transformation in terms of NodeCostSize. |
CountedStripMiningInnerLoopTrips | int | 4096 | Runtime | The max number of iterations the counted inner loop takes. |
CountedStripMiningLogCounters | bool | false | Runtime | Print counter phi values on each outer and inner loop iteration. |
CountedStripMiningMinFrequency | int | 4 | Runtime | Minimal frequency to consider a loop for strip mining. |
CountedStripMiningNodeSizeSmallGraphs | int | 2000 | Runtime |
Code size in NodeSize defining when code size heuristics starts capping strip mining. |
Counters | String | None | Runtime | Comma separated names of counters that are enabled irrespective of the value for Count option. An empty value enables
all counters unconditionally. |
CrashAt | String | None | Runtime | 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. |
CreateJvmShim | bool | false | Hosted | Create a `jvm` shim for native libraries that link against that library. |
CutoffCodeSizePenaltyCoefficient | String | 1.0E-5 | Runtime | Controls the likelihood of further exploring subtrees with a lot of code during inlining. |
DashboardAll | bool | false | Hosted | In the dashboard dump, include all available information about the native image (this takes precedence over more
specific flags). |
DashboardBgv | bool | true | Hosted | Set dashboard to use BGV format for dump. |
DashboardCode | bool | false | Hosted | In the dashboard dump, include the breakdown of the code size across different packages. |
DashboardDump | String | None | Hosted | Enable dashboard dumps to the specified file. |
DashboardHeap | bool | false | Hosted | In the dashboard dump, include the breakdown of the object sizes in the heap across different classes. |
DashboardJson | bool | false | Hosted | Set dashboard to use JSON format for dump. |
DashboardPointsTo | bool | false | Hosted | In the dashboard dump, include the information about the points-to analysis. |
DashboardPretty | bool | false | Hosted | Set dashboard to use pretty print in JSON format. |
DeadlockWatchdogExitOnTimeout | bool | true | Hosted | Exit the image builder VM after printing call stacks. |
DeadlockWatchdogInterval | int | 10 | Hosted | The interval in minutes between watchdog checks (0 disables the watchdog). |
DebugCodeInfoMaxDepth | int | 2147483647 | Hosted | Specify maximum inlining depth to consider when building DebugCodeInfo. |
DebugCodeInfoUseSourceMappings | bool | false | Hosted | Do not use SourceMappings for generating DebugCodeInfo (i.e. only use Infopoints). |
DebugInfoSourceCacheRoot | String | "sources" | Hosted | Directory under which to create source file cache for Application or GraalVM classes. |
DebugInfoSourceSearchPath | String | * | Hosted | Search path for source files for application or GraalVM classes (list of comma-separated directories or jar files). |
DebugPeelingSynonyms | bool | false | Runtime | Debug simulation synonyms during simulation-based loop peeling. |
DebugStubsAndSnippets | bool | false | Runtime | Enable debug output for stub code generation and snippet preparation. |
DefaultCharset | String | "UTF-8" | Hosted | Default charset of the image, by the default it is the same as the default charset of the image builder. |
DefaultLocale | String | "en-GB" | Hosted | Default locale of the image, by the default it is the same as the default locale of the image builder. |
DefaultLoopFrequency | double | 100.0 | Runtime | Default frequency for loops with unknown local frequency. |
DefaultUnswitchFactor | double | 0.7 | Runtime | Default unswitching factor for control split node with unkown profile data. |
DeleteLocalSymbols | bool | true | Hosted | Use linker option to remove all local symbols from image. |
DeoptALot | bool | false | Runtime | |
DeoptAfterOSR | bool | true | Runtime | Deoptimize OSR compiled code when the OSR entry loop is finished if there is no mature profile available for the rest of
the method. |
DeoptimizeAll | bool | false | Hosted | Compiles all methods as deoptimization targets for testing. |
DeoptsToDisableOptimisticOptimization | int | 40 | Runtime | |
DetailedAsserts | bool | false | Runtime | Enable expensive assertions if normal assertions (i.e. -ea or -esa) are enabled. |
DetectInvertedLoopsAsCounted | bool | true | Runtime | |
DetectUserDirectoriesInImageHeap | bool | false | Hosted | When set to true, the image generator verifies that the image heap does not contain a home directory as a substring. |
DevirtualizeHotCallees | bool | true | Runtime | Devirtualizes callees that are hot. |
DiagnoseDumpLevel | int | ":3" | Runtime | Specify the dump level if CompilationFailureAction#Diagnose is used.See CompilationFailureAction for details.
file:doc-files/CompilationFailureActionHelp.txt. |
DiagnosticBufferSize | int | 30 | Hosted | Specifies the number of entries that diagnostic buffers have. |
DiagnosticDetails | | "" | Runtime | Specifies 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. |
DiagnosticsDir | String | * | Hosted | Sets the dir where diagnostic information is dumped. |
DiagnosticsMode | bool | false | Hosted | Enables the diagnostic mode. |
DisableExplicitGC | bool | false | Runtime | Ignore calls to System.gc(). |
DisableIntercept | bool | false | Runtime | Disable intercepting exceptions in debug scopes. |
DisableIntrinsics | String | None | Runtime | Disable intrinsics matching the given method filter (see MethodFilter option for details). For example,
'DisableIntrinsics=String.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'). |
DisableTypeIdResultVerification | bool | true | Hosted | For internal purposes only. Disables type id result verification even when running with assertions enabled. |
DisableURLProtocols | String | * | Hosted | List of comma separated URL protocols that must never be included. |
DominatorUsageTreeMaxDepth | int | 16 | Runtime | |
DumpAfterEveryBCI | bool | false | Runtime | Dump the current graph after every bci to IGV. |
DumpAfterEveryLowering | bool | false | Runtime | Dump lowering after every node to igv. |
DumpDetailedNodeTypeStats | bool | false | Runtime | Gather statistics on local variables and their lifetimes relative to FrameStates. |
DumpEndVersusExitLoopFrequencies | bool | false | Runtime | Debug 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. |
DumpFoldedReflectionElements | bool | false | Hosted | Dump folded reflection elements. |
DumpHeapAndExit | bool | false | Runtime | Create a heap dump and exit. |
DumpHeap | String | * | Hosted | 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. |
DumpMethodsData | bool | false | Runtime | Dump a JSON array containing all methods included in the image and exit. |
DumpOnError | bool | false | Runtime | Send compiler IR to dump handlers on error. |
DumpOnPhaseChange | String | None | Runtime | 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. |
DumpOutlinedSBGraphs | bool | false | Hosted | Dump all graphs for outlined String, StringBuilder, and StringBuffer aggregations. |
DumpPath | String | "graal_dumps" | Runtime | The directory where various Graal dump files are written. |
DumpRuntimeCompilationOnSignal | bool | false | Hosted | Dumps all runtime compiled methods on SIGUSR2. |
DumpTargetInfo | bool | false | Hosted | Show native-toolchain information and image-build settings. |
DumpThreadStacksOnSignal | bool | false | Hosted | Dumps all thread stacktraces on SIGQUIT/SIGBREAK. |
Dump | String | None [Extra help available] | Runtime | Filter pattern for specifying scopes in which dumping is enabled. |
DumpingErrorsAreFatal | bool | false | Runtime | Treat any exceptions during dumping as fatal. |
DuplicateALot | bool | false | Runtime | Perform Duplications as long as there is any sane improvement. |
DuplicateMethods | bool | true | Runtime | Enable or Disable the Hot method duplication phase. |
DuplicationBudgetFactorHotCode | double | 2.5 | Runtime | See DuplicationBudgetFactor. |
DuplicationBudgetFactorLate | double | 0.5 | Runtime | Percentage in node cost graph size for the late duplication budget. Computed relative to the methods code size. |
DuplicationBudgetFactor | double | 0.25 | Runtime | Percentage in node cost graph size for the duplication budget. Computed relative to the methods code size. |
DuplicationCostReductionFactorHotCode | int | 256 | Runtime | See DuplicationCostReductionFactor. |
DuplicationCostReductionFactor | int | 64 | Runtime | Cost/Benefit heuristic for EE simulation-based code duplication: reduce cost by a constant factor when comparing with
relative benefit. |
DuplicationMinBranchFrequency | double | 0.66 | Runtime | Ignore low frequency branches during duplication. |
DynamicCountersPrintGroupSeparator | bool | true | Runtime | Use grouping separators for number printing. |
DynamicProxyConfigurationFiles | String | * | Hosted | One or several (comma-separated) paths to JSON files that specify lists of interfaces that define Java proxy classes.
[Extra help available] |
DynamicProxyConfigurationResources | String | * | Hosted |
Resources describing program elements to be made available for reflection (see ProxyConfigurationFiles). [Extra help
available] |
DynamicProxyTracing | bool | false | Hosted | Enable trace logging for dynamic proxy. |
EEPeelAlot | bool | false | Runtime | |
EagerSnippets | bool | false | Runtime | Eagerly construct extra snippet info. |
EarlyCodeEmissionOrder | bool | false | Runtime | Enable early code emission order computation instead of late code emission order computation. |
EarlyExpandCheckCast | bool | true | Runtime | Try to improve code generation by making checkcast operations better optimizable early in the compilation pipeline. |
EarlyGVN | bool | true | Runtime | Perform early global value numbering. |
EarlyLICM | bool | true | Runtime | Perform early loop invariant code motion. |
EmitStringSubstitutions | bool | true | Runtime | Emit substitutions for String methods. |
EnableAllSecurityServices | bool | false | Hosted | Add all security service classes to the generated image. |
EnableLoggingFeature | bool | true | Hosted | Enable the feature that provides support for logging. |
EnableMonitoringFeatures | String | * | Hosted | Enable monitoring features that allow the VM to be inspected at run time. Comma-separated list can contain 'heapdump',
'jfr', 'jvmstat', 'jmxserver' (experimental), 'jmxclient' (experimental), 'threaddump', or 'all' (deprecated behavior:
defaults to 'all' if no argument is provided). For example: '--enable-monitoring=heapdump,jfr'. |
EnablePLTGOT | bool | false | Hosted | Enables support for dynamic method address resolution. Should never be enabled directly. |
EnableSecurityServicesFeature | bool | true | Hosted | Enable automatic registration of security services. |
EnableSignalHandling | bool | true | Runtime | Enables signal handling. |
EnableURLProtocols | String | * | Hosted | List of comma separated URL protocols to enable. |
EnableWildcardExpansion | bool | true | Hosted | Enable wildcard expansion in command line arguments on Windows. |
EnforceMaxRuntimeCompileMethods | bool | false | Hosted | 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. |
EnterpriseCloneReadElimination | bool | true | Runtime | Try to eliminate array clone operations by handling clone operations in early read elimination. |
EnterpriseEAIterations | int | 3 | Runtime | Enterprise PEA Iterations. |
EnterpriseEarlyGVN | bool | true | Runtime | Perform an extended version of early global value numbering on a graph.Considers only graphs without floating guards. |
EnterpriseEarlyInversionGVN | bool | true | Runtime | Enterprise Loop Inversion for GVN. |
EnterpriseExactIVOpt | bool | true | Runtime | Try to improve counted loop detection by specially handling math exact operations with code duplication. |
EnterprisePartialUnroll | bool | true | Runtime | Enable EE version of partial loop unrolling that considers more loop shapes for unrolling. |
EnterpriseRCELogRangeCheckValues | bool | false | Runtime | Log all range check sub values to stdout. |
EnterpriseRangeCheckElimination | bool | true | Runtime | Perform range check elimination for java long type range checks. |
EnterpriseReadElimination | bool | true | Runtime | Run more read eliminations early in the compilation pipeline. |
EntryPointNamePrefix | | "" | Hosted | Prefix that is added to the names of entry point methods. |
ErgoHeapSizeLimit | int | 0 | Runtime | Maximum ergonomically set heap size (in bytes); zero means use MaxRAM * MaxRAMPercentage / 100. G1 GC only. |
ErrorFile | String | "svm_err_b_%t_pid%p.md" | Hosted | If an error occurs, save a build error report to this file [default: svm_err_b_%t_pid%p.md] (%p replaced with pid, %t
with timestamp).). |
EscapeAnalysisBeforeAnalysis | bool | true | Runtime | Run partial escape analysis on compiler graphs before static analysis. |
EscapeAnalysisIterations | int | 2 | Runtime | |
EscapeAnalysisLoopCutoff | int | 20 | Runtime | |
EscapeAnalyzeOnly | String | None | Runtime | |
ExactFullUnrollMaxNodes | int | 800 | Runtime | |
ExactPartialUnrollMaxNodes | int | 200 | Runtime | |
ExcludeFunctionFromDuplication | String | None | Runtime | Exclude compilations that MethodFilter.match this string from the duplication optimization. |
ExcludeResources | String | * | Hosted | Regexp to match names of resources to be excluded from the image. |
ExitAfterAnalysis | bool | false | Hosted | Exit after analysis. |
ExitAfterCAPCache | bool | false | Hosted | Exit image generation after C Annotation Processor Cache creation. |
ExitAfterQueryCodeGeneration | bool | false | Hosted | Output query code for target platform without executing it. |
ExitAfterRelocatableImageWrite | bool | false | Hosted | Exit after writing relocatable file. |
ExitOnOutOfMemoryError | bool | false | Runtime | Exit on the first occurrence of an out-of-memory error that is thrown because the Java heap is out of memory. |
ExpandAllProximityBonusInertia | double | 2.0 | Runtime | The inertia at which the expand-all proximity bonus decreases with the number of yet unexpanded nodes. |
ExpandAllProximityBonus | double | 6.0 | Runtime | The decrease in call graph expansion pressure when there are few call nodes left to explore. |
ExpansionInertiaBaseValue | int | 550 | Runtime | The slowness at which the expansion pressure grows with code size; the higher it is, the slower the pressure growth. |
ExpansionInertiaInvokeBonus | int | 14 | Runtime | The extra slowness at which the expansion pressure grows with the code size, for each extra invoke node. |
ExpansionInertiaMax | int | 2000 | Runtime | The max slowness at which the expansion pressure grows with the code size. |
ExpectedEdenSize | int | 33554432 | Runtime | Soft upper limit for used eden size. The hinted GC will be performed if the used eden size exceeds this value. |
ExplicitGCInvokesConcurrent | bool | false | Runtime | A System.gc() request invokes a concurrent collection. G1 GC only. |
ExtendedAsserts | bool | false | Runtime | Enable extended asserts which slow down analysis. |
FailedLoopExplosionIsFatal | bool | false | Runtime | Do not bail out but throw an exception on failed loop explosion. |
FallbackExecutorClasspath | String | None | Hosted | Internal option used to specify Classpath for FallbackExecutor. |
FallbackExecutorJavaArg | String | * | Hosted | Internal option used to specify java arguments for FallbackExecutor. |
FallbackExecutorMainClass | String | None | Hosted | Internal option used to specify MainClass for FallbackExecutor. |
FallbackExecutorRuntimeJavaArg | String | * | Runtime | Internal option used to specify runtime java arguments for FallbackExecutor. |
FallbackExecutorSystemProperty | String | * | Hosted | Internal option used to specify system properties for FallbackExecutor. |
FallbackThreshold | int | 5 | Hosted | Define when fallback-image generation should be used. |
Features | String | * | Hosted | A comma-separated list of fully qualified Feature implementation classes. |
FlightRecorderLogging | String | "all=warning" | Runtime | Usage: -XX:FlightRecorderLogging=[tag1[+tag2...][*][=level][,...]]. [Extra help available] |
FlightRecorder | bool | false | Runtime | Enable Java Flight Recorder. |
FloatingDivNodes | bool | true | Runtime | Try to float non-constant division operations to expose global value numbering of divisions. |
FoldSecurityManagerGetter | bool | true | Hosted | Fold SecurityManager getter. |
ForceAdversarialLayout | bool | false | Runtime | Place 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. |
ForceDumpGraphsBeforeCompilation | bool | false | Runtime | Force-dump graphs before compilation. |
ForceExplicitReachabilityFence | bool | false | Runtime | Force an explicit compiler node for Reference.reachabilityFence, instead of relying on FrameState liveness. |
ForceGuardHoistingLoopDuplicationWithoutPGO | bool | false | Runtime | Consider methods for guard hoisting loop duplication even if not using PGO. |
ForceNoROSectionRelocations | bool | false | Hosted | Use only a writable native image heap (requires ld.gold linker). |
ForceUnroll | bool | false | Runtime | Force partial unrolling of loops if at all possible. |
ForeignAPISupport | bool | false | Hosted | Support for calls via the Java Foreign Function and Memory API. |
ForeignConfigurationFiles | String | * | Hosted | Files describing stubs allowing foreign calls. |
ForeignResources | String | * | Hosted | Resources describing stubs allowing foreign calls. |
FrameStateLivenessStatistics | bool | false | Runtime | Gather statistics on local variables and their lifetimes relative to FrameStates. |
FullUnrollAsPEACleanup | bool | true | Runtime | Perform full unrolling as a Partial Escape Analysis Cleanup. |
FullUnrollCodeSizeBudgetFactorForLargeGraphs | double | 2.0 | Runtime |
Maximum factor by which full unrolling can increase code size for large graphs. The FullUnrollSmallGraphThreshold option
determines which graphs are small. |
FullUnrollCodeSizeBudgetFactorForSmallGraphs | double | 10.0 | Runtime |
Maximum factor by which full unrolling can increase code size for small graphs. The FullUnrollSmallGraphThreshold option
determines which graphs are small. |
FullUnrollConstantCompareBoost | int | 15 | Runtime | |
FullUnrollMaxApplication | int | 60 | Runtime | |
FullUnrollMaxIterations | int | 600 | Runtime | |
FullUnrollMaxNodes | int | 700 | Runtime | |
FullUnrollSmallGraphThreshold | int | 1000 | Runtime | The 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. |
FullUnroll | bool | true | Runtime | |
G1ConcMarkStepDurationMillis | double | 10.0 | Runtime | Target duration of individual concurrent marking steps in milliseconds. |
G1ConcRefinementThreads | int | 0 | Runtime | The number of parallel remembered set update threads. Will be set ergonomically by default. |
G1ConfidencePercent | int | 50 | Runtime | Confidence level for MMU/pause predictions. |
G1DebugLevel | String | "product" | Hosted | Specifies the debug level of the linked G1 GC [product, fastdebug, or debug]. |
G1HeapRegionSize | int | 1048576 | Hosted | Size of the G1 regions in bytes. Supported values are 1, 2, 4, 8, 16, 32, 64, 128, 256, or 512M. |
G1HeapWastePercent | int | 5 | Runtime | Amount of space, expressed as a percentage of the heap size, that G1 is willing not to collect to avoid expensive GCs. |
G1MixedGCCountTarget | int | 8 | Runtime | The target number of mixed GCs after a marking cycle. |
G1PeriodicGCInterval | int | 0 | Runtime | Number of milliseconds after a previous GC to wait before triggering a periodic gc. A value of zero disables
periodically enforced gc cycles. |
G1PeriodicGCInvokesConcurrent | bool | true | Runtime | Determines the kind of periodic GC. Set to true to have G1 perform a concurrent GC as periodic GC, otherwise use a STW
Full GC. |
G1PeriodicGCSystemLoadThreshold | double | 0.0 | Runtime | Maximum recent system wide load as returned by the 1m value of getloadavg() at which G1 triggers a periodic GC. A load
above this value cancels a given periodic GC. A value of zero disables this check. |
G1RSetUpdatingPauseTimePercent | int | 10 | Runtime | A target percentage of time that is allowed to be spend on processing remembered set update buffers during the
collection pause. |
G1RefProcDrainInterval | int | 1000 | Runtime | The number of discovered reference objects to process before draining concurrent marking work queues. |
G1ReservePercent | int | 10 | Runtime | It determines the minimum reserve we should have in the heap to minimize the probability of promotion failure. |
G1SATBBufferEnqueueingThresholdPercent | int | 60 | Runtime | Before enqueueing them, each mutator thread tries to do some filtering on the SATB buffers it generates. If
post-filtering the percentage of retained entries is over this threshold the buffer will be enqueued for processing. A
value of 0 specifies that mutator threads should not do such filtering. |
G1SATBBufferSize | int | 1024 | Runtime | Number of entries in an SATB log buffer. |
G1UpdateBufferSize | int | 256 | Runtime | Size of an update buffer. |
G1UseAdaptiveIHOP | bool | true | Runtime | Adaptively adjust the initiating heap occupancy from the initial value of InitiatingHeapOccupancyPercent. The policy
attempts to start marking in time based on application behavior. |
G1UseConcRefinement | bool | true | Runtime | Control whether concurrent refinement is performed. Disabling effectively ignores G1RSetUpdatingPauseTimePercent. |
G1VerifyHeapRegionCodeRoots | bool | false | Runtime | Verify the code root lists attached to each heap region. |
GCCardSizeInBytes | int | 512 | Hosted | Card table entry size (in bytes) for the G1 GC. |
GCDebugStartCycle | int | -1 | Runtime | Start tracing compiled GC barriers after N garbage collections (disabled if N <= 0). |
GCDrainStackTargetSize | int | 64 | Runtime | Number of entries we will try to leave on the stack during gc. G1 GC only. |
GCPauseIntervalMillis | int | 201 | Runtime | Time slice for MMU specification. G1 GC only. |
GCTimeRatio | int | 12 | Runtime | Adaptive size policy application time to GC time ratio. G1 GC only. |
GatherSafepointStatistics | bool | false | Hosted | Gather statistics about each safepoint. |
GenJavaCodeFilter | String | None | Runtime | Generate Java code before high tier lowering for methods that MethodFilter.match this string. |
GenJavaCodeSaveDirectory | String | None | Runtime | Path for saving generated Java code. If the value is omitted the debug dump path will be used. |
GenJavaCodeWithComments | bool | false | Runtime | Generate comments alongside variable declarations. |
GenLoopSafepoints | bool | true | Runtime | |
GenerateBuildArtifactsFile | bool | false | Hosted | Create a build-artifacts.json file in the build directory. The output conforms to the JSON schema located at:
docs/reference-manual/native-image/assets/build-artifacts-schema-v0.9.0.json. |
GenerateDebugInfo | int | 0 | Hosted | Insert debug info into the generated native image or library. |
GenericDynamicCounters | bool | false | Runtime | Turn on the benchmark counters, and displays the results on VM shutdown. |
GraalArithmeticStubs | bool | true | Runtime | Use Graal arithmetic stubs instead of HotSpot stubs where possible. |
GraalCompileOnly | String | None | Runtime | 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. |
GraalOS | bool | false | Hosted | Compile the application for GraalOS. |
GraphCompressionThreshold | int | 70 | Runtime | Graal graph compression is performed when percent of live nodes falls below this value. |
GreyToBlackObjRefDemographics | bool | false | Hosted | Develop demographics of the object references visited. Serial GC only. |
GuaranteeSubstrateTypesLinked | bool | false | Hosted | Ensure all created SubstrateTypes are linked. |
GuardHoistingLoopDuplicationHoistFraction | double | 0.5 | Runtime |
Duplicate only loops where at least this fraction of guards can be hoisted. |
GuardHoistingLoopDuplicationMaxSizeHotCode | int | 2048 | Runtime |
See GuardHoistingLoopDuplicationMaxSize. |
GuardHoistingLoopDuplicationMaxSize | int | 64 | Runtime | Duplicate only loops up to this estimated size. |
GuardHoistingLoopDuplicationMinBodyIterationsHotCode | int | 0 | Runtime |
See GuardHoistingLoopDuplicationMinBodyIterations. |
GuardHoistingLoopDuplicationMinBodyIterations | int | 4 | Runtime |
Duplicate only loops with at least this many expected iterations of the loop body. |
GuardHoistingLoopDuplicationMinHotness | int | 1 | Runtime | Duplicate only loops in methods executed at least this number of times. |
GuardHoistingLoopDuplication | bool | true | Runtime | Duplicate certain loops and eliminate their guards. |
GuardMaxCondExitProbability | double | 0.8 | Hosted | Maximum execution probability of a branch that contains the ControlSinkNode. |
GuardMinCondEstimatedAssembly | double | 50.0 | Hosted | Minimum estimated assembly size of a branch that triggers the exit guard. |
GuardMinLoopProbability | double | 0.2 | Hosted | Minimum loop body execution probability. |
GuardPriorities | bool | true | Runtime | |
HeapChunkHeaderPadding | int | 0 | Hosted | 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. Serial and epsilon GC only. |
HeapDumpDefaultFilenamePrefix | String | "svm-heapdump-" | Hosted |
A prefix that is used for heap dump filenames if no heap dump filename was specified explicitly. |
HeapDumpOnOutOfMemoryError | bool | false | Runtime | Dump heap to file (see HeapDumpPath) the first time the image throws java.lang.OutOfMemoryError because it ran out of
Java heap. |
HeapDumpPath | | "" | Runtime | Path of the file or directory in which heap dumps are created. An empty value means a default file name will be used. An
existing directory means the dump will be placed in the directory and have the default file name. |
HeapSizePerGCThread | int | 44040192 | Runtime | Size of heap (bytes) per GC thread used in calculating the number of GC threads. G1 GC only. |
HeapVerifierVerbosity | int | 0 | Runtime | Control heap verifier verbosity level: 0 - quiet, 1 - info, 2 - warning, 3 - all. |
HighTierInversion | bool | false | Runtime | |
HighTierPartialUnrolling | bool | true | Runtime | Enable EE partial unrolling in high tier. |
HotCodeMinSelfTime | double | 0.001 | Runtime | Minimal self time for a compilation unit to be considered hot globally. |
HotCompilationBaseTargetSpending | int | 300 | Hosted | BaseTargetSpending value for the hot compilations. |
HotCompilationCompilerNodePenaltyCoefficient | double | 0.0 | Hosted |
CompilerNodePenaltyCoefficient value for the hot compilations. |
HotCompilationCutoffCodeSizePenaltyCoefficient | double | 0.0 | Hosted |
CutoffCodeSizePenaltyCoefficient value for the hot compilations. |
HotCompilationExpansionInertiaBaseValue | int | 550 | Hosted |
ExpansionInertiaBaseValue value for the hot compilations. |
HotCompilationLargeChildrenCountPenaltyCoefficient | double | 0.0 | Hosted |
LargeChildrenCountPenaltyCoefficient value for the hot compilations. |
HotCompilationMaxPolymorphicDispatches | int | 3 | Hosted | MaxPolymorphicDispatches value for the hot compilations. |
HotCompilationMinPolymorphicDispatchProbability | double | 0.09 | Hosted |
MinPolymorphicDispatchProbability value for the hot compilations. |
HotCompilationRelativeBenefitInliningCoefficient | String | 2.0E-4 | Hosted |
RelativeBenefitInliningCoefficient value for the hot compilations. |
HotCompilationSmallRootIrPenaltyCoefficient | double | 0.0 | Hosted |
SmallRootIrPenaltyCoefficient value for the hot compilations. |
HotCompilationTypicalGraphSizeInvokeBonus | int | 20 | Hosted |
TypicalGraphSizeInvokeBonus value for the hot compilations. |
HotCompilationTypicalGraphSize | int | 4320 | Hosted | TypicalGraphSize value for the hot compilations. |
HotSpotDeoptExplicitExceptions | bool | false | Runtime | Testing only option that forces deopts for exception throws. |
HotSpotPostOnExceptions | bool | false | Runtime | Testing only option that forces deopts for exception throws. |
HotSpotPrintInlining | bool | false | Runtime | Print inlining optimizations. |
HybridStaticContext | bool | false | Runtime | Enable hybrid context for static methods, i.e. uses invocation site as context for static methods. |
IPEACutoffMaterializationWeight | double | 0.0 | Hosted | Weight of a materialization triggered by an Invoke corresponding to a CutoffNode in the CallTree for IPEA. |
IPEAFrequency | int | 3 | Hosted | Indicates how often to run IPEA analysis. |
IPEAMaterializationBoostConstant | int | 12 | Hosted | Boost for Parent Nodes based on reduction of materializations. |
IPEAMaxForce | int | 2 | Hosted | Indicates how often to force IPEA analysis when otherwise inlining would not continue. |
IPEAStatisticsHistogramBuckets | int | 12 | Hosted | Track IPEA statistics in substratePriorityInliner. |
IPEAVirtualEscapeBoostSingle | int | 12 | Hosted | Boost for CutoffNode for single escaping object. |
IgnoreBadDuplications | bool | true | Runtime | Ignore duplications with a bad benefit cost relation. |
IgnoreDeoptUsages | bool | true | Runtime | |
IgnoreMaxHeapSizeWhileInVMOperation | bool | false | Hosted | Ignore the maximum heap size while a VM operation is executed. |
ImageBuildID | | "" | Hosted | Image Build ID is a 128-bit UUID string generated randomly, once per bundle or digest of input args when bundles are not
used. |
ImageHeapCardMarking | bool | | Hosted | Enables card marking for image heap objects, which arranges them in chunks. Automatically enabled when supported. Serial
GC only. |
ImageObjectTreeExpandRoots | | "" | Runtime | Override the default suppression of specified roots. See: StaticAnalysisReports.md. |
ImageObjectTreeExpandTypes | | "" | Runtime | Override the default suppression of specified types. See: StaticAnalysisReports.md. |
ImageObjectTreeSuppressRoots | | "" | Runtime | Suppress the expansion of specified roots. See: StaticAnalysisReports.md. |
ImageObjectTreeSuppressTypes | | "" | Runtime | Suppress the expansion of specified types. See: StaticAnalysisReports.md. |
ImageSymbolsPrefix | | "" | Hosted | Common prefix used by method symbols in image. |
ImplicitExceptionWithoutStacktraceIsFatal | bool | false | Runtime | Determines if implicit exceptions are fatal if they don't have a stack trace. |
IncludeAllFromModule | String | * | Hosted | Include all classes, methods, and fields from given modules. |
IncludeAllFromPath | String | * | Hosted | Include all classes, methods, fields, and resources from given paths. |
IncludeAllLocales | bool | false | Hosted | Make all hosted locales available at run time. |
IncludeAllTimeZones | bool | false | Hosted | When true, all time zones will be pre-initialized in the image. |
IncludeDebugHelperMethods | bool | false | Hosted | Determines 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. |
IncludeLocales | String | * | Hosted | Comma separated list of locales to be included into the image. The default locale is included in the list automatically
if not present. |
IncludeMethodData | bool | true | Hosted | Include a list of methods included in the image for runtime inspection. |
IncludeNodeSourcePositions | bool | false | Hosted | Track NodeSourcePositions during runtime-compilation. |
IncludeResourceBundles | String | * | Hosted | Comma separated list of bundles to be included into the image. |
IncludeResources | String | * | Hosted | Regexp to match names of resources to be included in the image. [Extra help available] |
IncludeSBOM | String | * | Hosted | Embed a Software Bill of Materials (SBOM) in the executable or shared library for passive inspection. A comma-separated
list can contain 'cyclonedx', 'strict' (defaults to 'cyclonedx' if no argument is provided), or 'export' to save the
SBOM to the native executable's output directory. The optional 'strict' flag aborts the build if any class cannot be
matched to a library in the SBOM. For example: '--enable-sbom=cyclonedx,strict'. |
IncludeTimeZones | | "" | Hosted | The time zones, in addition to the default zone of the host, that will be pre-initialized in the image. |
InfeasiblePathCorrelationWindowSize | int | 10 | Runtime | Limit of the number of dominating if nodes to consider in infeasible path correlation to avoid compile time explosion. |
InfeasiblePathCorrelation | bool | true | Runtime | |
InitialCollectionPolicy | String | "Adaptive" | Hosted | The garbage collection policy, either Adaptive (default) or BySpaceAndTime. Serial GC only. |
InitialHeapSize | int | 0 | Runtime | Initial heap size (in bytes); zero means use ergonomics. G1 GC only. |
InitialRAMPercentage | double | 1.5625 | Runtime | Percentage of real memory used for initial heap size. G1 GC only. |
InitiatingHeapOccupancyPercent | int | 45 | Runtime | The percent occupancy (IHOP) of the current old generation capacity above which a concurrent mark cycle will be
initiated. Its value may change over time if adaptive IHOP is enabled, otherwise the value remains constant. In the
latter case a value of 0 will result as frequent as possible concurrent marking cycles. A value of 100 disables
concurrent marking. Fragmentation waste in the old generation is not considered free space in this calculation. G1 GC
only. |
InjectedCompilationDelay | int | 0 | Runtime | The 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. |
InlineAllBonus | double | 1.0 | Runtime | The bonus applied to call nodes that can be fully inlined. |
InlineBeforeAnalysisAllowedDepth | int | 20 | Hosted | Maximum call depth for method inlined before static analysis. |
InlineBeforeAnalysisAllowedInlinings | int | 10000 | Hosted |
Maximum number of methods inlined for method inlined before static analysis. |
InlineBeforeAnalysisAllowedInvokes | int | 1 | Hosted | Maximum number of invokes for method inlined before static analysis. |
InlineBeforeAnalysisAllowedNodes | int | 1 | Hosted | Maximum number of computation nodes for method inlined before static analysis. |
InlineBeforeAnalysisMethodHandleAllowedDepth | int | 1000 | Hosted |
Maximum call depth for method handle internals inlined before static analysis. |
InlineBeforeAnalysisMethodHandleAllowedInlinings | int | 10000 | Hosted |
Maximum number of methods inlined for method handle internals before static analysis. |
InlineBeforeAnalysisMethodHandleAllowedInvokes | int | 1000 | Hosted |
Maximum number of invokes for method handle internals inlined before static analysis. |
InlineBeforeAnalysisMethodHandleAllowedNodes | int | 10000 | Hosted |
Maximum number of computation nodes for method handle internals inlined before static analysis. |
InlineBeforeAnalysis | bool | true | Runtime | Deprecated, option no longer has any effect. |
InlineDuringParsingMaxDepth | int | 10 | Runtime | Maximum depth when inlining during bytecode parsing. |
InlineDuringParsing | bool | true | Runtime | Inlines trivial methods during bytecode parsing. |
InlineEverything | bool | false | Runtime | |
InlineGraalStubs | bool | false | Runtime | Embed all the emitted code for Graal-generated stubs. |
InlineMegamorphicCalls | bool | true | Runtime | Inline calls with megamorphic type profile (i.e., not all types could be recorded). |
InlineMonomorphicCalls | bool | true | Runtime | Inline calls with monomorphic type profile. |
InlinePartialIntrinsicExitDuringParsing | bool | true | Runtime | 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. |
InlinePolymorphicCalls | bool | true | Runtime | Inline calls with polymorphic type profile. |
InlineVTableStubs | bool | true | Runtime | |
Inline | bool | true | Runtime | Enable inlining. |
InlinedCompilerNodeLimit | int | 20000 | Runtime | Controls the maximum number of compiler nodes that can be inlined into the compiled method. |
InliningCoefficient | double | 0.02 | Runtime | The coefficient used to compute the inlining threshold; the higher, the more to inline. |
InliningDepthError | int | 1000 | Runtime | Maximum inlining depth during partial evaluation before reporting an infinite recursion. |
InsertPreMainPostOnly | bool | false | Runtime | Do not unroll the main loop, only create pre-main-post. |
InspectGraphs | bool | false | Runtime | Inspect analysis graphs. |
InspectServerContentPath | String | "inspect" | Runtime | Path to the contents of the Inspect web server. |
InstallExitHandlers | bool | false | Hosted | Provide java.lang.Terminator exit handlers. |
InstallSegfaultHandler | bool | true | Runtime | Install segfault handler that prints register contents and full Java stacktrace. |
InterceptBailout | bool | false | Runtime | Intercept also bailout exceptions. |
InternalSymbolsAreGlobal | bool | false | Hosted | 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. |
InternalThreadStackSize | int | 2097152 | Hosted | The size of each internal thread stack, in bytes. |
IntrinsifyStringFormat | bool | true | Hosted | Intrinsify String.format with constant format strings. |
Intrinsify | bool | true | Runtime | Use compiler intrinsifications. |
InversionMinLocalFrequency | double | 2.0 | Runtime | Minimal loop frequency for a loop to be considered for inversion. |
InversionMinRelativeFrequency | double | 1.0 | Runtime | Minimal relative frequency for a loop to be considered for inversion. |
InvertMultiEndLoops | bool | false | Runtime | |
InvertNonLeafLoops | bool | false | Runtime | |
InvertVectorizableLoops | bool | false | Runtime | |
IsolatedLoopHeaderAlignment | int | 32 | Runtime | Alignment in bytes for loop header blocks that have no fall through paths. |
IterativePeelingLimit | int | 2 | Runtime | Allow iterative peeling of loops up to this many times (each time the peeling phase runs). |
IterativePeelingOuterFrequencyBonusThreshold | double | 4.0 | Runtime |
Allow iterative peeling of loops with an outer frequency bonus above this value. |
JNIConfigurationFiles | String | * | Hosted | Files describing program elements to be made accessible via JNI (for syntax, see ReflectionConfigurationFiles). [Extra
help available] |
JNIConfigurationResources | String | * | Hosted | Resources describing program elements to be made accessible via JNI (see JNIConfigurationFiles). [Extra help available] |
JNIEnhancedErrorCodes | bool | false | Hosted | JNI functions will return more specific error codes. |
JNIExportSymbols | bool | true | Hosted | Export Invocation API symbols. |
JNIVerboseLookupErrors | bool | false | Hosted | Report information about known JNI elements when lookup fails. |
JNI | bool | true | Hosted | Enable Java Native Interface (JNI) support. |
JfrBasedExecutionSamplerStatistics | bool | false | Runtime | Print statistics collected during JFR-based execution sampler run. |
JfrBasedExecutionSampler | bool | false | Hosted | Use JFR-based execution sampler. |
LIRDynMoveProfileMethod | bool | false | Runtime | Enable dynamic move profiling per method. |
LIRInstructionVerifierPath | String | None | Runtime | Path to jar file containing LIR instruction verifier. |
LIROptConstantLoadOptimization | bool | None | Runtime | Enable constant load optimization. |
LIROptControlFlowOptimizer | bool | | Runtime | |
LIROptEdgeMoveOptimizer | bool | | Runtime | |
LIROptLSRAEliminateSpillMoves | bool | | Runtime | Enable spill move elimination. |
LIROptLSRAOptimizeSpillPosition | bool | | Runtime | Enable spill position optimization. |
LIROptLSStackSlotAllocator | bool | | Runtime | Use linear scan stack slot allocation. |
LIROptNullCheckOptimizer | bool | | Runtime | |
LIROptRedundantMoveElimination | bool | | Runtime | |
LIROptStackMoveOptimizer | bool | | Runtime | |
LIROptimization | bool | true | Runtime | Enable LIR level optimizations. |
LIRProfileMethods | bool | false | Runtime | Enables profiling of methods. |
LIRProfileMoves | bool | false | Runtime | 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). |
LSRAOptSplitOnly | bool | false | Runtime | LSRA optimization: Only split but do not reassign. |
LSRAOptimization | bool | false | Runtime | Enable LSRA optimization. |
LargeArrayThreshold | int | 131072 | Hosted | The size at or above which an array will be allocated in its own unaligned chunk. Serial and epsilon GC only. |
LargeChildrenCountPenaltyCoefficient | double | 0.005 | Runtime |
Reduces the likelihood of exploring call graphs that have a lot of children below the root. |
LimitInlinedInvokes | double | 5.0 | Runtime | |
LimitObjectArrayLength | bool | false | Runtime | 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. |
LinkAtBuildTimePaths | String | * | Hosted | Require all types in given class or module-path entries to be fully defined at image build-time. [Extra help available] |
LinkAtBuildTime | String | * | Hosted | 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. [Extra help available] |
LinkerRPath | String | * | Hosted | Path passed to the linker as the -rpath (list of comma-separated directories). |
ListCPUFeatures | bool | false | Hosted | Show CPU features specific to the target platform and exit. |
ListMetrics | bool | false | Runtime | 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. |
ListModules | bool | false | Hosted | List observable modules and exit. |
LoadExceptionObjectInVM | bool | false | Runtime | Use a VM runtime call to load and clear the exception object from the thread at the start of a compiled exception
handler. |
LoadProfiles | String | None | Runtime | Load per compilation profile information. |
LocalizationCompressBundles | String | * | Hosted | Regular expressions matching which bundles should be compressed. |
LocalizationCompressInParallel | bool | true | Hosted | Compress the bundles in parallel. |
LocalizationOptimizedMode | bool | false | Hosted | Optimize the resource bundle lookup using a simple map. |
LocalizationSubstituteLoadLookup | bool | true | Hosted | Store the resource bundle content more efficiently in the fallback mode. |
LocalsPerCounter | int | 16 | Runtime | Number of cpu locals per counter. It has to be a power of 2. |
LogFile | String | None | Runtime | 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. |
LogVerbose | bool | false | Runtime | Enable more verbose log output when available. |
Log | String | None | Runtime | Pattern for specifying scopes in which logging is enabled. See the Dump option for the pattern syntax. |
LoopBoundOptimizationPhase | bool | true | Runtime | Try to improve counted loop detection by finding more precise loop bounds. |
LoopExitVsLoopEndFrequencyDiff | double | 1000.0 | Runtime | Scaling factor of frequency difference computed based on loop ends or exits. |
LoopHeaderAlignment | int | 16 | Runtime | Alignment in bytes for loop header blocks. |
LoopInversion | bool | true | Runtime | |
LoopMaxUnswitch | int | 3 | Runtime | |
LoopOnFatalError | bool | false | Runtime | Execute an endless loop before printing diagnostics for a fatal error. |
LoopPeeling | bool | true | Runtime | |
LoopPredicationMainPath | bool | true | Runtime | Restricts LoopPredication to only focus on array bounds checks that dominate the back edge of a loop. |
LoopPredication | bool | true | Runtime | Hoists array bounds checks out of simple loops. This is ignored if SpeculativeGuardMovement is enabled. |
LoopRotationAssertCountedAfter | bool | false | Runtime | |
LoopRotationToxicNodeSetMaxNodecost | int | 512 | Runtime | Maximum size in NodeSize of the code to be duplicated during rotation. |
LoopRotation | bool | true | Runtime | Enable Loop Rotation to let the compiler detect more loops as counted. |
LoopUnswitchFrequencyBoost | double | 20.0 | Runtime | Number 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. |
LoopUnswitchFrequencyMaxFactor | double | 0.95 | Runtime | Maximun value for the frequency factor of an invariant. |
LoopUnswitchFrequencyMinFactor | double | 0.05 | Runtime | Minimum value for the frequency factor of an invariant. |
LoopUnswitchMaxIncrease | int | 2000 | Runtime | Maximum loop unswitching code size increase in nodes. |
LoopUnswitchMinSplitFrequency | double | 1.0 | Runtime | Lower bound for the minimun frequency of an invariant condition to be unswitched. |
LoopUnswitchTrivial | int | 20 | Runtime | Number of nodes allowed for a loop unswitching regardless of the loop frequency. |
LoopUnswitch | bool | true | Runtime | |
LoopVectorizationKeepPostLoop | bool | false | Runtime | Keep the original loop as the post-loop during loop vectorization. |
LoopVectorizationMaxBodyNodes | int | 16 | Runtime | The maximal number of fixed body nodes to consider in loop vectorization. |
MLGraphFeaturesExtraction | bool | false | Hosted | Extract graph ML features to support the profile inference in the GraalVM Native Image. |
MLProfileInferenceGuards | bool | true | Hosted | Employ guards to tune the ML-inferred profiles. |
MLProfileInference | bool | true | Hosted | Employ static profiler to infer profiles in the GraalVM Native Image. |
MarkStackSizeMax | int | 536870912 | Runtime | Maximum size of marking stack. G1 GC only. |
MarkStackSize | int | 4194304 | Runtime | Size of marking stack. G1 GC only. |
MatchExpressions | bool | true | Runtime | Allow backend to match complex expressions. |
MaxCallingContextDepth | int | 0 | Runtime | The maximum length of the methods context chains. |
MaxCallingContextWidth | int | 0 | Runtime | 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. |
MaxCompilationProblemsPerAction | int | 2 | Runtime | 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. |
MaxConstantObjectsPerType | int | 0 | Runtime | The maximum number of constant objects recorded for each type before merging the constants into one unique constant
object per type. If the value is 0 there is no limit. |
MaxDirectMemorySize | int | 0 | Runtime | Maximum total size of NIO direct-buffer allocations. |
MaxDuplicationAnchor | int | 2147483647 | Runtime | Maximum duplication anchor number. |
MaxDuplicationFactor | double | 2.0 | Runtime | Max amount of extra effort to expend handling irreducible loops. A value <= 1 disables support for irreducible loops. |
MaxGCPauseMillis | int | 200 | Runtime | Adaptive size policy maximum GC pause time goal in millisecond, or the maximum GC time per MMU time slice. G1 GC only. |
MaxGraphSizeNodeCost | int | 100000 | Runtime | Maximum node cost graph size for duplication. If a graph is bigger duplication will stop. |
MaxHeapContextDepth | int | 0 | Runtime | The maximum length of the context used to model a heap object in addition to the allocation site; used only when
ContextSensitiveHeap is enabled. |
MaxHeapContextWidth | int | 0 | Runtime | 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. |
MaxHeapFree | int | 0 | Runtime | The maximum free bytes reserved for allocations, in bytes (0 for automatic according to GC policy). Serial GC only. |
MaxHeapSize | int | 0 | Runtime | The maximum heap size at run-time, in bytes. |
MaxInvokesInTrivialMethod | int | 1 | Hosted | Maximum number of invokes in a method so that it is considered trivial (for testing only). |
MaxJavaStackTraceDepth | int | 1024 | Runtime | The maximum number of lines in the stack trace for Java exceptions (0 means all). |
MaxMispredictionCostIncreaseFactor | double | 2.0 | Runtime | Abstract measure of the cost of branch misprediction. Higher values make generation of conditional moves more likely. |
MaxNewSize | int | 0 | Runtime | The maximum size of the young generation at run-time, in bytes. |
MaxNodesAfterTrivialInlining | int | 2147483647 | Hosted | The maximum number of nodes in a graph allowed after trivial inlining. |
MaxNodesInTrivialLeafMethod | int | 40 | Hosted | Maximum number of nodes in a method so that it is considered trivial, if it does not have any invokes. |
MaxNodesInTrivialMethod | int | 20 | Hosted | Maximum number of nodes in a method so that it is considered trivial. |
MaxObjectSetSize | int | 100 | Runtime | 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. |
MaxPolymorphicDispatches | int | 4 | Runtime | The maximum number of dispatches in guarded polymorphic inlining. |
MaxPriorityInliningPeelingIterations | int | 10 | Runtime | Max number of precise inlining peeling iterations. |
MaxRAMPercentage | double | 25.0 | Runtime | Maximum percentage of real memory used for maximum heap size. G1 GC only. |
MaxRAM | int | 0 | Runtime | Physical memory size (in bytes). By default, the value is queried from the OS/container during VM startup. |
MaxReachableTypes | int | -1 | Hosted | Maximum number of types allowed in the image. Used for tests where small number of types is necessary. |
MaxRounds | int | 1000 | Runtime | Maximum number of expand/inline rounds during a single run of the phase. |
MaxRuntimeCodeOffsetInstructions | int | 0 | Hosted | The maximum number of instructions to randomly offset the entry of runtime installed methods. Use this option for less
predictable entry points. |
MaxRuntimeCompileMethods | String | * | Hosted | Maximum number of methods allowed for runtime compilation. |
MaxSimulationIterationsHotCode | int | 4 | Runtime | See MaxSimulationIterations. |
MaxSimulationIterations | int | 2 | Runtime | Maximum simulation-duplication iterations of the duplication optimization per invocation. |
MaxSplitsPerNode | int | 32 | Runtime | |
MaxSurvivorSpaces | String | None | Hosted | Maximum number of survivor spaces. Serial GC only. |
MaxTemplatesPerSnippet | int | 50 | Runtime | |
MaxTenuringThreshold | int | 15 | Runtime | Maximum value for tenuring threshold. G1 GC only. |
MaxThinLockRecursion | int | 20 | Hosted | Maximum recursive locking depth for thin locks. |
MaxUnrolledObjectZeroingStores | int | 8 | Hosted | Define the maximum number of stores for which the loop that zeroes out objects is unrolled. |
MaxUnswitchSuccessors | int | 64 | Runtime | Maximum number of split successors before aborting unswitching. |
MaxValueNodesPartialEscapeSelectiveInlining | int | 35000 | Runtime |
Controls the maximum number of value nodes that can appear in the final graph. |
MaxVectorAlignmentUnroll | int | 4 | Runtime | Maximum number of unrolled alignment instructions. |
MaxVectorUnroll | int | 16 | Runtime | Maximum length of linear-code vector operations. |
MaximumDesiredSize | int | 20000 | Runtime | Maximum desired size of the compiler graph in nodes. |
MaximumEscapeAnalysisArrayLength | int | 128 | Runtime | The maximum length of an array that will be escape analyzed. |
MaximumHeapSizePercent | int | 80 | Runtime | The maximum heap size as percent of physical memory. Serial and epsilon GC only. |
MaximumInliningSize | int | 300 | Runtime | Inlining is explored up to this number of nodes in the graph for each call site. |
MaximumLoopExplosionCount | int | 10000 | Runtime | Max number of loop explosions per method. |
MaximumRecursiveInlining | int | 5 | Runtime | Maximum level of recursive inlining. |
MaximumTransitiveEnabledPullFactor | int | 2 | Runtime | PullThroughPhiOptimization: Maximum number of algorithm iterations per optimization invocation. |
MaximumYoungGenerationSizePercent | int | 10 | Runtime | The maximum size of the young generation as a percentage of the maximum heap size. Serial and epsilon GC only. |
MegamorphicInliningMinMethodProbability | double | 0.33 | Runtime |
Minimum probability for methods to be inlined for megamorphic type profiles. |
MemUseTrackers | String | None | Runtime | 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. |
MethodFilterRootOnly | bool | false | Runtime | Only check MethodFilter against the root method in the context if true, otherwise check all methods. |
MethodFilter | String | None [Extra help available] | Runtime | Pattern for matching methods. The syntax for a pattern is:. |
MethodInlineBailoutLimit | int | 5000 | Runtime | Per-compilation method inlining exploration limit before giving up (use 0 to disable). |
Method | String | "main" | Hosted | Name of the main entry point method. Optional if --shared is used. |
MetricsFile | String | None [Extra help available] | Runtime | File to which metrics are dumped per compilation. |
MicroArchitecture | String | None | Hosted | Generate instructions for a specific machine type. Defaults to 'x86-64-v3' on AMD64 and 'armv8-a' on AArch64. Use
-march=compatibility for best compatibility, or -march=native for best performance if the native executable is deployed
on the same machine or on a machine with the same CPU features. To list all available machine types, use -march=list. |
MidTierInversion | bool | true | Runtime | |
MidTierPartialUnrolling | bool | true | Runtime | Enable EE partial unrolling in mid tier. |
MinBlockFrequencyPull | double | 0.66 | Runtime | PullThroughPhiOptimization: Ignore low frequency branches during duplication. |
MinCallingContextDepth | int | 0 | Runtime | The minimum length of the methods context chains. |
MinDuplicationAnchor | int | 1 | Runtime | Skip n duplication anchors. |
MinHeapContextDepth | int | 0 | Runtime | The minimum length of the context used to model a heap object in addition to the allocation site; used only when
ContextSensitiveHeap is enabled. |
MinHeapDeltaBytes | int | 172032 | Runtime | The minimum change in heap space due to GC (in bytes). G1 GC only. |
MinHeapFreeRatio | int | 40 | Runtime | The minimum percentage of heap free after GC to avoid expansion. G1 GC only. |
MinHeapSize | int | 0 | Runtime | The minimum heap size at run-time, in bytes. |
MinPolymorphicDispatchProbability | double | 0.1 | Runtime | The minimum probability for using a dispatch in guarded polymorphic inlining. |
MinRAMPercentage | double | 50.0 | Runtime | Minimum percentage of real memory used for maximum heap size on systems with small physical memory size. G1 GC only. |
MinTLABSize | int | 2048 | Runtime | Minimum allowed TLAB size (in bytes). G1 GC only. |
MinifyInvertedPhis | bool | true | Runtime | Break chained phis. |
MinimalBulkZeroingSize | int | 2048 | Runtime | If applicable, use bulk zeroing instructions when the zeroing size in bytes exceeds this threshold. |
MinimalGraphNodeSizeCheckSize | int | 1000 | Runtime | Minimal size in NodeSize to check the graph size increases of phases. |
MinimalRegions | bool | true | Runtime | Try to reduce duplication code size to the minimal amount of code. |
MinimumBlindedConstantSize | int | 4 | Runtime | Minimum size (in bytes) of constants to blind. |
MinimumPeelFrequency | double | 0.35 | Runtime | |
MissingRegistrationReportingMode | String | Throw | Hosted | Select the mode in which the missing reflection registrations will be reported. [Extra help available] |
Module | | "" | Hosted | Module containing the class that contains the main entry point. Optional if --shared is used. |
MoveGuardsUpwards | bool | true | Runtime | Move guard nodes to earlier places in the dominator tree if all successors of basic block share a common guard
condition. |
MultiExitCostFactorSink | int | 2 | Runtime | Cost/Benefit heuristic for EE unrolling: If a loop has multiple exits, cost is increased by this value for every sinking
loop exit. |
MultiExitCostFactor | int | 32 | Runtime | Cost/Benefit heuristic for EE unrolling: If a loop has multiple exits, cost is increased by this value for every
none-sinking loop exit. |
MultiThreaded | bool | true | Hosted | Enable support for threads and and thread-local variables (disable for single-threaded implementation). |
NDCV | int | 0 | Runtime | Run level for NoDeadCodeVerifyHandler (0 = off, 1 = info, 2 = verbose, 3 = fatal). |
Name | | "" | Hosted | Name of the output file to be generated. |
NativeArchitecture | bool | false | Hosted | Uses the native architecture, i.e., the architecture of a machine that builds an image. |
NativeLinkerOption | String | * | 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. |
NeverInline | String | * | Hosted | Pattern for disabling inlining of methods during image generation. [Extra help available] |
NewCAPCache | bool | false | Hosted | Create a C Annotation Processor Cache. Will erase any previous cache at that same location. |
NewRatio | int | 2 | Runtime | Ratio of old/new generation sizes. G1 GC only. |
NewSize | int | 1048576 | Runtime | Initial new generation size (in bytes). G1 GC only. |
NoDirectRelocationsInText | bool | true | Hosted | Force no direct relocations to be present in the text section of the generated image. |
NonCountedStripMinedBenefitBoost | int | 64 | Runtime | Benefit boost for strip mined non counted loops. |
NonCountedStripMiningBudgetHotCode | double | 2.5 | Runtime | See NonCountedStripMiningBudget. |
NonCountedStripMiningBudget | double | 0.1 | Runtime | Code size budget of the non-counted strip mining transformation in terms of NodeCostSize. |
NonCountedStripMiningForceStripAll | bool | false | Runtime | Force non-counted strip mining for all loops (also counted ones), test flag only. |
NonCountedStripMiningIgnoreSmallLoops | bool | true | Runtime | Ignore small loops from strip mining, the iv overhead can cause slowdowns. |
NonCountedStripMiningInnerLoopTrips | int | -1 | Runtime | The max number of iterations the counted inner loop takes. If -1, the frequency of the loop will be used to derive an
inner frequency. |
NonCountedStripMiningMaximumInnerLoopTrips | int | 8192 | Runtime |
If NonCountedStripMiningInnerLoopTrips == -1: Maximum loop trips for strip mined non-counted loops. |
NonCountedStripMiningMinFrequency | double | 16.0 | Runtime | Minimal loop frequency to consider a non-counted loop for strip mining. |
NonCountedStripMiningMinimumInnerLoopTrips | int | 512 | Runtime |
If NonCountedStripMiningInnerLoopTrips == -1: Minimum loop trips for strip mined non-counted loops. |
NonCountedStripMiningReuseIVs | bool | true | Runtime | Try to reuse pre-existing induction variables inside non-counted loops for the strip-mined loop's exit check. |
NumberOfAnalysisThreads | int | -1 | Hosted | Deprecated, option no longer has any effect. |
NumberOfThreads | int | 8 | Hosted | The maximum number of threads to use concurrently during native image generation. |
ObjdumpExecutables | String | None | Runtime | 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. |
ObjectInliningConfigurationFiles | String | * | Hosted | Deprectated, has no effect. |
ObjectInliningConfigurationResources | String | * | Hosted |
Deprectated, has no effect. |
ObjectInlining | bool | true | Hosted | Deprectated, has no effect. |
OldPLABSize | int | 1024 | Runtime | Size of old gen promotion LAB's (in HeapWords). G1 GC only. |
OldSize | int | 5242880 | Runtime | Initial tenured generation size (in bytes). G1 GC only. |
OmitHotExceptionStacktrace | bool | false | Runtime | |
OmitInlinedMethodDebugLineInfo | bool | false | Hosted | Omit generation of DebugLineInfo originating from inlined methods. |
OptAssumptions | bool | true | Runtime | |
OptBulkAllocation | bool | true | Runtime | |
OptCompressedFrameStateValues | bool | true | Runtime | |
OptConditionalMoves | bool | true | Runtime | Optimize simple if branches with conditional moves. |
OptConvertDeoptsToGuards | bool | true | Runtime | |
OptDeDuplication | bool | true | Runtime | |
OptDeoptimizationGrouping | bool | true | Runtime | |
OptDevirtualizeInvokesOptimistically | bool | true | Runtime | |
OptDuplication | bool | true | Runtime | |
OptEarlyReadElimination | bool | true | Runtime | |
OptEliminateGuards | bool | true | Runtime | |
OptExactArithmetic | bool | true | Runtime | |
OptFloatingReads | bool | true | Runtime | |
OptGuardRangeGrouping | bool | true | Runtime | |
OptImplicitNullChecks | bool | true | Runtime | |
OptInlineImageHeapConstants | bool | true | Hosted | Optimize address operations that involve image heap constants. |
OptLockElimination | bool | true | Runtime | |
OptLoopPhiStamps | bool | true | Runtime | Inject stamps on induction variables. |
OptMethodDuplication | bool | false | Runtime | Duplicate methods to form hot part and cold part areas. |
OptPropagateEquality | bool | true | Runtime | Propagate equality into dominated nodes. |
OptPullThroughPhi | bool | true | Runtime | |
OptReadElimination | bool | true | Runtime | |
OptScheduleOutOfLoops | bool | true | Runtime | |
OptStaticFinalFieldFolding | bool | true | Hosted | Optimize static final fields that get a constant assigned in the class initializer. |
OptStringConcatDumpUnhandled | bool | false | Runtime | Dump graphs to help debug operation. |
OptStringConcatDump | bool | false | Runtime | Dump graphs to help debug operation. |
OptStringConcat | bool | true | Runtime | Optimize StringBuilder construction. |
OptWriteBarrierElimination | bool | true | Runtime | Eliminate redundant write barriers. |
OptWriteMotion | bool | false | Runtime | Perform write sinking, which moves writes inside loops after them, effectively reducing their frequency. |
OptimisticAliasingAnalysis | bool | true | Runtime | |
OptimisticAliasingUseSpeculation | bool | true | Runtime | Use speculation and deoptimization in optimistic aliasing analysis. |
OptimizationLogPath | String | None | Runtime | Path to the directory where the optimization log is saved if OptimizationLog is set to Directory. Directories are
created if they do no exist. |
OptimizationLog | String | None [Extra help available] | Runtime | Enable the structured optimization log and specify where it is printed. |
OptimizeLoopAccesses | bool | true | Runtime | Enable access node optimizations for loops. |
OptimizeReturnedParameter | bool | true | Runtime | Analysis: Detect methods that return one of their parameters and hardwire the parameter straight to the return. |
OptimizeVectorAPI | bool | true | Runtime | Expand Vector API operations to optimized machine instructions. |
Optimize | int | "2" | Hosted | Control code optimizations: b - optimize for fastest build time, 0 - no optimizations, 1 - basic optimizations, 2 -
advanced optimizations, 3 - all optimizations for best performance. |
OptionalIdentityHashCodes | bool | true | Hosted | Allocate memory for identity hash codes only for those objects that need it. |
OutlineAllocations | bool | true | Hosted | Outline allocations into factory methods. |
OutlineIndyStringConcatenations | bool | true | Hosted | Outline string concatenation operations represented by invoke dynamic (indy) calls. |
OutlineSBMaterializations | bool | true | Hosted | Allow outlined sequences of (StringBuilder|StringBuffer).append() to be materialized into a
(StringBuilder|StringBuilder) instance. |
OutlineStringBufferAppends | bool | true | Hosted | Attempt to outline sequences of StringBuffer.append() operations. |
OutlineStringBuilderAppends | bool | true | Hosted | Attempt to outline sequences of StringBuilder.append() operations. |
OverrideProfiles | bool | false | Runtime | Allow multiple compilations of the same method by overriding existing profiles. |
PGOAdoptedProfilesNormalizationValue | int | 100000000000000 | Hosted |
The value that will be used to normalize adopted profiles. |
PGOContextSensitivityEnabled | bool | true | Hosted | Enables context sensitivity in PGO. |
PGOEnableProfileNormalization | bool | false | Hosted | Enable/disable normalization of profiles. |
PGOEnabled | String | * | Hosted | A comma-separated list of files from which to read the data collected for profile-guided optimization of AOT compiled
code (reads from default.iprof if nothing is specified). Each file must contain a single PGOProfiles object, serialized
in JSON format, optionally compressed by gzip. . |
PGOIgnoreVersionCheck | bool | false | Hosted | Prevent PGO run from failing if the profile version is not correct, and apply profiles on a best-effort basis. |
PGOPrintDroppedCallingContexts | bool | false | Hosted | Print a list of all calling-contexts that are dropped during a PGO run. |
PGOPrintUnmatchedPercentage | bool | false | Hosted | Print the percentage of how many entries from the profile file(s) did not match the target application. |
PGOProfilesNormalizationValue | int | 1000000000000000 | Hosted |
The value that will be used to normalize collected profiles. |
PLABWeight | int | 75 | Runtime | Percentage (0-100) used to weight the current sample when computing exponentially decaying average for ResizePLAB. G1 GC
only. |
PageSize | int | 0 | Hosted | Define PageSize of a machine that runs the image. The default = 0 (== same as host machine page size). |
ParGCArrayScanChunk | int | 50 | Runtime | Scan a subset of object array and push remainder, if array is bigger than this. G1 GC only. |
ParallelGCBufferWastePct | int | 10 | Runtime | Wasted fraction of parallel allocation buffer. G1 GC only. |
ParallelGCThreads | int | 0 | Runtime | Number of parallel threads G1 will use. |
ParallelRefProcBalancingEnabled | bool | true | Runtime | Enable balancing of reference processing queues. G1 GC only. |
ParallelRefProcEnabled | bool | false | Runtime | Enable parallel reference processing whenever possible. G1 GC only. |
ParseOnceJIT | bool | true | Hosted | Deprecated, option no longer has any effect. |
ParseOnce | bool | true | Hosted | Deprecated, option no longer has any effect. |
ParseRuntimeOptions | bool | true | Hosted | Parse and consume standard options and system properties from the command line arguments when the VM is created. |
ParsingContextMaxDepth | int | 100 | Runtime | Limit the parsing context depth. Default value is arbitrary set at 100. |
PartialEscapeAnalysis | bool | true | Runtime | |
PartialRedundancyElimination | bool | true | Runtime | Enable partial redundancy elimination. |
PartialUnrollCostReductionFactorHighTier | int | 2 | Runtime |
Cost/Benefit heuristic for EE unrolling in high tier: reduce cost by a constant factor when comparing with relative
benefit. |
PartialUnrollCostReductionFactorHotCodeMidTier | int | 32 | Runtime |
See PartialUnrollCostReductionFactorMidTier. |
PartialUnrollCostReductionFactorMidTier | int | 8 | Runtime | Cost/Benefit heuristic for EE unrolling in mid tier: reduce cost by a constant factor when comparing with relative
benefit. |
PartialUnrollMaxIterationsHighTier | int | 4 | Runtime | Maximum number of iterations to unroll for a high tier main loop. |
PartialUnrollMaxIterationsMidTier | int | 16 | Runtime | Maximum number of iterations to unroll for a mid tier main loop. |
PartialUnrollMaxSizeHighTier | int | 256 | Runtime | Maximum node cost size of a loop to be considered for high tier unrolling. |
PartialUnrollMaxSizeHotCodeMidTier | int | 1024 | Runtime | See PartialUnrollMaxSizeMidTier. |
PartialUnrollMaxSizeMidTier | int | 256 | Runtime | Maximum node cost size of a loop to be considered for mid tier tier unrolling. |
PartialUnrollMinFrequency | int | 4 | Runtime | Minimal loop frequency to consider a loop for partial unrolling. |
PartialUnroll | bool | true | Runtime | |
PathProfileCutThreshold | int | 10 | Runtime | The limit on the number of paths at control-flow merges. Decreasing this value reduces the number of paths, but also
shortens them. |
PathProfileDumpFile | String | None | Runtime | Dump information for path profile (null or file name). If set to null, then dumping is disabled. |
PathProfileFrequentThreshold | int | 500 | Runtime | Maximum acceptable number of paths coming from the inbound of a merge if both of them are frequent. |
PathProfileGlobalLowFrequencyRatio | double | 0.1 | Runtime | If some block's relative frequency drops below this number times the maximum relative frequency in the graph, then the
block is considered infrequent. |
PathProfileLocalLowFrequencyRatio | double | 10.0 | Runtime | If the ratio of the merge's frequency with its inbound's frequency is greater than this threshold, then the inbound is
considered infrequent. |
PathProfileMaxTotalCounters | int | 4000000 | Runtime | Maximum number of counters to use in path profiling for all instrumented methods. |
PathProfilePolicy | String | None | Runtime | Enable or disable the path-profiling algorithm. If it enables it, it also allows to select which mode to execute. |
PathProfileRegenerate | bool | false | Runtime | Controls whether the path-regeneration algorithm is executed. |
Path | String | None [Extra help available] | Hosted | Directory of the image file to be generated. |
PeelALot | bool | false | Runtime | Stress test for the loop peeling optimization by applying it aggressively. |
PeelOnlyLoopWithNodeID | int | -1 | Runtime | Peel only the loop with the specific loop begin node ID for debugging purposes. |
PeelingConsideredMinLoopIterations | double | 1.5 | Runtime | Minimal loop body iterations necessary to consider peeling. |
PeelingConsideredMinRelativeFrequency | double | 4.0 | Runtime | Minimal relative frequency of loop begin necessary to consider peeling. |
PeelingHighTierCostReductionFactor | double | 64.0 | Runtime | Cost/Benefit heuristic for EE simulation-based loop peeling in high tier: reduce cost by a constant factor when
comparing with relative benefit. |
PeelingMidTierCostReductionFactor | double | 8.0 | Runtime | Cost/Benefit heuristic for EE simulation-based loop peeling in mid tier: reduce cost by a constant factor when comparing
with relative benefit. |
PenalizeComplexLoopControlFlow | bool | true | Runtime | Increase the cost of duplicating control flow splits inside loops if they are not foldable.The generally tend to
complicate control flow and generate worse code in the backend. |
PercentTimeInIncrementalCollection | int | 50 | Runtime | Percentage of total collection time that should be spent on young generation collections. Serial GC with collection
policy 'BySpaceAndTime' only. |
PerfDataMemoryMappedFile | bool | true | Hosted | Determines if the collected performance data should be written to a memory-mapped file so that it can be accessed by
external tools. |
PerfDataMemorySize | int | 32768 | Runtime | Size of performance data memory region. Will be rounded up to a multiple of the native os page size. |
PerfDataSamplingInterval | int | 200 | Runtime | Jvmstat instrumentation sampling interval (in milliseconds). |
PerfMaxStringConstLength | int | 1024 | Runtime | Maximum PerfStringConstant string length before truncation. |
PhiMinificationMinimalLoopFrequency | double | 2.0 | Runtime | Minimal loop frequency to consider a loop for inverted phi minifaction. |
PinnedObjectAddressing | bool | true | Hosted | Allows the addresses of pinned objects to be passed to other code. |
PlatformInterfaceCompatibilityMode | bool | false | Hosted | Enable the behavior of old GraalVM versions. When enabled, interfaces not available for the current platform are
filtered. |
PreTouchParallelChunkSize | int | 1073741824 | Runtime | Per-thread chunk size for parallel memory pre-touch. G1 GC only. |
PredefinedClassesConfigurationFiles | String | * | Hosted |
Files describing predefined classes that can be loaded at runtime according to the schema at
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/assets/predefined-classes-config-schema-v1.0.0.json.
[Extra help available] |
PredefinedClassesConfigurationResources | String | * | Hosted |
Resources describing predefined classes that can be loaded at runtime according to the schema at
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/assets/predefined-classes-config-schema-v1.0.0.json.
[Extra help available] |
PreferUnsignedComparison | bool | true | Runtime | Rewrite signed comparisons to unsigned ones if the result is equal. |
PrefetchCopyIntervalInBytes | int | -1 | Runtime | How far ahead to prefetch destination area (<= 0 means off). G1 GC only. |
PrefetchScanIntervalInBytes | int | -1 | Runtime | How far ahead to prefetch scan area (<= 0 means off). G1 GC only. |
PreserveFramePointer | bool | false | Hosted | Saves stack base pointer on the stack on method entry. |
PreventStringValueEscaping | bool | true | Hosted | Determines if aggressive method inlining should be used to prevent escaping of String.value. |
PrintAOTCompilation | bool | false | Hosted | Print logging information during compilation. |
PrintAnalysisCallTreeType | String | TXT | Runtime | Change the output format of the analysis call tree, available options are TXT and CSV. See: Reports.md. |
PrintAnalysisCallTree | bool | false | Runtime | Print analysis call tree, a breadth-first tree reduction of the call graph. |
PrintAnalysisStatistics | bool | false | Runtime | Print analysis results statistics. |
PrintBBInfo | bool | false | Runtime | Enables dumping of basic blocks relative PC and frequencies in the dump directory. |
PrintBackendCFG | bool | false | Runtime | Enable dumping scheduled HIR, LIR, register allocation and code generation info to the C1Visualizer. |
PrintBlockMapping | bool | false | Runtime | Enable dumping CFG built during initial BciBlockMapping. |
PrintCallEdges | bool | false | Runtime | Print call edges with other analysis results statistics. |
PrintCanonicalGraphStringFlavor | int | 0 | Runtime | 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). |
PrintCanonicalGraphStrings | bool | false | Runtime | Enable dumping canonical text from for graphs. |
PrintClassInitialization | bool | false | Hosted | Prints class initialization info for all classes detected by analysis. |
PrintCompilation | bool | false | Runtime | Print an informational line to the console for each completed compilation. |
PrintDetailedAllocationProfiling | bool | true | Runtime | Print detailed information for each allocation site. |
PrintFeatures | bool | false | Hosted | Print a list of active features. |
PrintFlagsWithExtraHelp | String | None | Runtime | Print extra help, if available, based on comma-separated option names. Pass * to show all options that contain extra
help. |
PrintFlags | String | None | Runtime | Show available options based on comma-separated option-types (allowed categories: User, Expert, Debug). |
PrintGCSummary | bool | false | Runtime | Print summary GC information after application main method returns. Serial GC only. |
PrintGCTimes | bool | false | Runtime | Print the time for each of the phases of each collection, if +VerboseGC. Serial GC only. |
PrintGC | bool | false | Runtime | Print summary GC information after each collection. |
PrintGOT | bool | false | Hosted | Prints the contents of the GOT. |
PrintGraphFile | bool | true | Runtime | Setting to true sets PrintGraph=file, setting to false sets PrintGraph=network. |
PrintGraphHost | double | "127.0.0.1" | Runtime | Host part of the address to which graphs are dumped. |
PrintGraphPort | int | 4445 | Runtime | Port part of the address to which graphs are dumped in binary format. |
PrintGraphStateDiff | bool | false | Runtime | Prints the difference in the graph state caused by each phase of the suite. |
PrintGraphWithSchedule | bool | false | Runtime | Schedule graphs as they are dumped. |
PrintGraph | String | File | Runtime | Where IdealGraphVisualizer graph dumps triggered by Dump or DumpOnError should be written. [Extra help available] |
PrintHeapHistogram | bool | false | Hosted | Print class statistics of native image heap. |
PrintIRWithLIR | bool | false | Runtime | Print HIR along side LIR as the latter is generated. |
PrintImageElementSizes | bool | false | Hosted | Print the sizes of the elements of the built image. |
PrintImageHeapConnectedComponents | bool | false | Hosted | A native-image run with the flag `-H:+PrintImageHeapConnectedComponents` will create reports that can help us debug
which objects got into the native image heap and why. A component represents a set of objects in the image heap. |
PrintImageHeapPartitionSizes | bool | false | Hosted | Print the sizes of the native image heap as the image is built. |
PrintImageObjectTree | bool | false | Runtime | Print image object hierarchy. |
PrintIntrinsics | bool | false | Runtime | Print the registered intrinsics in a format compatible with DisableIntrinsics. |
PrintJNIMethods | bool | false | Hosted | Print JNI methods added to generated image. |
PrintLIRWithAssembly | bool | false | Runtime | Include the LIR as comments with the final assembly. |
PrintLoweringScheduleToTTY | bool | false | Runtime | Print schedule result pre lowering to TTY. |
PrintMethodHistogram | bool | false | Hosted | Print statistics of methods in native image heap. |
PrintOutlinedSBMethodMetrics | bool | false | Hosted | Print histogram and metrics about the OutlinedSBMethods created. |
PrintPointsToStatistics | bool | false | Runtime | Report analysis statistics. |
PrintProfileLoading | bool | false | Runtime | Print to stdout when a profile is loaded. |
PrintProfilingInformation | bool | false | Runtime | Print profiling information when parsing a method's bytecode. |
PrintRestrictHeapAccessPath | bool | true | Hosted | Print path for @RestrictHeapAccess warnings. |
PrintRestrictHeapAccessWarnings | bool | true | Hosted | Print warnings for @RestrictHeapAccess annotations. |
PrintRuntimeCompilationCallTree | bool | false | Hosted | Print call tree of methods reachable for runtime compilation. |
PrintRuntimeCompileMethods | bool | false | Hosted | Print methods available for runtime compilation. |
PrintSBOutliningCounters | bool | false | Hosted | Print counters collected while attempting to outline sequences of StringBuffer and StringBuilder operations. |
PrintSynchronizedAnalysis | bool | false | Runtime | Print types used for Java synchronization. |
PrintUninterruptibleCalleeDOTGraph | bool | false | Hosted | Print (to stderr) a DOT graph of the @Uninterruptible annotations. |
PrintUniverse | bool | false | Hosted | Print information about classes, methods, and fields that are present in the native image. |
PrintUnmodifiedGraphs | bool | true | Runtime | Dump 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. |
PriorityForceInline | String | None | Runtime | Unconditionally inline all methods matching the pattern using the priority-based inliner. See the MethodFilter option
for a description of the pattern syntax. |
PriorityInliningPolicy | | "" | Runtime | The policy to use, must be empty for automatic resolution. |
PriorityInliningTuningPolicy | String | "DomainSpecific" | Runtime |
Comma-separated list of analysis policies for exploring the methods in the call graph and for inlining, empty for no
policy. |
PriorityNeverInline | String | None | Runtime | Never inline methods matching the pattern using the priority-based inliner. See the MethodFilter option for a
description of the pattern syntax. |
ProfileAllocationsContext | String | AllocatingMethod | Runtime |
Control the naming and granularity of the counters when using ProfileAllocations. [Extra help available] |
ProfileAllocations | bool | false | Runtime | Enable profiling of allocation sites. |
ProfileAnalysisOperations | bool | false | Runtime | Track the progress of the static analysis. |
ProfileCompiledMethods | bool | false | Runtime | |
ProfileConstantObjects | bool | false | Runtime | Track the creation of constant objects. |
ProfileDeoptimization | bool | false | Hosted | Print logging information during object file writing. |
ProfileLockElimination | bool | false | Runtime | |
ProfileMethodFilter | String | None | Runtime | Restrict saving or loading of profiles based on this filter. See the MethodFilter option for the pattern syntax. |
ProfileMonitors | bool | false | Runtime | Enable profiling of monitor operations. |
ProfileOptBulkAllocation | bool | false | Runtime | |
ProfileSelfTime | bool | true | Runtime | Excludes time spent in invoked methods; measures total time including subcalls when turned off. |
ProfilesDumpFile | String | "default.iprof" | Runtime | Value should point to a profile dump file. |
ProfilingDumpPeriod | int | -1 | Runtime | Integer greater than zero representing the duration in seconds that will be used to trigger a profile dump. Any integer
less than one disables periodic dumps. |
ProfilingDumpVerbose | bool | false | Runtime | Emit a message to stderr after dumping a profile. |
ProfilingEnablePathProfiling | bool | false | Hosted | Replace profiling counters with path-profiling counters. |
ProfilingEnableProfileDumpHooks | bool | true | Hosted | Dump the PGO profiles on shutdown. |
ProfilingEnabled | bool | false | Hosted | Instrument AOT compiled code to collect data for profile-guided optimization into default.iprof file. |
ProfilingPackagePrefixes | String | None | Hosted | A comma-separated list of package prefixes for which the PGO profiles are collected. |
ProfilingPathProfilingVerify | bool | false | Hosted | Collect profiling counters, and verify that they match the path-profile counters. |
ProfilingRDPID | bool | false | Hosted | Use RDTSCP or RDPID if available to compute the index in the counter array. Setting this option to false ensures Knuth
hashing is used instead. |
PropagateEqualityDepth | int | 6 | Runtime | Maximum depth of dependency when propagating equals property. |
ProtectionKeys | bool | false | Hosted | Enable support for Memory Protection Keys. |
PruneLargeDominatorUsageTrees | bool | true | Runtime | |
PullThroughPhiCodeSizeIncreaseHotCode | double | 2.5 | Runtime | See PullThroughPhiCodeSizeIncrease. |
PullThroughPhiCodeSizeIncrease | double | 0.1 | Runtime | PullThroughPhiOptimization: Percentage in node cost graph size for the floating node duplication budget. Computed
relative to the method's graph size. |
QueryCodeDir | | "" | Hosted | Directory where query code for target platform should be output. |
QueuedAllocationWarningCount | int | 0 | Runtime | Number of times an allocation that queues behind a GC will retry before printing a warning. G1 GC only. |
RawConditionalElimination | bool | true | Runtime | |
ReadEliminationMaxLoopVisits | int | 5 | Runtime | |
ReadProxySchedulingStrategy | String | LATEST_OUT_OF_LOOPS | Runtime |
Chose the scheduling strategy for inserting the read proxies. |
ReassociateExpressions | bool | true | Runtime | Re-associate loop invariants and constants. |
ReduceDCE | bool | true | Runtime | Disable optional dead code eliminations. |
ReflectionConfigurationFiles | String | * | Hosted | One or several (comma-separated) paths to JSON files that specify which program elements should be made available via
reflection. [Extra help available] |
ReflectionConfigurationResources | String | * | Hosted |
Resources describing program elements to be made available for reflection (see ReflectionConfigurationFiles). [Extra
help available] |
ReflectionPluginTracing | bool | false | Hosted | Enable trace logging for reflection plugins. |
RegisterPressure | String | None | Runtime | Comma separated list of registers that register allocation is limited to. |
RelativeBenefitInliningCoefficient | double | 0.001 | Runtime | The coefficient used to compute the inlining threshold; the higher, the hard to inline. |
RelaxTypeFlowStateConstraints | bool | true | Runtime | Allow a type flow state to contain types not compatible with its declared type. |
RemoveLoopSafepoints | bool | true | Runtime | Remove safepoints on counted loop ends. |
RemoveNeverExecutedCode | bool | true | Runtime | |
RemoveSaturatedTypeFlows | bool | true | Runtime | Enable the type flow saturation analysis performance optimization. |
RemoveUnneededDeoptSupport | bool | true | Hosted | Remove Deopt(Entries,Anchors,Proxies) determined to be unneeded after the runtime compiled graphs have been finalized. |
RemoveUnusedSymbols | bool | true | Hosted | Use linker option to prevent unreferenced symbols in image. |
ReplaceInputsWithConstantsBasedOnStamps | bool | true | Runtime | |
ReportAnalysisForbiddenType | String | * | Hosted | Report error if [:{,}] is discovered during analysis (valid values for UsageKind:
InHeap, Allocated, Reachable). |
ReportExceptionStackTraces | bool | false | Hosted | Show exception stack traces for exceptions during image building.). |
ReportPerformedSubstitutions | bool | false | Hosted | Report performed substitutions. |
ReportUnsafeOffsetWarnings | bool | false | Hosted | Print unsafe operation offset warnings. |
ReportUnsupportedElementsAtRuntime | bool | false | Hosted | 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. |
ReservedAddressSpaceSize | int | 0 | Runtime | The number of bytes that should be reserved for the heap address space. |
ReservedAuxiliaryImageBytes | int | 0 | Hosted | Size in bytes of an address space to reserve for auxiliary images. |
ResizePLAB | bool | true | Runtime | Dynamically resize (survivor space) promotion LAB's. G1 GC only. |
ResizeTLAB | bool | true | Runtime | Dynamically resize TLAB size for threads. G1 GC only. |
ResourceConfigurationFiles | String | * | Hosted | Files describing Java resources to be included in the image according to the schema at
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/assets/resource-config-schema-v1.0.0.json.
[Extra help available] |
ResourceConfigurationResources | String | * | Hosted | Resources describing Java resources to be included in the image according to the schema at
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/assets/resource-config-schema-v1.0.0.json.
[Extra help available] |
RespectVectorization | bool | true | Runtime | Try avoid unrolling vectorizable loops. |
ReturnAfterAnalysis | bool | false | Hosted | Return after analysis. |
ReuseRecursiveDuplicatedMethods | bool | true | Runtime | Do not duplicate recursive methods but rather reuse a previous duplicate. |
RewriteStripMinedCounterTo32Bit | bool | true | Runtime | Rewrite the counter of a strip mined loop to have a 32bit type. |
RootSizePenaltyCoefficient | double | 0.1 | Runtime | Reduces likelihood of spending a lot of time inlining when the IR is already large. |
RootSizePenaltyTypicalGraphSize | int | 3250 | Runtime | At what size of the root IR graph do we start to consider applying a exploration penalty. |
RotateNonLeafLoops | bool | false | Runtime | |
RotationMinLocalFrequency | double | 2.0 | Runtime | Minimal loop frequency for a loop to be considered for rotation. |
RotationMinRelativeFrequency | double | 1.0 | Runtime | Minimal relative frequency for a loop to be considered for rotation. |
RunMainInNewThread | bool | false | Hosted | Initializes and runs main entry point in a new native thread. |
RunReachabilityHandlersConcurrently | bool | true | Hosted | Run reachability handlers concurrently during analysis. |
RuntimeAssertions | String | * | Hosted | Enable or disable Java assert statements at run time. |
RuntimeCheckedCPUFeatures | String | * | Hosted | 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: ''. |
RuntimeCompilationInlineBeforeAnalysis | bool | true | Hosted | Perform InlineBeforeAnalysis on runtime compiled methods. |
RuntimeSystemAssertions | bool | false | Hosted | Enable or disable Java system assertions at run time. |
SIMDArithmeticReduceMinLength | int | 16 | Runtime | Minimum vector length for matching SIMD arithmetic reduce patterns. |
SIMDVectorizationCheckLoadGroupProfitability | bool | true | Runtime | Check for profitability when grouping memory loads to SIMD loads. |
SIMDVectorizationDirectLoadStore | bool | false | Runtime | Allow SIMDVectorization to vectorize load to store opportunities when there are no matching SIMD operations between load
and store. |
SIMDVectorizationSingletons | bool | false | Runtime | Enable matching of singleton groups to increase corner-case matching. |
SIMDVectorizationVolatileLoads | bool | false | Runtime | Allow load grouping to include grouping of volatile loads. Note currently this may generate incorrect results. |
SIMDVectorizationVolatileWrites | bool | false | Runtime | Allow store grouping to include grouping of volatile writes. Note currently this may generate incorrect results. |
SIMDVectorizationWindowSize | int | 4 | Runtime | Set the number of dominating and dominated blocks scanned per block. |
SafepointCheckInEpilogue | bool | true | Hosted | Check for safepoints in method epilogue. |
SafepointPromptnessFailureNanos | int | 0 | Runtime | Exit the VM if I can not come to a safepoint in this many nanoseconds. 0 implies forever. |
SafepointPromptnessWarningNanos | int | 0 | Runtime | Print a warning if I can not come to a safepoint in this many nanoseconds. 0 implies forever. |
SafepointSamplerStats | | "" | Hosted | Dump some stats about the safepoint sampler into a file on this path. |
SamplingCollect | bool | false | Hosted | Perform profiling by sampling the AOT compiled code to collect data for profile-guided optimization. |
SaveProfilesPath | String | None | Runtime | Path for saving compilation profiles. If the value is omitted the debug dump path will be used. |
SaveProfiles | bool | false | Runtime | Save per compilation profile information. |
ScanObjectsParallel | bool | true | Runtime | Object scanning in parallel. |
ScheduledDuplicationSimulation | bool | false | Runtime | Simulation can either only process fixed nodes or schedule the graph and also process floating nodes. |
SerializationConfigurationFiles | String | * | Hosted | One or several (comma-separated) paths to JSON files that specify lists of serialization configurations. [Extra help
available] |
SerializationConfigurationResources | String | * | Hosted |
Resources describing program elements to be made available for serialization (see SerializationConfigurationFiles).
[Extra help available] |
SerializationDenyConfigurationFiles | String | * | Hosted |
One or several (comma-separated) paths to JSON files that specify lists of serialization configurations. [Extra help
available] |
SerializationDenyConfigurationResources | String | * | Hosted |
Resources describing program elements that must not be made available for serialization. |
ServiceLoaderFeatureExcludeServiceProviders | String | * | Hosted |
Comma-separated list of service providers that should be excluded. |
ServiceLoaderFeatureExcludeServices | String | * | Hosted |
Comma-separated list of services that should be excluded. |
SharedLibrary | bool | false | Hosted | Build shared library. |
ShowConfiguration | String | none | Runtime | Writes to the VM log information about the compiler configuration selected. |
ShowDumpFiles | bool | false | Runtime | Print the name of each dump file path as it's created. |
ShowSubstitutionSourceInfo | bool | false | Runtime | 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. |
SignalHandlerBasedExecutionSampler | bool | false | Hosted | Determines if JFR uses a signal handler for execution sampling. |
SimulateClassInitializerCollectAllReasons | bool | false | Hosted | Configuration for SimulateClassInitializer: Collect all reasons why a class initializer cannot be simulated. |
SimulateClassInitializerMaxAllocatedBytes | int | 40000 | Hosted |
Configuration for SimulateClassInitializer: Maximum number of bytes allocated in the image heap for each class
initializer. |
SimulateClassInitializerMaxInlineDepth | int | 200 | Hosted |
Configuration for SimulateClassInitializer: Maximum inlining depth during simulation. |
SimulateClassInitializerMaxLoopIterations | int | 2000 | Hosted |
Configuration for SimulateClassInitializer: Maximum number of loop iterations that are unrolled during simulation. |
SimulateClassInitializer | bool | true | Hosted | Simulate the effects of class initializer at image build time, to avoid class initialization at run time. |
SimulationBasedLoopPeeling | bool | true | Runtime | Use DBDS algorithm to simulate the impact of peeling on a loop. |
SimulationPruneUnlikelyBranches | bool | true | Runtime | Ignore low frequency branches during simulation. |
SizeForIPEAFrequencyDecrease | int | 500 | Hosted | Size of the IR that forces a reduction in the number of IPEA runs made. |
SmallCompiledLowLevelGraphSize | int | 330 | Runtime | If the previous low-level graph size of the method exceeds the threshold, it is not inlined. |
SmallGraphDuplicationBudgetFactor | double | 1.0 | Runtime | See 'DuplicationBudgetFactor': for small graphs. |
SmallGraphSize | int | 2000 | Runtime | Node cost graph size for a graph to be considered 'small'. |
SmallRootIrPenaltyCoefficient | double | 0.02 | Runtime | Reduces the likelihood of exploring call graphs with IR size much larger than the root. |
SnippetCounters | bool | false | Runtime | Enable counters for various paths in snippets. |
SoftRefLRUPolicyMSPerMB | int | 1000 | Runtime | Number of milliseconds per MB of free space in the heap. G1 GC only. |
SourceLevelDebugFilter | String | * | Hosted | Constrain debug info generation to the comma-separated list of package prefixes given to this option. |
SourceLevelDebug | bool | false | Hosted | Preserve 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. |
SpawnIsolates | bool | true | Hosted | Support multiple isolates. |
SpectrePHTBarriers | String | None | Runtime | Select a strategy to mitigate speculative bounds check bypass (aka Spectre-PHT or Spectre V1). [Extra help available] |
SpectrePHTIndexMasking | bool | false | Runtime | Mask indices to scope access to allocation size after bounds check. |
SpeculativeExecutionBarriers | bool | false | Runtime | Stop speculative execution on all branch targets with execution barrier instructions. |
SpeculativeGuardMovement | bool | true | Runtime | Move loop invariant guards (e.g., array bounds checks) out of loops. |
SpeculativeStoreCheck | bool | true | Runtime | Speculates that arrays have exact type to optimize store checks. |
StackOverflowCheckInPrologue | bool | true | Hosted | Check for stack overflow in method prologue. |
StackRedZoneSize | int | 8192 | Hosted | 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. |
StackSize | int | 0 | Runtime | The size of each thread stack at run-time, in bytes. |
StackTrace | bool | true | Hosted | Deprecated, has no effect. |
StackYellowZoneSize | int | 32768 | Hosted | 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. |
StaticExecutableWithDynamicLibC | bool | false | Hosted | Builds a statically linked executable with libc dynamically linked. |
StaticExecutable | bool | false | Hosted | Build statically linked executable (requires static libc and zlib). |
StaticLibStdCpp | bool | false | Hosted | Builds image with libstdc++ statically linked into the image (if needed). |
StrengthenGraphWithConstants | bool | true | Runtime | Perform constant folding in StrengthenGraphs. |
StressExplicitExceptionCode | bool | false | Runtime | Stress the code emitting explicit exception throwing code. |
StressInvokeWithExceptionNode | bool | false | Runtime | Stress the code emitting invokes with explicit exception edges. |
StressTestEarlyReads | bool | false | Runtime | Stress the code by emitting reads at earliest instead of latest point. |
StrictConfiguration | bool | false | Hosted | When configuration files do not match their schema, abort the image build instead of emitting a warning. |
StrictDeoptInsertionChecks | bool | false | Runtime | Perform checks that guards and deopts aren't introduced in graphs that should handle exceptions explicitly. |
StrictImageHeap | bool | true | Hosted | Enable the strict image heap mode that allows all classes to be used at build-time but also requires types of all
objects in the heap to be explicitly marked for build-time initialization. |
StrictProfiles | bool | true | Runtime | Throw an error if an attempt is made to overwrite/update a profile loaded from disk. |
StrictQueryCodeCompilation | bool | true | Hosted | Use strict checks when performing query code compilation. |
StringIndexOfConstantLimit | int | 4096 | Runtime | String.indexOf invocations will be evaluated at compile time if the receiver is a constant and its length is smaller
than this value. |
StripDebugInfo | bool | true | Hosted | Use a separate file for debug info. |
StripMineALot | bool | false | Runtime | Force strip mining of all loops that can be strip mined. |
StripMineCountedLoops | bool | true | Runtime | |
StripMineInvertedLoops | bool | true | Runtime | Strip mine inverted loops. |
StripMineNonCountedLoops | bool | true | Runtime | |
SubstitutionChecksumResult | String | None | Hosted | Instead of reporting substitution mismatches on the command line, write the result to the specified JSON file. |
SupportCompileInIsolates | bool | None | Hosted | Support runtime compilation in separate isolates (enable at runtime with option CompileInIsolates). |
SupportJsrBytecodes | bool | true | Runtime | |
SupportOSRWithLocks | bool | true | Runtime | 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. |
SupportPredefinedClasses | bool | true | Hosted | Enable support for predefining additional classes. |
SupportRecurringCallback | bool | true | Hosted | Support a per-thread timer that is called at a specific interval. |
SuppressStderr | bool | false | Hosted | Suppress console error output for unittests. |
SuppressStdout | bool | false | Hosted | Suppress console normal output for unittests. |
SurvivorRatio | int | 8 | Runtime | Ratio of eden/survivor space size. G1 GC only. |
SystemicCompilationFailureRate | int | 1 | Runtime | Compilation failure rate indicating a systemic compilation problem that will issue a warning. The value is made absolute
and clamped to produce P, a value between 0 and 100. Systemic failure is detected if the percent of failing
compilations in a sliding time window >= P. A negative value will cause the VM to exit after issuing the warning. Set
to 0 to disable systemic compilation problem detection. |
TLABAllocationWeight | int | 35 | Runtime | Allocation averaging weight. G1 GC only. |
TLABRefillWasteFraction | int | 64 | Runtime | Maximum TLAB waste at a refill (internal fragmentation). G1 GC only. |
TLABSize | int | 0 | Runtime | Starting TLAB size (in bytes); zero means set ergonomically. G1 GC only. |
TLABWasteIncrement | int | 4 | Runtime | Increment allowed waste at slow allocation. G1 GC only. |
TLABWasteTargetPercent | int | 1 | Runtime | Percentage of Eden that can be wasted. G1 GC only. |
TargetPLABWastePct | int | 10 | Runtime | Target wasted space in last buffer as percent of overall allocation. G1 GC only. |
TargetPlatform | | "" | Hosted | Selects native-image compilation target (in - format). Defaults to host's OS-architecture pair. |
TargetSurvivorRatio | int | 50 | Runtime | Desired percentage of survivor space used after scavenge. G1 GC only. |
TearDownFailureNanos | int | 0 | Runtime | The number of nanoseconds before tearing down an isolate gives a failure message. 0 implies no message. |
TearDownWarningNanos | int | 0 | Runtime | The number of nanoseconds before and between which tearing down an isolate gives a warning message. 0 implies no
warning. |
TempDirectory | String | * | 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. |
ThrowLinkAtBuildTimeIOExceptions | bool | false | Hosted | Instead of warning, throw IOExceptions for link-at-build-time resources at build time. |
ThrowMissingRegistrationErrorsPaths | String | * | Hosted |
Trigger missing registration errors from all types in the given class or module-path entries. [Extra help available] |
ThrowMissingRegistrationErrors | String | * | Hosted | Throw Native Image-specific errors when trying to access an element that has not been registered. [Extra help available] |
ThrowUnsafeOffsetErrors | bool | true | Hosted | Throw unsafe operation offset errors. |
TimeStampProfiling | bool | false | Runtime | Profile method execution time. |
Time | String | None | Runtime | Pattern for specifying scopes in which timing is enabled. See the Dump option for the pattern syntax. An empty value
enables all timers unconditionally. |
TimedDynamicCounters | int | -1 | Runtime | Turn on the benchmark counters, and displays the results every n milliseconds. |
Timers | String | None | Runtime | Comma separated names of timers that are enabled irrespective of the value for Time option. An empty value enables all
timers unconditionally. |
TraceAuxiliaryImageClassHistogram | bool | false | Runtime | Enables detailed tracing of auxiliary image events. |
TraceAuxiliaryImageReferenceTree | bool | false | Runtime | Enables detailed tracing of auxiliary image events. |
TraceBytecodeParserLevel | int | 0 | Runtime | 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 | String | * | Hosted | Comma-separated list of fully-qualified class names that class initialization is traced for. |
TraceCodeCache | bool | false | Runtime | Print logging information for runtime code cache modifications. |
TraceDeoptimizationDetails | bool | false | Runtime | Print verbose logging information for every deoptimization. |
TraceDeoptimization | bool | false | Runtime | Print logging information for every deoptimization. |
TraceDuplicatedMethods | bool | false | Runtime | Trace duplicated methods. |
TraceEscapeAnalysis | bool | false | Runtime | |
TraceExceptionHandlerStub | bool | false | Runtime | Trace execution of stub used to handle an exception thrown by a callee. |
TraceHeapChunks | bool | false | Runtime | Trace heap chunks during collections, if +VerboseGC. Serial GC only. |
TraceInlineDuringParsing | bool | false | Runtime | Traces inlining performed during bytecode parsing. |
TraceInliningForStubsAndSnippets | bool | false | Runtime | Enable inlining decision tracing in stubs and snippets. |
TraceInlining | bool | false | Runtime | Enable tracing of inlining decisions. |
TraceLIRGeneratorLevel | int | 0 | Runtime | The trace level for the LIR generator. |
TraceLocalizationFeature | bool | false | Hosted | When enabled, localization feature details are printed. |
TraceLoggingFeature | bool | false | Hosted | When enabled, logging feature details are printed. |
TraceMonitorsMethodFilter | String | None | Runtime | Trace monitor operations in methods whose fully qualified name contains this substring. |
TraceMonitorsTypeFilter | String | None | Runtime | Trace monitor operations on objects whose type contains this substring. |
TraceNativeToolUsage | bool | false | Hosted | Trace all native tool invocations as part of image building. |
TraceObjectInstantiation | String | * | Hosted | Comma-separated list of fully-qualified class names that object instantiation is traced for. |
TraceParserPlugins | bool | false | Runtime | Traces use of plugins during bytecode parsing. |
TraceSecurityServices | bool | false | Hosted | Enable tracing of security services automatic registration. |
TraceUnwindStub | bool | false | Runtime | Trace execution of the stub that routes an exception to a handler in the calling frame. |
TraceVMOperations | bool | false | Hosted | Trace VMOperation execution. |
TrackAccessChain | bool | false | Runtime | Track the callers for methods and accessing methods for fields. |
TrackGraphSizesInDuplication | bool | false | Runtime | Enable (if Count is enabled) graph size tracking during every duplication iteration. |
TrackIPEAStatistics | String | none | Runtime | Track IPEA statistics in substratePriorityInliner. |
TrackInliningStatistics | String | none | Runtime | Track inlining statistics (inlining duration, call tree size, compiler node counts, and the number of callsites). One
of: none, interactive. |
TrackInputFlows | bool | false | Runtime | Track the input for type flows. |
TrackMemUse | String | None | Runtime | 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. |
TrackNodeInsertion | bool | false | Runtime | Track source stack trace where a node was inserted into the graph. |
TrackNodeSourcePosition | bool | false | Runtime | Track the NodeSourcePosition. |
TrackPrimitiveValues | bool | false | Runtime | Track primitive values using the infrastructure of points-to analysis. |
TreatRuntimeCodeInfoReferencesAsWeak | bool | true | Hosted | Determines if references from runtime-compiled code to Java heap objects should be treated as strong or weak. |
TrivialInliningSize | int | 10 | Runtime | Graphs with less than this number of nodes are trivial and therefore always inlined. |
TrivialLoopSizeLimitForPeeling | double | 512.0 | Runtime | Loop peeling will consider any loop with a size (in terms of estimated machine instructions) below this value to be a
prime candidate for peeling. Larger loops will only be considered for peeling if the simulated benefit of peeling is
relatively high. The larger the loop, the greater the expected benefit has to be. |
TruffleCompilerConfiguration | String | None | Runtime | Select a compiler configuration for Truffle compilation (default: use Graal system compiler configuration). |
TruffleHostInliningBaseBudget | int | 5000 | Runtime | Maximum budget for Truffle host inlining for runtime compiled methods. |
TruffleHostInliningByteCodeInterpreterBudget | int | 100000 | Runtime |
Maximum budget for Truffle host inlining for runtime compiled methods with a BytecodeInterpreterSwitch annotation. |
TruffleHostInliningMaxExplorationDepth | int | 1000 | Runtime |
Determines the maximum call depth for exploration during host inlining. |
TruffleHostInliningMaxSubtreeInvokes | int | 20 | Runtime | Maximum number of subtree invokes for a subtree to get inlined until it is considered too complex. |
TruffleHostInliningMinFrequency | double | 0.001 | Runtime | Minimum relative frequency for calls to get inlined. Default 0.001 on HotSpot and no minimum frequency on SVM. |
TruffleHostInliningPrintExplored | bool | false | Runtime | When logging is activated for this phase enables printing of only explored, but ultimately not inlined call trees. |
TruffleHostInlining | bool | true | Runtime | Whether Truffle host inlining is enabled. |
TruffleImmutableFrameFields | bool | true | Runtime | Whether Truffle should mark final frame fields as immutable. |
TruffleTrustedNonNullCast | bool | true | Runtime | Whether Truffle trusted non-null casts are enabled. |
TruffleTrustedTypeCast | bool | true | Runtime | Whether Truffle trusted type casts are enabled. |
TrustFinalDefaultFields | bool | true | Runtime | Determines whether to treat final fields with default values as constant. |
TryExplodeOverPhis | bool | true | Runtime | PullThroughPhiOptimization: Enable floating node duplication over multiple phi nodes at once. |
TryPhiPhiPulls | bool | true | Runtime | PullThroughPhiOptimization: Enable floating node duplication over phis where the target node has different phis as
input. |
TuneInlinerExploration | double | 0.0 | Runtime | Increases or decreases the time spent exploring inlining opportunities under the assumption that more time results in
better peak performance and less time reduces time to reach (a lower) peak performance. The value of the option is
clamped between -1 and 1 inclusive. Anything below 0, reduces the exploration time and anything above 0 increases
exploration time. Note that this option is only a heuristic and should be tuned for any specific application. |
TypeCheckMaxHints | int | 2 | Runtime | 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. |
TypeCheckMinProfileHitProbability | double | 0.5 | Runtime | 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. |
TypeFlowPrinterInRadius | int | 0 | Runtime | How many levels of inputs to print. A value of 0 prints only the target flow. |
TypeFlowPrinterOutRadius | int | 0 | Runtime | How many levels of outputs to print. A value of 0 prints only the target flow. |
TypeFlowSaturationCutoff | int | 20 | Runtime | The maximum number of types recorded in a type flow. -1 indicates no limitation. |
TypicalCallGraphSize | int | 100 | Runtime | Denotes the call graph size that is considered medium size. |
TypicalGraphSizeInvokeBonus | int | 70 | Runtime | The increase in estimated typical graph size after inlining, per each extra invoke. |
TypicalGraphSizeMax | int | 15000 | Runtime | The maximum in estimated inlined typical graph size. |
TypicalGraphSize | int | 3250 | Runtime | The typical graph size at which inlining pressure must start growing. |
UnlockExperimentalVMOptions | bool | false | Hosted | Enable and disable normal processing of flags relating to experimental options. |
UnresolvedIsError | bool | true | Runtime | Deprecated, option no longer has any effect. |
UnrollEmptyLoops | bool | false | Runtime | Unroll empty loops. |
UnrollInvertedLoops | bool | true | Runtime | Unroll inverted (tail counted) loops. |
UnrollMaxIterations | int | 16 | Runtime | |
UnrollMultiEndLoops | bool | true | Runtime | Unroll loops with multiple loop ends. |
UnrollMultiExitLoops | bool | true | Runtime | Unroll loops with multiple loop exits. |
UnsafeOffsetWarningsAreFatal | bool | false | Hosted | Print unsafe operation offset warnings. |
UseApplicationCodeSourceLocation | bool | false | Hosted | Return the application path as the Class.getProtectionDomain().getCodeSource().getLocation() for all classes that have
no explicit ProtectionDomain. |
UseBranchesWithin32ByteBoundary | bool | false | Runtime | 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. |
UseCAPCache | bool | false | Hosted | Indicate the C Annotation Processor to use previously cached native information when generating C Type information. |
UseCalleeSavedRegisters | bool | true | Hosted | Use callee saved registers to reduce spilling for low-frequency calls to stubs (if callee saved registers are supported
by the architecture). |
UseCompilationStatistics | bool | false | Runtime | Enables CompilationStatistics. |
UseCompressedReferenceShift | bool | true | Hosted | Use bit-shifting to enlarge the address range with narrow references. |
UseCompressedReferences | bool | true | Hosted | Use compressed references (32-bit instead of 64-bit references to Java objects). |
UseContainerSupport | bool | true | Hosted | Enable detection and runtime container configuration support. |
UseDedicatedVMOperationThread | bool | false | Hosted | Determines if VM operations should be executed in a dedicated thread. |
UseDirectCallTrampolinesALot | bool | false | Hosted | Force 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. |
UseDynamicNumberOfGCThreads | bool | true | Runtime | Dynamically choose the number of threads up to a maximum of ParallelGCThreads that G1 will use for garbage collection
work. |
UseEpsilonGC | bool | false | Hosted | Use a no-op GC. |
UseExceptionProbability | bool | true | Runtime | |
UseExperimentalReachabilityAnalysis | bool | false | Runtime | Use experimental Reachability Analysis instead of points-to. |
UseG1GC | bool | false | Hosted | Determines if the G1 garbage collector should be used. |
UseGraphCache | bool | true | Runtime | Turn on graph caching. |
UseIPEA | bool | true | Hosted | Use InterproceduralPartialEscapeAnalysisPhase in priorityInliner. |
UseImagebuildDebugSections | bool | true | Hosted | Emit debuginfo debug.svm.imagebuild.* sections with detailed image-build options. |
UseLibC | String | None | Hosted | Selects the libc implementation to use. Available implementations: glibc, musl, bionic. |
UseLoopEndFrequencies | bool | false | Runtime | Derive loop frequencies only from backedge frequencies instead of from loop exit frequencies. |
UseLoopLimitChecks | bool | true | Runtime | |
UseMethodChecks | bool | true | Hosted | Perform method-based checks during inlining. |
UseMonitorFastPath | bool | true | Hosted | Use thin locking fast path in snippets. |
UseNullRegion | bool | true | Hosted | Determines if a null region is present between the heap base and the image heap. |
UseOldMethodHandleIntrinsics | bool | false | Hosted | Force using legacy method handle intrinsics. |
UsePartialEscapeSelectiveInlining | bool | false | Hosted | Use PartialEscapeSelectiveInliningPhase to give PartialEscape phase more opportunities. |
UsePerfData | bool | true | Runtime | Flag to disable jvmstat instrumentation for performance testing. |
UsePriorityInliningPEA | bool | true | Runtime | Turn on partial escape analysis during inlining. |
UsePriorityInlining | bool | true | Runtime | Use priority-based inlining. |
UseReachabilityMethodSummaries | bool | false | Runtime | Use method summaries for Reachability Analysis. |
UseRememberedSet | bool | true | Hosted | Determines if a remembered sets is used, which is necessary for collecting the young and old generation independently. |
UseSerialGC | bool | true | Hosted | Use a serial GC. |
UseServiceLoaderFeature | bool | true | Hosted | Automatically register services for run-time lookup using ServiceLoader. |
UseSnippetGraphCache | bool | true | Runtime | Use a cache for snippet graphs. |
UseSnippetTemplateCache | bool | true | Runtime | Use a LRU cache for snippet templates. |
UseStringInlining | bool | false | Hosted | Determines if the string inlining optimization should be used. |
UseTLAB | bool | true | Hosted | Use thread-local object allocation. G1 GC only. |
UseThinLocking | bool | false | Hosted | Use thin locking to optimize monitor operations. |
UseTrappingNullChecks | bool | true | Runtime | Use traps for null checks instead of explicit null-checks. |
UseTypeCheckHints | bool | true | Runtime | |
UsedEdenProportionThreshold | double | 0.75 | Runtime | Ratio 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. |
VMContinuations | bool | true | Hosted | Support for continuations which are used by virtual threads. If disabled, virtual threads can be started but each of
them is backed by a platform thread. |
VTuneAbsoluteFilenames | bool | true | Runtime | Use absolute path for source-filenames in VTune events. |
VTunePath | | "" | Hosted | Path to VTune installation (usually /opt/intel/oneapi/vtune/latest/ or /opt/intel/vtune_amplifier). |
VTuneRuntimeSourceDestDir | String | None | Runtime | Directory where Java source-files will be placed for the debugger. |
VectorFoldMinIterations | int | 4 | Runtime | Only generate SIMD loops for vector folds expected to iterate at least this many times. |
VectorIntrinsics | bool | true | Runtime | Enable vectorized array copy intrinsics. |
VectorPolynomialIntrinsics | bool | false | Runtime | Enable vectorized polynomial intrinsics. |
VectorUnroll | int | 1 | Runtime | Unroll vectorized loops. |
Vectorization | bool | true | Runtime | Enable vectorization. |
VectorizeAllocation | bool | true | Runtime | Enable vectorized array initialization. |
VectorizeConditional | bool | true | Runtime | Enable vectorization of conditional code. |
VectorizeDeopts | bool | true | Runtime | Enable vectorization of loops with conditional deopts before writes. |
VectorizeFoldShaped | bool | true | Runtime | Enable vectorization of loops implementing a higher-order 'fold' function. |
VectorizeGather | bool | true | Runtime | Enable vectorization of vector gather operations. |
VectorizeHashes | bool | true | Runtime | Enable vectorization of hashCode patterns. |
VectorizeIntegerMinMax | bool | true | Runtime | Enable vectorization of integer min/max operations. |
VectorizeLoops | bool | true | Runtime | Enable vectorization of loops. |
VectorizeMapShaped | bool | true | Runtime | Enable vectorization of loops implementing a higher-order 'map' function. |
VectorizeNegativeStride | bool | true | Runtime | Enable vectorization of loops with negative strides. |
VectorizeReachabilityFences | bool | true | Runtime | Enable vectorization of loops with reachability fences. |
VectorizeSIMD | bool | false | Runtime | Enable detection of SIMD patterns. |
VectorizeSafepoints | bool | true | Runtime | Enable vectorization of loops with safepoints. |
VectorizeSequence | bool | true | Runtime | Enable vectorization of sequence values. |
VerboseGC | bool | false | Runtime | Print more information about the heap before and after each collection. |
VerifyAfterGC | bool | false | Runtime | Verify memory system after GC. G1 GC only. |
VerifyBalancedMonitors | bool | false | Runtime | Emit extra code to dynamically check monitor operations are balanced. |
VerifyBeforeGC | bool | false | Runtime | Verify memory system before GC. G1 GC only. |
VerifyDeoptimizationEntryPoints | bool | false | Hosted | Verify that all possible deoptimization entry points have been properly compiled and registered in the metadata. |
VerifyDuplicationOperations | bool | false | Runtime | |
VerifyDuringGC | bool | false | Runtime | Verify memory system during GC (between phases). G1 GC only. |
VerifyGCStartAt | int | 0 | Runtime | GC invoke count where +VerifyHeap kicks in. G1 GC only. |
VerifyGraalGraphEdges | bool | false | Runtime | Perform expensive verification of graph inputs, usages, successors and predecessors. |
VerifyGraalGraphs | bool | true | Runtime | Verify graphs often during compilation when assertions are turned on. |
VerifyGraalPhasesSize | bool | false | Runtime | Verify before - after relation of the relative, computed, code size of a graph. |
VerifyHeapAtReturn | bool | false | Runtime | Perform platform dependent validation of the Java heap at returns. |
VerifyHeap | bool | false | Hosted | Verify the heap before and after each collection. |
VerifyKillCFGUnusedNodes | bool | false | Runtime | Verify that there are no new unused nodes when performing killCFG. |
VerifyLoopVectorization | bool | false | Runtime | Run expensive checks to verify the graph after loop vectorization. |
VerifyNamingConventions | bool | false | Hosted | Verify naming conventions during image construction. |
VerifyPhases | bool | false | Runtime | |
VerifyReferencesPointIntoValidChunk | bool | false | Hosted | Verify that object references point into valid heap chunks if VerifyHeap is enabled. Serial GC only. |
VerifyReferences | bool | true | Hosted | Verify all object references if VerifyHeap is enabled. Serial GC only. |
VerifyRememberedSet | bool | true | Hosted | Verify the remembered set if VerifyHeap is enabled. Serial GC only. |
VerifyRememberedSets | bool | false | Runtime | Verify GC remembered sets. G1 GC only. |
VerifySubstitutionChecksum | String | None | Hosted | Verify substitution checksums in the specified directory. |
VerifyTypes | bool | false | Hosted | Verify 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. |
VerifyWriteBarrierElimination | bool | false | Runtime | Add code to verify that eliminated barriers weren't needed. |
VerifyWriteBarriers | bool | false | Hosted | Verify write barriers. Serial GC only. |
Verify | String | None | Runtime | Pattern for specifying scopes in which logging is enabled. See the Dump option for the pattern syntax. |
Virtualize | | "" | Hosted | Build the native image for a virtualized environment. The argument is a path to a JSON file that specifies the
virtualized environment properties. |
WarnAboutCodeSignatureMismatch | bool | true | Runtime | Print to stdout when a compilation performed with different profiles generates different backend code. |
WarnAboutGraphSignatureMismatch | bool | true | Runtime | Print to stdout when a compilation performed with different profiles generates different frontend IR. |
WarnAboutMissingReflectionOrJNIMetadataElements | bool | false | Hosted | Warn when reflection and JNI configuration files have elements that could not be found on the classpath or modulepath. |
WarnAboutNotCachedLoadedAccess | bool | true | Runtime | Print to stdout when requesting profiling info not present in a loaded profile. |
WarnMissingIntrinsic | bool | false | Runtime | Print a warning when a missing intrinsic is seen. |
WriteSinkingExcludeFields | String | None | Runtime | Exclude certain fields from write sinking. Fields are specified with the same syntax as method filters, minus the
signature part. |
WriteSubstitutionChecksum | String | None | Hosted | Write substitution checksums to the specified directory. |
WriteableCodeCache | bool | false | Runtime | Allocate code cache with write access, allowing inlining of objects. |
YoungPLABSize | int | 4096 | Runtime | Size of young gen promotion LAB's (in HeapWords). G1 GC only. |
ZapChunks | bool | false | Hosted | Fill unused memory chunks with a sentinel value. Serial and epsilon GC only. |
ZapConsumedHeapChunks | bool | false | Hosted | After use, Fill memory chunks with a sentinel value. Serial and epsilon GC only. |
ZapProducedHeapChunks | bool | false | Hosted | Before use, fill memory chunks with a sentinel value. Serial and epsilon GC only. |
ZapStackOnMethodEntry | bool | false | Runtime | |
ZeroTLAB | bool | false | Runtime | Zero out the newly created TLAB. G1 GC only. Default: - (disabled). |