Skip to content

JVM Flag Deltas for 7,8,9,10,11

Weixing Sun edited this page Feb 21, 2019 · 2 revisions

New options, Deleted options & Log options are not listed:

 JVM Parameters                                JDK8               JDK7
 intx AllocatePrefetchInstr                    = 3                0
 intx CICompilerCount                          = 3                2
 bool CICompilerCountPerCPU                    = true             false
 bool CMSClassUnloadingEnabled                 = true             false
 bool CMSEdenChunksRecordAlways                = true             false
 bool CMSParallelInitialMarkEnabled            = true             false
 intx CMSTriggerInterval                       = -1               80
 intx CompilationPolicyChoice                  = 3                0
uintx G1HeapWastePercent                       = 5                10
 intx InlineSmallCode                          = 2000             1000
 intx LiveNodeCountInliningCutoff              = 40000            20000
uintx MinHeapDeltaBytes                        = 524288           196608
 intx MinJumpTableSize                         = 10               18
 intx NodeLimitFudgeFactor                     = 2000             1000
uintx ReservedCodeCacheSize                    = 251658240        50331648
uintx SharedMiscCodeSize                       = 122880           4194304
uintx SharedMiscDataSize                       = 4194304          6291456
uintx SharedReadOnlySize                       = 16777216         10485760
uintx SharedReadWriteSize                      = 16777216         14680064
 bool TieredCompilation                        = true             false
 bool UseCountLeadingZerosInstruction          = true             false
 bool UseFPUForSpilling                        = true             false
 intx hashCode                                 = 5                0

                                                JDK9               JDK8
  intx CompilerThreadStackSize                  = 1024             0
  uint ConcGCThreads                            = 1                0
  bool CreateCoredumpOnCrash                    = true             false
  bool FastTLABRefill                           = false            true
  uint G1ConcRefinementThreads                  = 4                0
size_t G1ConcRefinementThresholdStep            = 2                0
size_t G1HeapRegionSize                         = 1048576          0
  intx G1RSetRegionEntries                      = 256              0
  intx G1RSetSparseRegionEntries                = 4                0
 uintx GCPauseIntervalMillis                    = 201              0
 uintx GCTimeRatio                              = 12               99
size_t MarkStackSizeMax                         = 16777216         536870912
 uintx MarkSweepDeadRatio                       = 5                1
 uintx MaxGCPauseMillis                         = 200              18446744073709551615
 uintx MaxHeapFreeRatio                         = 70               100
size_t MaxNewSize                               = 1217396736       676331520
  intx MaxNodeLimit                             = 80000            75000
size_t MinHeapDeltaBytes                        = 1048576          524288
 uintx MinHeapFreeRatio                         = 40               0
  bool MonitorInUseLists                        = true            false
  bool ScavengeBeforeFullGC                     = false           true
size_t SharedReadOnlySize                       = 10485760        16777216
size_t SharedReadWriteSize                      = 10485760        16777216
  bool UseG1GC                                  = true            false
  bool UseParallelGC                            = false           true
  bool UseParallelOldGC                         = false           true
  bool UseSHA                                   = true            false

                                              JDK10              JDK9
bool AssumeMP                                 = true             false
intx BiasedLockingStartupDelay                = 0                4000
intx MaxVectorSize                            = 64               32
bool UseCountedLoopSafepoints                 = true            false
bool UseMembar                                = true            false

                                                JDK11             JDK10
  intx CompilationPolicyChoice                  = 2               3
  bool CompilerThreadHintNoPreempt              = false           true
  uint G1RefProcDrainInterval                   = 1000            10
size_t HeapSizePerGCThread                      = 43620760        87241520
 uintx LoopStripMiningIterShortLoop             = 100             0
  bool ParallelRefProcEnabled                   = true            false
 uintx StringTableSize                          = 65536           60013
  bool UseDynamicNumberOfGCThreads              = true            false