VM Options Explorer - GraalVM CE JDK11

Hey Reader! If these notes float your boat you'll find more great JVM info in this book I co-wrote! Optimizing Java: Practical techniques for improving JVM application performance
NameTypeDefaultDescription
Type
AOTInliningDepthToSizeRateDouble2.5
AOTInliningSizeMaximumInteger300
AOTInliningSizeMinimumInteger50
AOTVerifyOopsBooleanfalse
Generate verify oop checks in AOT code
ASMInstructionProfilingStringnull
Enables instruction profiling on assembler level. Valid values are a
comma separated list of supported instructions. Compare with subclasses
of Assembler.InstructionCounter.
AbortOnBenchmarkCounterOverflowBooleanfalse
Abort VM with SIGILL if benchmark counters controlled by the
(Generic|Timed|Benchmark)DynamicCounters
option overflow. This feature is only supported on AMD64.
WARNING: No descriptive error message will be printed! In case of an overflow,
manual inspection of the emitted code is required.
ActiveProcessorCountInteger-1
Overwrites the available number of processors provided by the OS. Any
value <= 0 means using the processor count from the OS.
AggregatedMetricsFileStringnull
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.
AliasArrayTypeFlowsBooleantrue
Model all array type flows using a unique elements type flow
abstraction.
AllocationProfilingThresholdInteger1048576
The minimum size in bytes required for printing an allocation profiling
entry
AllocationSiteSensitiveHeapBooleanfalse
A context sensitive heap means that each heap allocated object is
modeled by using at least the allocation site.
AlwaysInlineIntrinsicsBooleanfalse
Unconditionally inline intrinsics
AlwaysInlineVTableStubsBooleanfalse
AnalysisContextSensitivityString"insens"
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)
AnalysisSizeCutoffInteger8
The maximum size of type and method profiles returned by the static
analysis. -1 indicates no limitation.
AnalysisStatisticsFileStringnull
Analysis results statistics file.
AuditHandlesBooleanfalse
Record stack trace along with scoped foreign object reference wrappers to debug issue with a wrapper being used after its scope has closed.
BenchmarkCounterPrintingCutoffBooleantrue
Use a cutoff to print only most significant counters.
BenchmarkCountersDumpDynamicBooleantrue
Dump dynamic counters
BenchmarkCountersDumpStaticBooleanfalse
Dump static counters
BenchmarkCountersFileStringnull
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
BenchmarkDynamicCountersStringnull
Turn on the benchmark counters. The format of this option is:
          
  (err|out),start pattern,end pattern
  
Start counting when the start pattern matches on the given stream and stop when the end pattern occurs.
You can use "~" to match 1 or more digits.
Examples:
          
  err, starting =====, PASSED in
  out,Iteration ~ (~s) begins:,Iteration ~ (~s) ends:
  
The first pattern matches DaCapo output and the second matches SPECjvm2008 output.
          
As a more detailed example, here are the options to use for getting statistics
about allocations within the DaCapo pmd benchmark:
          
  -XX:JVMCICounterSize=<value> -XX:-JVMCICountersExcludeCompiler \
  -Dgraal.BenchmarkDynamicCounters="err, starting ====, PASSED in " \
  -Dgraal.ProfileAllocations=true
  
The JVMCICounterSize value depends on the granularity of the profiling -
10000 should be sufficient. Omit JVMCICountersExcludeCompiler to exclude
counting allocations on the compiler threads.
The counters can be further configured by the ProfileAllocationsContext option.
          
We highly recommend the use of -Dgraal.AbortOnBenchmarkCounterOverflow=true to
detect counter overflows eagerly.
BootstrapInitializeOnlyBooleanfalse
Do not compile anything on bootstrap but just initialize the compiler.
BootstrapTimeoutDouble15.0
Maximum time in minutes to spend bootstrapping (0 to disable this
limit).
BootstrapWatchDogCriticalRateRatioDouble0.25
Ratio of the maximum compilation rate below which the bootstrap
compilation rate must not fall (0 or less disables monitoring).
CanOmitFrameBooleantrue
CanonicalGraphStringsCheckConstantsBooleanfalse
Exclude virtual nodes when dumping canonical text for graphs.
CanonicalGraphStringsExcludeVirtualsBooleantrue
Exclude virtual nodes when dumping canonical text for graphs.
CanonicalGraphStringsRemoveIdentitiesBooleantrue
Attempts to remove object identity hashes when dumping canonical text
for graphs.
ClearMetricsAfterBootstrapBooleanfalse
Clear the debug metrics after bootstrap.
CompilationBailoutAsFailureBooleanfalse
Treat compilation bailouts like compilation failures.
CompilationCountLimitInteger0
The number of compilations allowed for any method before the VM exits
(a value of 0 means there is no limit).
CompilationExcludePhasesStringnull
Exclude certain phases from compilation, either unconditionally or with
a method filter
CompilationExpirationPeriodInteger300
Time limit in seconds before a compilation expires (0 to disable the
limit). The compilation alarm will be implicitly disabled if assertions
are enabled.
CompilationFailureActionStringSilent
Specifies the action to take when compilation fails.
          
