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
ShenandoahParallelRegionStride10240
ZGenerationalfalsetrue

SapMachine JDK21 added:

AbortVMOnSafepointTimeoutDelay
AlwaysRecordEvolDependencies
CaptureBailoutInformation
DumpVitalsAtExit
EnableMallocTrace
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
PrintMallocTraceAtExit
PrintMemoryMapAtExit
PrintVitalsAtExit
ProfileExceptionHandlers
RandomizeClassSpaceLocation
ReduceAllocationMerges
ServiceThreadCleanupInterval
ShenandoahNoProgressThreshold
SimulateFullAddressSpace
StoreVitalsExtremas
StressBailout
StressBailoutMean
StressMacroExpansion
StressPrunedExceptionHandlers
StressSecondarySupers
StressUnstableIfTraps
TraceBytecodesStopAt
TraceBytecodesTruncated
TraceMergeStores
TraceReduceAllocationMerges
TypeProfileSubTypeCheckCommonThreshold
UseAPX
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
UseNotificationThread
UseSHM
UseVtableBasedCHA
VerifyGCLevel
VerifyObjectStartArray
VerifyRememberedSets