VM Options Explorer - Switch comparison of OpenJDK21 vs SapMachine JDK21


SapMachine JDK21 changed default values for:

NameOpenJDK21 valueSapMachine JDK21 value
ExtensiveErrorReportsPRODUCT_ONLY(false) NOT_PRODUCT(true)PRODUCT_ONLY(true) NOT_PRODUCT(true)
GuaranteedSafepointInterval10000
JVMCINativeLibraryThreadFraction0.330.66
LockingModeLM_LEGACYLM_LIGHTWEIGHT
LogEventsBufferEntries2075
PrintExtendedThreadInfofalsetrue
ShenandoahImmediateThreshold9070
ZFragmentationLimit0 /* ignored */5.0

SapMachine JDK21 added:

AOTCache
AOTCacheParallelRelocation
AOTClassLinking
AOTConfiguration
AOTInvokeDynamicLinking
AOTMode
AbortVMOnSafepointTimeoutDelay
AlwaysRecordEvolDependencies
CaptureBailoutInformation
DumpVitalsAtExit
EnableVitals
EnableX86ECoreOpts
ExitVMOnOutOfMemoryError
FullGCHeapDumpLimit
G1GCAllocationFailureALot
G1GCAllocationFailureALotCSetPercent
G1GCAllocationFailureALotCount
G1GCAllocationFailureALotDuringConcMark
G1GCAllocationFailureALotDuringConcurrentStart
G1GCAllocationFailureALotDuringMixedGC
G1GCAllocationFailureALotDuringYoungGC
G1GCAllocationFailureALotInterval
G1NumCodeRootsCostSampleThreshold
G1NumCollectionsKeepPinned
G1RetainRegionLiveThresholdPercent
HiMemReport
HiMemReportDir
HiMemReportExec
HiMemReportMax
InlineSecondarySupersTest
LibJVMCICompilerThreadHidden
LightweightFastLockingSpins
LogClassLoadingCauseFor
MallocTraceAtStartup
MallocTraceDetailedStats
MallocTraceDumpCount
MallocTraceDumpDelay
MallocTraceDumpFilter
MallocTraceDumpHideDumpAllocs
MallocTraceDumpInternalStats
MallocTraceDumpInterval
MallocTraceDumpMaxEntries
MallocTraceDumpOnError
MallocTraceDumpOutput
MallocTraceDumpPercentage
MallocTraceDumpSortByCount
MallocTraceEnableDelay
MallocTraceExitIfFail
MallocTraceOnlyNth
MallocTraceRainyDayFund
MallocTraceStackDepth
MallocTraceTrackFree
MallocTraceUnwindLibName
MallocTraceUseBacktrace
MaxStringPrintSize
MergeStores
PrintMemoryMapAtExit
PrintVitalsAtExit
ProfileExceptionHandlers
RandomizeClassSpaceLocation
ReduceAllocationMerges
ServiceThreadCleanupInterval
ShenandoahAgingCyclePeriod
ShenandoahAllowOldMarkingPreemption
ShenandoahCardBarrier
ShenandoahCardStatsLogInterval
ShenandoahCoalesceChance
ShenandoahDoNotIgnoreGrowthAfterYoungCycles
ShenandoahEnableCardStats
ShenandoahExpediteMixedThreshold
ShenandoahExpeditePromotionsThreshold
ShenandoahGenerationalAdaptiveTenuring
ShenandoahGenerationalCensusAtEvac
ShenandoahGenerationalCensusIgnoreOlderCohorts
ShenandoahGenerationalHumongousReserve
ShenandoahGenerationalMaxTenuringAge
ShenandoahGenerationalMinTenuringAge
ShenandoahGenerationalTenuringCohortPopulationThreshold
ShenandoahGenerationalTenuringMortalityRateThreshold
ShenandoahGuaranteedOldGCInterval
ShenandoahGuaranteedYoungGCInterval
ShenandoahIgnoreGarbageThreshold
ShenandoahIgnoreOldGrowthBelowPercentage
ShenandoahMaxYoungPercentage
ShenandoahMinOldGenGrowthPercent
ShenandoahMinYoungPercentage
ShenandoahMinimumOldTimeMs
ShenandoahNoProgressThreshold
ShenandoahOldCompactionReserve
ShenandoahOldEvacRatioPercent
ShenandoahOldEvacWaste
ShenandoahOldGarbageThreshold
ShenandoahPromoEvacWaste
SimulateFullAddressSpace
StoreVitalsExtremas
StressBailout
StressBailoutMean
StressMacroExpansion
StressPrunedExceptionHandlers
StressSecondarySupers
StressUnstableIfTraps
TraceBytecodesStopAt
TraceBytecodesTruncated
TraceReduceAllocationMerges
TypeProfileSubTypeCheckCommonThreshold
UseAPX
UseCompactObjectHeaders
UseIntPolyIntrinsics
UseMallocHooks
UseObjectMonitorTable
UseSecondarySupersCache
UseSecondarySupersTable
UseStoreStoreForCtor
UseThreadsLockThrottleLock
UserThreadWaitAttemptsAtExit
VerifyAlignVector
VerifyReduceAllocationMerges
VerifySecondarySupers
VitalsFile
VitalsLockFreeSampling
VitalsLongTermSampleIntervalMinutes
VitalsLongTermTableDays
VitalsSampleInterval
VitalsShortTermTableHours

SapMachine JDK21 removed:

AdaptiveSizePolicyCollectionCostMargin
ArrayAllocatorMallocLimit
BaseFootPrintEstimate
DoReserveCopyInSuperWord
ExpandSubTypeCheckAtParseTime
G1EvacuationFailureALot
G1EvacuationFailureALotCSetPercent
G1EvacuationFailureALotCount
G1EvacuationFailureALotDuringConcMark
G1EvacuationFailureALotDuringConcurrentStart
G1EvacuationFailureALotDuringMixedGC
G1EvacuationFailureALotDuringYoungGC
G1EvacuationFailureALotInterval
GCLockerEdenExpansionPercent
HeapFirstMaximumCompactionCount
InitialRAMFraction
InlineCacheBufferSize
MaxGCMinorPauseMillis
MaxRAMFraction
MinRAMFraction
NUMAPageScanRate
OldSize
ParallelOldDeadWoodLimiterMean
ParallelOldDeadWoodLimiterStdDev
PostLoopMultiversioning
PreserveAllAnnotations
PrintMethodFlushingStatistics
PrintPreciseRTMLockingStatistics
ProcessDistributionStride
RegisterFinalizersAtInit
ScavengeBeforeFullGC
ShenandoahHumongousThreshold
ShenandoahIUBarrier
TLABStats
UseCounterDecay
UseEmptySlotsInSupers
UseHugeTLBFS
UseLinuxPosixThreadCPUClocks
UseNotificationThread
UseSHM
UseVtableBasedCHA
VerifyGCLevel
VerifyObjectStartArray
VerifyRememberedSets
ZGenerational
ZVerifyViews