The accepted values are:
    Silent  - Print nothing to the console.
     Print  - Print a stack trace to the console.
  Diagnose* - Retry the compilation with extra diagnostics.
    ExitVM  - Same as Diagnose except that the VM process exits after retrying.
    
* If "Diagnose" is set compilation will be retried with extra diagnostics enabled including dumping (see file:doc-files/DumpHelp.txt). 
  In such a scenario DiagnoseDumpLevel can be used to specify the dump level (DebugContext dump levels) accordingly.
      
CompilationIsolateAddressSpaceSizeLong0
Size of the reserved address space of each compilation isolate (0:
default for new isolates).
CompilationWatchDogStackTraceIntervalDouble60.0
Interval in seconds between a watch dog reporting stack traces for long
running compilations.
CompilationWatchDogStartDelayDouble0.0
Delay in seconds before watch dog monitoring a compilation (0 disables
monitoring).
CompileGraalWithC1OnlyBooleantrue
In tiered mode compile Graal and JVMCI using optimized first tier code.
CompileInIsolatesBooleantrue
Activate runtime compilation in separate isolates (enable support
during image build with option SupportCompileInIsolates).
CompilerConfigurationStringnull
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.
CompilerStringnull
Selects the system compiler. This must match the getCompilerName() value returned by a jdk.vm.ci.runtime.JVMCICompilerFactory provider. An empty string or the value "null" selects a compiler that will raise an exception upon receiving a compilation request.
ConditionalEliminationMaxIterationsInteger4
ConditionalEliminationBooleantrue
CountStringnull
Pattern for specifying scopes in which counters are enabled. See the
Dump option for the pattern syntax. An empty value enables all counters
unconditionally.
CountersStringnull
Comma separated names of counters that are enabled irrespective of the
value for Count option. An empty value enables all counters
unconditionally.
CrashAtIsFatalBooleanfalse
Converts an exception triggered by the CrashAt option into a fatal
error if a non-null pointer was passed in the _fatal option to
JNI_CreateJavaVM. This option exists for the purpose of testing fatal
error handling in libgraal.
CrashAtStringnull
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.
DebugStubsAndSnippetsBooleanfalse
Enable debug output for stub code generation and snippet preparation.
DeoptALotBooleanfalse
DeoptAfterOSRBooleantrue
Deoptimize OSR compiled code when the OSR entry loop is finished if
there is no mature profile available for the rest of the method.
DeoptsToDisableOptimisticOptimizationInteger40
DetailedAssertsBooleanfalse
Enable expensive assertions if normal assertions (i.e. -ea or -esa) are
enabled.
DiagnoseDumpLevelInteger3
Specify the DumpLevel if CompilationFailureAction#Diagnose is used.See
CompilationFailureAction for details.
file:doc-files/CompilationFailureActionHelp.txt
DisableInterceptBooleanfalse
Disable intercepting exceptions in debug scopes.
DivertParameterReturningMethodBooleantrue
Analysis: Detect methods that return one of their parameters and
hardwire the parameter straight to the return.
DumpOnErrorBooleanfalse
Send compiler IR to dump handlers on error.
DumpOnPhaseChangeStringnull
Dump a before and after graph if the named phase changes the
graph.%nThe argument is substring matched against the simple name of
the phase class
DumpPathString"graal_dumps"
The directory where various Graal dump files are written.
DumpStringnull
Filter pattern for specifying scopes in which dumping is enabled.
          
A filter is a list of comma-separated terms of the form:
 
  <pattern>[:<level>]
 
If <pattern> contains a "*" or "?" character, it is interpreted as a glob pattern.
Otherwise, it is interpreted as a substring. If <pattern> is empty, it
matches every scope. If :<level> is omitted, it defaults to 1. The term
~<pattern> is a shorthand for <pattern>:0 to disable a debug facility for a pattern.
          
The default log level is 0 (disabled). Terms with an empty pattern set
the default log level to the specified value. The last
matching term with a non-empty pattern selects the level specified. If
no term matches, the log level is the default level. A filter with no
terms matches every scope with a log level of 1.
          
Examples of debug filters:
--------- 
  (empty string)
          
  Matches any scope with level 1.
--------- 
  :1
          
  Matches any scope with level 1.
--------- 
  *
          
  Matches any scope with level 1.
--------- 
  CodeGen,CodeInstall
          
  Matches scopes containing "CodeGen" or "CodeInstall", both with level 1.
