VM Options Explorer - OpenJ9

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
PrefixNameDescription
Prefix
-X142BoostGCThrPrio
-X2se_j9
-XX:ActiveProcessorCount
-XX:AllowNonVirtualCalls
-XX:AlwaysCopyJNICritical
-XX:AlwaysSplitBytecodes
-XX:AlwaysUseJNICritical
-XCEEHDLR
-XX:CRIURestoreNonPortableMode
-XX:ClassRelationshipVerifier
-XX:CompactStrings
-XX:ContendedFields
-XX:DebugInterpreter
-XX:DebugVMAccess
-XX:DiagnoseSyncOnValueBasedClasses=1
-XX:DiagnoseSyncOnValueBasedClasses=2
-XX:DisclaimJitScratch
-XX:DisclaimVirtualMemory
-XX:DumpLoadedClassList
-XX:Enable3164Interoperability
-XX:EnableArrayFlattening
-XX:EnableCPUMonitor
-XX:EnableCRIUSupport
-XX:EnableHCR
-XX:EnableValhalla
-XX:FastClassHashTable
-XX:ForceClassfileAsIntermediateData
-XX:ForceFullHeapAddressRangeSearch
-XX:GCDeepStructurePriorityScan
-XX:GlobalLockReservation
-XX:HandleSIGABRT
-XX:HandleSIGXFSZ
-XX:HeapDumpOnOutOfMemoryError
-XX:HugePagesWithMmap
-XX:IdleTuningCompactOnIdle
-XX:IdleTuningGcOnIdle
-XX:IdleTuningIgnoreUnrecognizedOptions
-XX:IdleTuningMinFreeHeapOnIdle
-XX:IdleTuningMinIdleWaitTime
-XX:IgnoreUnrecognizedVMOptions
-XX:IgnoreUnrecognizedXXColonOptions
-XX:InterleaveMemory
-XX:JITInlineWatches
-XX:LazySymbolResolution
-XX:LegacyXlogOption
-XX:MHAllowI2J
-XX:MHCompileCount
-XX:MHDebugTargets
-XX:MaxDirectMemorySize
-XX:NLSMessages
-XX:OSRSafePointFV
-XX:OSRSafePoint
-XX:OriginalJDK8HeapSizeCompatibilityMode
-XX:PageAlignDirectMemory
-XX:PortableSharedCache
enable feature that attempts to maximize shared cache's portability across machines
-XX:PositiveIdentityHash
-XX:PrintFlagsFinal
-XX:ROMMethodSortThreshold
-XX:ReadIPInfoForRAS
-XX:RecreateClassfileOnload
-XX:ReduceCPUMonitorOverhead
-XX:RestrictContended
-XX:RestrictIFA
-XX:ShareAnonymousClasses
enable storing and finding anonymous classes in the shared class cache
-XX:ShareClassesDisableBCI
create shared class cache without support for byte-code instrumentation
-XX:ShareClassesEnableBCI
create shared class cache with support for byte-code instrumentation
-XX:ShareUnsafeClasses
enable storing and finding non-anonymous unsafe classes in the shared class cache
-XX:SharedCacheHardLimit=<x>
set size of new shared class cache to <x>
-XX:SharedCacheHardLimit
-XX:ShowCodeDetailsInExceptionMessages
-XSoftRefThreshold
-XX:StackTraceInThrowable
-XX:StoreIntermediateClassfile
store raw class data to be used during re-transformation
-XX:TransparentHugePage
-XX:UTFCache
-XX:UseCompressedOops
-XX:UseContainerSupport
-XX:UseGCStartupHints
enable storing and finding GC startup hints in the shared class cache
-XX:UseJ9JImageReader
-XX:UseLegacyJNINameEscaping
-XX:VMLockClassLoader
-XX:ValueTypeFlatteningThreshold
-XX:VerboseVerification
-XX:VerifyErrorDetails
-XX
-XXallowvmshutdown:false
-XXallowvmshutdown:true
-XXdecomp
-XXjitdirectory
-XXlazyclassverification
-XXnosuballoc32bitmem
-XXsetHWPrefetch:none
-XXsetHWPrefetch:os-default
-XXsetHWPrefetch
-XXvm:ignoreUnrecognized
-Xa
-Xadd-exports
-Xadd-modules
-Xadd-opens
-Xadd-reads
-Xaggressive
-Xallowcontendedclassloads
-Xalwaysclassgc
enable dynamic class unloading on every GC
-Xaot
-Xarebootzip
-Xarestring
-Xarezip
-Xargencoding:latin
-Xargencoding:utf8
-Xargencoding
-Xascii_filetag
-Xbatch
-Xbootclasspath/a:<path>
append <path> to bootstrap classpath
-Xbootclasspath/p:<path>
prepend <path> to bootstrap classpath
-Xbootclasspath:<path>
set bootstrap classpath to <path>
-Xcheck[:option[:...]]
control checking use -Xcheck:help for more details
-Xclassgc
enable dynamic class unloading
-Xcompactexplicitgc
enable compaction on every system GC
-Xcompactgc
enable compaction
-Xcompressedrefs
use compressed heap references
-Xconcurrentbackground
-Xdbg:<options>
enable debug, JDWP standard options
-Xdbginfo:<symbol
file path> enable debug info server
-Xdebug
-Xdfpbd
-Xdump:directory
-Xdump:exit:events=systhrow,filter=java/lang/OutOfMemoryError
-Xdump:exit:none:events=systhrow,filter=java/lang/OutOfMemoryError
-Xdump:none
-Xdump:tool:events=systhrow,filter=java/lang/OutOfMemoryError,exec
-Xdump[:option,...]
control dumps use -Xdump:help for more details
-Xdump
-Xeeds_jcl
-Xenable-native-access
-Xenable-preview
-Xerver
-Xfastresolve
-Xfu_java
-Xfuture
enable strictest checks, anticipating future default
-Xgcmaxthreads
-Xgcpolicy:metronome nortsj
enable soft realtime
-Xgcpolicy:metronome
enable soft realtime
-Xgcthreads<x>
set number of GC threads
-Xgentlib:dgcollector
-Xgentlib:healthcenter
-Xgentlib
-Xgentpath
-Xhealthcenter
enable the Health Center agent
-Xheaponlyrtsj
-Xhowversion
-Xillegal-access
-Xincgc
-Xint
run interpreted only (equivalent to -Xnojit -Xnoaot)
-Xinternalversion
-Xipt
-Xisableassertions
-Xisablesystemassertions
-Xiss<x>
set initial java thread stack size to <x>
-Xit
-Xitn
-Xits
-Xitsn
-Xj9
-Xjcl
-Xjit
-Xjni:<options>
set JNI options
-Xjni
-Xjvm
-Xl
-Xlient
-Xlimit-modules
-Xlinenumbers
-Xlockword
-Xlp<x>
set the large page size to <x>
-Xlp:codecache
-Xmaxe<x>
set maximum size for heap expansion to <x>
-Xmaxf<x>
maximum percentage of heap free after GC
-Xmca<x>
set RAM class segment increment to <x>
-Xmco<x>
set ROM class segment increment to <x>
-Xmine<x>
set minimum size for heap expansion to <x>
-Xminf<x>
minimum percentage of heap free after GC
-Xmixed
-Xmn<x>
set initial/maximum new space size to <x>
-Xmns<x>
set initial new space size to <x>
-Xmnx<x>
set maximum new space size to <x>
-Xmo<x>
set initial/maximum old space size to <x>
-Xmodule-path
-Xmoi<x>
set old space increment to <x>
-XmonitorLookupCacheBits
-Xmos<x>
set initial old space size to <x>
-Xmox<x>
set maximum old space size to <x>
-Xmr<x>
set remembered set size to <x>
-Xmrx<x>
set maximum size of remembered set to <x>
-Xms<x>
set initial memory size to <x>
-Xmscl
-Xmso<x>
set OS thread stack size to <x>
-Xmx<x>
set memory maximum to <x>
-Xmxcl
-Xnableassertions
-Xnablesystemassertions
-Xne
-Xnoagent
-Xnoaot
do not run precompiled code
-Xnoargsconversion
-Xnoclassgc
disable dynamic class unloading
-Xnocompactexplicitgc
disable compaction on a system GC
-Xnocompactgc
disable compaction
-Xnocompressedrefs
-Xnojit
disable the JIT
-Xnolinenumbers
-Xnopreloaduser32
-Xnoprotectcontiguous
-Xnoquickstart
-Xnortsj
-Xnosigchain
-Xnosigint
-Xort_library
-Xort
-Xpatch-module
-Xpreloaduser32
-Xprintf
-Xprof
-Xprotectcontiguous
-Xquickstart
improve startup time by delaying optimizations
-Xrdbginfo:<host>:<port>
enable remote debug information server
-Xrealtime nortsj
enable soft realtime
-Xrealtime
enable soft realtime
-Xrs
-Xrun<library>[:options]
load native agent library\n\
-Xrun
-Xrunjdwp:<options>
enable debug, JDWP standard options
-Xsa
-Xscdmx<x>
set size of shared class cache debug attribute area to <x>
-Xscmaxaot<x>
set maximum shared classes cache space allowed for AOT data to <x>
-Xscmaxjit<x>
set maximum shared classes cache space allowed for JIT data to <x>
-Xscmaxjitdata<x>
set maximum shared classes cache space allowed for JIT data to <x>
-Xscminaot<x>
set minimum shared classes cache space reserved for AOT data to <x>
-Xscminjit<x>
set minimum shared classes cache space reserved for JIT data to <x>
-Xscminjitdata<x>
set minimum shared classes cache space reserved for JIT data to <x>
-Xscmx<x>
set size (or soft max size if option -XX:SharedCacheHardLimit= is present) of new shared class cache to <x>
-Xscribe
-Xscsoftmx<x>
set soft max size of new shared class cache to <x>
-Xservice
-Xshareclasses[:options]
Enable class data sharing (use help for details)\n
-Xshareclasses
-Xsigchain
-Xsignal:posixSignalHandler=cooperativeShutdown
-Xsignal:userConditionHandler=percolate
-XsigquitToFile
-Xsnw
-Xsoftmx
-Xss<x>
set thread stack size to <x>
-Xssi<x>
set java thread stack increment to <x>
-Xsyslog
-Xthr
-XtlhPrefetch
-Xtrace[:option,...]
control tracing use -Xtrace:help for more details
-Xtune:virtualized
-Xupgrade-module-path
-Xverify
-Xxe
-Xzero:nosharebootzip
do not share bootstrap jar entry caches in the shared class cache
-Xzero
-Xzip