--------- 
  CodeGen:2,CodeInstall:1
          
  Matches scopes containing "CodeGen" with level 2, or "CodeInstall" with level 1.
---------
  Outer:2,Inner:0}
          
  Matches scopes containing "Outer" with log level 2, or "Inner" with log level 0. If the scope
  name contains both patterns then the log level will be 0. This is useful for silencing subscopes.
---------
  :1,Dead:2
          
  Matches scopes containing "Dead" with level 2, and all other scopes with level 1.
--------- 
  Dead:0,:1
          
  Matches all scopes with level 1, except those containing "Dead".   Note that the location of
  the :1 doesn't matter since it's specifying the default log level so it's the same as
  specifying :1,Dead:0.
--------- 
  Code*
          
  Matches scopes starting with "Code" with level 1.
--------- 
  Code,~Dead
          
  Matches scopes containing "Code" but not "Dead", with level 1.
DumpingErrorsAreFatalBooleanfalse
Treat any exceptions during dumping as fatal.
DuplicateIrreducibleLoopsBooleantrue
When enabled, some limited amount of duplication will be performed in
order compile code containing irreducible loops.
DynamicCountersPrintGroupSeparatorBooleantrue
Use grouping separators for number printing
EagerSnippetsBooleantrue
Eagerly construct extra snippet info.
EscapeAnalysisIterationsInteger2
EscapeAnalysisLoopCutoffInteger20
EscapeAnalyzeOnlyStringnull
ExactFullUnrollMaxNodesInteger800
ExactPartialUnrollMaxNodesInteger200
ExhaustiveHeapScanBooleanfalse
Scan all objects reachable from roots for analysis. By default false.
ExitVMOnExceptionBooleanfalse
Alias for CompilationFailureAction=ExitVM.
ExtendedAssertsBooleanfalse
Enable extended asserts which slow down analysis.
FailedLoopExplosionIsFatalBooleanfalse
Do not bail out but throw an exception on failed loop explosion.
FallbackExecutorRuntimeJavaArgString[]""
Internal option used to specify runtime java arguments for
FallbackExecutor.
ForceDumpGraphsBeforeCompilationBooleanfalse
Force-dump graphs before compilation
FullUnrollConstantCompareBoostInteger15
FullUnrollMaxApplicationInteger60
FullUnrollMaxIterationsInteger600
FullUnrollMaxNodesInteger400
FullUnrollBooleantrue
GCDebugStartCycleInteger-1
Start tracing compiled GC barriers after N garbage collections
(disabled if N <= 0).
GenLoopSafepointsBooleantrue
GeneratePICBooleanfalse
Generate position independent code
GenericDynamicCountersBooleanfalse
Turn on the benchmark counters, and displays the results on VM shutdown
GraalArithmeticStubsBooleantrue
Use Graal arithmetic stubs instead of HotSpot stubs where possible
GraalCompileOnlyStringnull
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.
GraphCompressionThresholdInteger70
Graal graph compression is performed when percent of live nodes falls
below this value
GuardPrioritiesBooleantrue
HeapVerificationFailureIsFatalBooleantrue
Failed verification of the heap (if enabled) causes termination.
HotSpotDeoptExplicitExceptionsBooleanfalse
Testing only option that forces deopts for exception throws
HotSpotPostOnExceptionsBooleanfalse
Testing only option that forces deopts for exception throws
HotSpotPrintInliningBooleanfalse
Print inlining optimizations
HybridStaticContextBooleanfalse
Enable hybrid context for static methods, i.e. uses invocation site as
context for static methods.
ImageObjectTreeExpandRootsString""
Override the default suppression of specified roots. See: Reports.md.
ImageObjectTreeExpandTypesString""
Override the default suppression of specified types. See: Reports.md.
ImageObjectTreeSuppressRootsString""
Suppress the expansion of specified roots. See: Reports.md.
ImageObjectTreeSuppressTypesString""
Suppress the expansion of specified types. See: Reports.md.
ImmutableCodeBooleanfalse
Try to avoid emitting code where patching is required
InitTimerBooleanfalse
Specifies if initialization timing is enabled.
InlineDuringParsingMaxDepthInteger10
Maximum depth when inlining during bytecode parsing.
InlineDuringParsingBooleantrue
Inlines trivial methods during bytecode parsing.
InlineEverythingBooleanfalse
InlineIntrinsicsDuringParsingBooleantrue
Inlines intrinsic methods during bytecode parsing.
InlineMegamorphicCallsBooleantrue
Inline calls with megamorphic type profile (i.e., not all types could
be recorded).
InlineMonomorphicCallsBooleantrue
Inline calls with monomorphic type profile.
InlinePartialIntrinsicExitDuringParsingBooleantrue
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.
InlinePolymorphicCallsBooleantrue
Inline calls with polymorphic type profile.
InlineVTableStubsBooleantrue
InlineBooleantrue
Enable inlining
InliningDepthErrorInteger1000
Maximum inlining depth during partial evaluation before reporting an
infinite recursion
InspectServerContentPathString"inspect"
Path to the contents of the Inspect web server.
InstallSegfaultHandlerBooleannull
Install segfault handler that prints register contents and full Java
stacktrace. Default: enabled for an executable, disabled for a shared
library.
InterceptBailoutBooleanfalse
Intercept also bailout exceptions
IntrinsifyBooleantrue
Use compiler intrinsifications.
LIRDynMoveProfileMethodBooleanfalse
Enable dynamic move profiling per method.
LIROptConstantLoadOptimizationBooleantrue
Enable constant load optimization.
LIROptControlFlowOptimizerBooleantrue
LIROptEdgeMoveOptimizerBooleantrue
LIROptLSRAEliminateSpillMovesBooleantrue
Enable spill move elimination.
LIROptLSRAOptimizeSpillPositionBooleantrue
Enable spill position optimization
LIROptLSStackSlotAllocatorBooleantrue
Use linear scan stack slot allocation.
LIROptNullCheckOptimizerBooleantrue
LIROptRedundantMoveEliminationBooleantrue
LIROptStackMoveOptimizerBooleantrue
LIROptimizationBooleantrue
Enable LIR level optimiztations.
LIRProfileMethodsBooleanfalse
Enables profiling of methods.
LIRProfileMovesBooleanfalse
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).
LSRAOptSplitOnlyBooleanfalse
LSRA optimization: Only split but do not reassign
LSRAOptimizationBooleanfalse
Enable LSRA optimization
LibGraalManagementDelayInteger1000
Milliseconds to delay initialization of the libgraal JMX interface.
Specify a negative value to disable the interface altogether.
LimitInlinedInvokesDouble5.0
LimitObjectArrayLengthBooleanfalse
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.
ListMetricsBooleanfalse
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.
LoadExceptionObjectInVMBooleanfalse
Use a VM runtime call to load and clear the exception object from the
thread at the start of a compiled exception handler.
LogFileStringnull
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 '<isolate id>' otherwise %i is
removed. An %I is the same as %i except that the replacement is
'<isolate id>@<isolate address>'. Using %o as filename sends logging to
System.out whereas %e sends logging to System.err.
LogVerboseBooleanfalse
Enable more verbose log output when available
LogStringnull
Pattern for specifying scopes in which logging is enabled. See the Dump
option for the pattern syntax.
LoopHeaderAlignmentInteger16
Alignment in bytes for loop header blocks.
LoopMaxUnswitchInteger3
LoopPeelingBooleantrue
LoopPredicationMainPathBooleantrue
LoopPredicationBooleantrue
LoopUnswitchFrequencyBoostDouble10.0
LoopUnswitchMaxIncreaseInteger500
LoopUnswitchTrivialInteger10
LoopUnswitchBooleantrue
MatchExpressionsBooleantrue
Allow backend to match complex expressions.
MaxCallingContextDepthInteger0
The maximum length of the methods context chains.
MaxCallingContextWidthInteger0
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.
MaxCompilationProblemsPerActionInteger2
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.
MaxConstantObjectsPerTypeInteger100
The maximum number of constant objects recorded for each type before
merging the constants into one unique constant object per type. The
analysis must be heap sensitive. It has a minimum value of 1.
MaxDirectMemorySizeLong0
Maximum total size of NIO direct-buffer allocations
MaxDuplicationFactorDouble2.0
How much duplication can happen because of irreducible loops before
bailing out.
MaxHeapContextDepthInteger0
The maximum length of the context used to model a heap object in
addition to the allocation site; used only when ContextSensitiveHeap is
enabled.
MaxHeapContextWidthInteger0
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.
MaxHeapSizeLong0
The maximum heap size at run-time, in bytes.
MaxNewSizeLong0
The maximum size of the young generation at run-time, in bytes
MaxObjectSetSizeInteger100
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.
MaxTemplatesPerSnippetInteger50
MaximumDesiredSizeInteger20000
Maximum desired size of the compiler graph in nodes.
MaximumEscapeAnalysisArrayLengthInteger128
The maximum length of an array that will be escape analyzed.
MaximumHeapSizePercentInteger80
The maximum heap size as percent of physical memory
MaximumInliningSizeInteger300
Inlining is explored up to this number of nodes in the graph for each
call site.
MaximumLoopExplosionCountInteger10000
Max number of loop explosions per method.
MaximumRecursiveInliningInteger5
Maximum level of recursive inlining.
MaximumYoungGenerationSizePercentInteger10
The maximum size of the young generation as a percentage of the maximum
heap size
MegamorphicInliningMinMethodProbabilityDouble0.33
Minimum probability for methods to be inlined for megamorphic type
profiles.
MemUseTrackersStringnull
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.
MethodFilterRootOnlyBooleanfalse
Only check MethodFilter against the root method in the context if true,
otherwise check all methods
MethodFilterStringnull
Pattern for matching methods. The syntax for a pattern is:
          
  SourcePatterns = SourcePattern ["," SourcePatterns] .
  SourcePattern = [ "~" ] [ Class "." ] method [ "(" [ Parameter { ";" Parameter } ] ")" ] .
  Parameter = Class | "int" | "long" | "float" | "double" | "short" | "char" | "boolean" .
  Class = { package "." } class .
          
Glob pattern matching (*, ?) is allowed in all parts of the source pattern.
The "~" prefix negates the pattern.
          
Positive patterns are joined by an "or" operator: "A,B" matches anything
matched by "A" or "B". Negative patterns are joined by "and not": "~A,~B"
matches anything not matched by "A" and not matched by "B". "A,~B,~C,D"
matches anything matched by "A" or "D" and not matched by "B" and not
matched by "C".
          
A set of patterns containing negative patterns but no positive ones contains
an implicit positive "*" pattern: "~A,~B" is equivalent to "*,~A,~B".
          
Examples of method filters:
---------
  *
          
  Matches all methods in all classes.
---------
  canonical(CanonicalizerTool;LogicNode;LogicNode)
          
  Matches all methods named "canonical", with the first parameter of type
  "CanonicalizerTool", and the second and third parameters of type
  "LogicNode".
  The packages of the parameter types are irrelevant.
---------
  arraycopy(Object;;;;)
          
  Matches all methods named "arraycopy", with the first parameter
  of type "Object", and four more parameters of any type. The
  packages of the parameter types are irrelevant.
---------
  org.graalvm.compiler.nodes.PhiNode.*
          
  Matches all methods in the class "org.graalvm.compiler.nodes.PhiNode".
---------
  org.graalvm.compiler.nodes.*.canonical
          
  Matches all methods named "canonical" in classes in the package
  "org.graalvm.compiler.nodes".
---------
  arraycopy,toString
          
  Matches all methods named "arraycopy" or "toString", meaning that ',' acts
  as an "or" operator.
---------
  java.util.*.*.,~java.util.*Array*.*
  java.util.*.*.,~*Array*.*
          
  These patterns are equivalent and match all methods in the package
  "java.util" except for classes that have "Array" in their name.
---------
  ~java.util.*.*
          
  Matches all methods in all classes in all packages except for anything in
  the "java.util" package.
MethodInlineBailoutLimitInteger5000
Per-compilation method inlining exploration limit before giving up (use
0 to disable)
MetricsFileStringnull
File to which metrics are dumped per compilation.
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:
           compilable - method being compiled
  compilable_identity - identity hash code of compilable
       compilation_nr - where this compilation lies in the ordered
                        sequence of all compilations identified by
                        compilable_identity
       compilation_id - runtime issued identifier for the compilation
          metric_name - name of metric
         metric_value - value of metric
MinCallingContextDepthInteger0
The minimum length of the methods context chains.
MinHeapContextDepthInteger0
The minimum length of the context used to model a heap object in
addition to the allocation site; used only when ContextSensitiveHeap is
enabled.
MinHeapSizeLong0
The minimum heap size at run-time, in bytes.
MinimalBulkZeroingSizeInteger2048
If applicable, use bulk zeroing instructions when the zeroing size in
bytes exceeds this threshold.
MinimumPeelFrequencyFloat0.35
NDCVInteger0
Run level for NoDeadCodeVerifyHandler (0 = off, 1 = info, 2 = verbose,
3 = fatal)
NodeCountersBooleanfalse
Counts the number of instances of each node class.
NonFatalIdenticalCompilationSnapshotsInteger20
Number of contiguous identical compiler thread stack traces allowed
before the VM exits on the basis of a stuck compilation.
ObjdumpExecutablesStringnull
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.
OmitHotExceptionStacktraceBooleanfalse
OptAssumptionsBooleantrue
OptConvertDeoptsToGuardsBooleantrue
OptDeoptimizationGroupingBooleantrue
OptDevirtualizeInvokesOptimisticallyBooleantrue
OptEarlyReadEliminationBooleantrue
OptEliminateGuardsBooleantrue
OptFloatingReadsBooleantrue
OptImplicitNullChecksBooleantrue
OptReadEliminationBooleantrue
OptScheduleOutOfLoopsBooleantrue
PartialEscapeAnalysisBooleantrue
PartialUnrollBooleantrue
PeelALotBooleanfalse
PercentTimeInIncrementalCollectionInteger50
Percentage of total collection time that should be spent on young
generation collections.
PreferContainerQuotaForCPUCountBooleantrue
Calculate the container CPU availability based on the value of quotas
(if set), when true. Otherwise, use the CPU shares value, provided it
is less than quota.
PrintAnalysisCallTreeBooleanfalse
Print analysis call tree, a breadth-first tree reduction of the call
graph.
PrintAnalysisStatisticsBooleanfalse
Print analysis results statistics.
PrintBackendCFGBooleanfalse
Enable dumping LIR, register allocation and code generation info to the
C1Visualizer.
PrintBlockMappingBooleanfalse
Enable dumping CFG built during initial BciBlockMapping
PrintCFGBooleanfalse
Enable dumping to the C1Visualizer. Enabling this option implies
PrintBackendCFG.
PrintCanonicalGraphStringFlavorInteger0
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)
PrintCanonicalGraphStringsBooleanfalse
Enable dumping canonical text from for graphs.
PrintCompilationBooleanfalse
Print an informational line to the console for each completed
compilation.
PrintConfigBooleanfalse
Prints VM configuration available via JVMCI.
PrintDetailedAllocationProfilingBooleantrue
Print detailed information for each allocation site
PrintFlagsWithExtraHelpStringnull
Print extra help, if available, based on comma-separated option names.
Pass * to show all options that contain extra help.
PrintFlagsStringnull
Show available options based on comma-separated option-types (allowed
categories: User, Expert, Debug).
PrintGCSummaryBooleanfalse
Print summary GC information after application main method returns.
PrintGCTimeStampsBooleanfalse
Print a time stamp at each collection, if +PrintGC or +VerboseGC.
PrintGCTimesBooleanfalse
Print the time for each of the phases of each collection, if
+VerboseGC.
PrintGCBooleanfalse
Print summary GC information after each collection
PrintGraphFileBooleantrue
Setting to true sets PrintGraph=file, setting to false sets
PrintGraph=network
PrintGraphHostString"127.0.0.1"
Host part of the address to which graphs are dumped.
PrintGraphPortInteger4445
Port part of the address to which graphs are dumped in binary format.
PrintGraphWithScheduleBooleanfalse
Schedule graphs as they are dumped.
PrintGraphStringFile
Where IdealGraphVisualizer graph dumps triggered by Dump or DumpOnError
should be written.
The accepted values are:
      File - Dump IGV graphs to the local file system (see DumpPath).
   Network - Dump IGV graphs to the network destination specified by PrintGraphHost and PrintGraphPort.
             If a network connection cannot be opened, dumping falls back to file dumping. 
   Disable - Do not dump IGV graphs.
PrintHeapShapeBooleanfalse
Print the shape of the heap before and after each collection, if
+VerboseGC.
PrintIRWithLIRBooleanfalse
Print HIR along side LIR as the latter is generated
PrintImageObjectTreeBooleanfalse
Print boot image object hierarchy.
PrintLIRWithAssemblyBooleanfalse
Include the LIR as comments with the final assembly.
PrintPointsToStatisticsBooleanfalse
Report analysis statistics.
PrintProfilingInformationBooleanfalse
Print profiling information when parsing a method's bytecode
PrintSynchronizedAnalysisBooleanfalse
Print types used for Java synchronization.
ProbabilisticProfilingBooleantrue
Control probabilistic profiling on AMD64
ProfileAllocationsContextStringAllocatingMethod
Control the naming and granularity of the counters when using
ProfileAllocations.
The accepted values are:
        AllocatingMethod - a counter per method
         InstanceOrArray - one counter for all instance allocations and
                           one counter for all array allocations 
           AllocatedType - one counter per allocated type
  AllocatedTypesInMethod - one counter per allocated type, per method
 
ProfileAllocationsBooleanfalse
Enable profiling of allocation sites.
ProfileAnalysisOperationsBooleanfalse
Track the progress of the static analysis.
ProfileBackedgesBooleantrue
Emit profiling of backedges
ProfileCompiledMethodsBooleanfalse
ProfileConstantObjectsBooleanfalse
Track the creation of constant objects.
ProfileInvokesBooleantrue
Emit profiling of invokes
ProfileMonitorsBooleanfalse
Enable profiling of monitor operations.
ProfileSimpleMethodsBooleantrue
Profile simple methods
RawConditionalEliminationBooleantrue
ReadEliminationMaxLoopVisitsInteger5
ReassociateExpressionsBooleantrue
Re-associate loop invariants and constants.
ReduceDCEBooleantrue
Disable optional dead code eliminations
RegisterPressureStringnull
Comma separated list of registers that register allocation is limited
to.
RelaxTypeFlowStateConstraintsBooleantrue
Allow a type flow state to contain types not compatible with its
declared type.
RemoveNeverExecutedCodeBooleantrue
RemoveSaturatedTypeFlowsBooleantrue
Enable the type flow saturation analysis performance optimization.
ReplaceInputsWithConstantsBasedOnStampsBooleantrue
SafepointPromptnessFailureNanosLong0
Exit the VM if I can not come to a safepoint in this many nanoseconds.
0 implies forever.
SafepointPromptnessWarningNanosLong0
Print a warning if I can not come to a safepoint in this many
nanoseconds. 0 implies forever.
ScanObjectsParallelBooleantrue
Object scanning in parallel
ShowConfigurationStringnone
Writes to the VM log information about the compiler configuration
selected.
ShowDumpFilesBooleanfalse
Print the name of each dump file path as it's created.
ShowSubstitutionSourceInfoBooleanfalse
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.
SimpleFastInflatedLockingBooleantrue
Handle simple cases for inflated monitors in the fast-path.
SimpleMethodCallsInteger1
Maximum number of calls in a simple method
SimpleMethodGraphSizeInteger256
Maximum number of nodes in a graph for a simple method
SimpleMethodIndirectCallsInteger0
Maximum number of indirect calls in a simple moethod
SmallCompiledLowLevelGraphSizeInteger330
If the previous low-level graph size of the method exceeds the
threshold, it is not inlined.
SnippetCountersBooleanfalse
Enable counters for various paths in snippets.
SpectrePHTBarriersStringNone
Select a strategy to mitigate speculative bounds check bypass (aka
Spectre-PHT or Spectre V1).
This is an experimental option - execution of untrusted code is not supported by GraalVM CE.
The accepted values are:
                  None - No mitigations are used in JIT compiled code.
            AllTargets - Speculative execution on all conditional branch targets is
                         stopped using speculative execution barrier instructions.
          GuardTargets - Branch targets relevant to Java memory safety are instrumented
                         with barrier instructions. This option has less performance impact
                         than AllTargets. 
  NonDeoptGuardTargets - Same as GuardTargets, except that branches which deoptimize are not
                         protected since they can not be executed repeatedly and are thus less
                         likely to be successfully exploited in an attack.
          
                         
Note that all modes except "None" will also instrument branch target blocks containing UNSAFE memory accesses
with barrier instructions.
SpectrePHTIndexMaskingBooleanfalse
Mask indices to scope access to allocation size after bounds check.
StackSizeLong0
The size of each thread stack at run-time, in bytes.
StressExplicitExceptionCodeBooleanfalse
Stress the code emitting explicit exception throwing code.
StressInvokeWithExceptionNodeBooleanfalse
Stress the code emitting invokes with explicit exception edges.
StressTestEarlyReadsBooleanfalse
Stress the code by emitting reads at earliest instead of latest point.
StringIndexOfLimitInteger4096
String.indexOf invocations will be evaluated at compile time if the
receiver is a constant and its length is lower than this value.
SupportJsrBytecodesBooleantrue
SupportOSRWithLocksBooleantrue
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.
TearDownFailureNanosLong0
The number of nanoseconds before tearing down an isolate gives a
failure message. 0 implies no message.
TearDownWarningNanosLong0
The number of nanoseconds before and between which tearing down an
isolate gives a warning message. 0 implies no warning.
TierABackedgeNotifyFreqLogInteger16
Backedge notification frequency
TierABackedgeProfileProbabilityLogInteger12
Backedge profile probability
TierAInvokeInlineeNotifyFreqLogInteger-1
Inlinee invocation notification frequency (-1 means count, but do not
notify)
TierAInvokeNotifyFreqLogInteger13
Invocation notification frequency
TierAInvokeProfileProbabilityLogInteger8
Invocation profile probability
TieredAOTBooleanfalse
Do profiling and callbacks to tiered runtime
TimeStringnull
Pattern for specifying scopes in which timing is enabled. See the Dump
option for the pattern syntax. An empty value enables all timers
unconditionally.
TimedDynamicCountersInteger-1
Turn on the benchmark counters, and displays the results every n
milliseconds
TimersStringnull
Comma separated names of timers that are enabled irrespective of the
value for Time option. An empty value enables all timers
unconditionally.
TraceBytecodeParserLevelInteger0
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.
TraceCodeCacheBooleanfalse
Print logging information for runtime code cache modifications
TraceDeoptimizationDetailsBooleanfalse
Print verbose logging information for every deoptimization
TraceDeoptimizationBooleanfalse
Print logging information for every deoptimization
TraceEscapeAnalysisBooleanfalse
TraceExceptionHandlerStubBooleanfalse
Trace execution of stub used to handle an exception thrown by a callee.
TraceHeapChunksBooleanfalse
Trace heap chunks during collections, if +VerboseGC and
+PrintHeapShape.
TraceInlineDuringParsingBooleanfalse
Traces inlining performed during bytecode parsing.
TraceInliningForStubsAndSnippetsBooleanfalse
Enable inlining decision tracing in stubs and snippets.
TraceInliningBooleanfalse
Enable tracing of inlining decisions.
Output format:
  compilation of 'Signature of the compilation root method':
    at 'Signature of the root method' ['Bytecode index']: <'Phase'> 'Child method signature': 'Decision made about this callsite'
      at 'Signature of the child method' ['Bytecode index']: 
         |--<'Phase 1'> 'Grandchild method signature': 'First decision made about this callsite'
         \--<'Phase 2'> 'Grandchild method signature': 'Second decision made about this callsite'
      at 'Signature of the child method' ['Bytecode index']: <'Phase'> 'Another grandchild method signature': 'The only decision made about this callsite.'
TraceLIRGeneratorLevelInteger0
The trace level for the LIR generator
TraceMethodDataFilterStringnull
Enables tracing of profiling info when read by JVMCI.
Empty value: trace all methods
Non-empty value: trace methods whose fully qualified name contains the value.
TraceMonitorsMethodFilterStringnull
Trace monitor operations in methods whose fully qualified name contains
this substring.
TraceMonitorsTypeFilterStringnull
Trace monitor operations on objects whose type contains this substring.
TraceParserPluginsBooleanfalse
Traces use of plugins during bytecode parsing.
TraceUnwindStubBooleanfalse
Trace execution of the stub that routes an exception to a handler in
the calling frame.
TrackAccessChainBooleanfalse
Track the callers for methods and accessing methods for fields.
TrackInputFlowsBooleanfalse
Track the input for type flows.
TrackMemUseStringnull
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.
TrackNodeInsertionBooleanfalse
Track source stack trace where a node was inserted into the graph.
TrackNodeSourcePositionBooleanfalse
Track the NodeSourcePosition.
TrivialInliningSizeInteger10
Graphs with less than this number of nodes are trivial and therefore
always inlined.
TruffleCompilerConfigurationStringnull
Select a compiler configuration for Truffle compilation (default: use
Graal system compiler configuration).
TrustFinalDefaultFieldsBooleantrue
Determines whether to treat final fields with default values as
constant.
TypeCheckMaxHintsInteger2
The maximum number of profiled types that will be used when compiling a
profiled type check. Note that TypeCheckMinProfileHitProbability also
influences whether profiling info is used in compiled type checks.
TypeCheckMinProfileHitProbabilityDouble0.5
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
TypeFlowSaturationCutoffInteger20
The maximum number of types recorded in a type flow. -1 indicates no
limitation.
UnresolvedIsErrorBooleantrue
Report unresolved elements as errors.
UnrollMaxIterationsInteger16
UseBranchesWithin32ByteBoundaryBooleanfalse
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.
UseCompilationStatisticsBooleanfalse
Enables CompilationStatistics.
UseEncodedGraphsBooleanfalse
Encode and decode snippets and substitutions before parsing to test
libgraal code path. This option is ignored in the context of libgraal.
UseExceptionProbabilityBooleantrue
UseGraalStubsBooleantrue
Use Graal-generated stubs for complicated LIR operations instead of
embedding all the emitted code.
UseLoopLimitChecksBooleantrue
UseProfilingInformationBooleantrue
          
UseSnippetGraphCacheBooleantrue
Use a cache for snippet graphs.
UseSnippetTemplateCacheBooleantrue
Use a LRU cache for snippet templates.
UseTrappingNullChecksBooleantrue
Use traps for null checks instead of explicit null-checks
UseTypeCheckHintsBooleantrue
UserRequestedGCThresholdLong16777216
With the skeptical policy for user-requested collections, the threshold
for the young generation size to cause a collection.
VerboseGCBooleanfalse
Print more information about the heap before and after each collection
VerifyBalancedMonitorsBooleanfalse
Emit extra code to dynamically check monitor operations are balanced.
VerifyGraalGraphEdgesBooleanfalse
Perform expensive verification of graph inputs, usages, successors and
predecessors
VerifyGraalGraphsBooleantrue
Verify graphs often during compilation when assertions are turned on
VerifyGraalPhasesSizeBooleanfalse
Verify before - after relation of the relative, computed, code size of
a graph
VerifyHeapAtReturnBooleanfalse
Perform platform dependent validation of the Java heap at returns
VerifyKillCFGUnusedNodesBooleanfalse
Verify that there are no new unused nodes when performing killCFG
VerifyPhasesBooleanfalse
VerifyStringnull
Pattern for specifying scopes in which logging is enabled. See the Dump
option for the pattern syntax.
WriteableCodeCacheBooleanfalse
Allocate code cache with write access, allowing inlining of objects
ZapStackOnMethodEntryBooleanfalse