JVM Options Explorer

A deep dive into JVM configuration options, ranging from memory management to compiler optimization, helping developers fine-tune Java system performance effectively.
| Name | Since | Deprecated | Type | OS | CPU | Component | Default | Availability | Description | Defined in | |---|---|---|---|---|---|---|---|---|---|---| | Since | Deprecated | Type | OS | CPU | Component | Availability | |||| | AOTLibrary | OpenJDK9 | ccstrlist | runtime | NULL | experimental | AOT library | share/runtime/globals.hpp | ||| | AVX3Threshold | OpenJDK11 | int | x86 | 4096 range(0, max_jint) | diagnostic | Minimum array size in bytes to use AVX512 intrinsics for copy, inflate and fill. When this value is set as zero compare operations can also use AVX512 intrinsics. | cpu/x86/globals_x86.hpp | ||| | AbortVMOnCompilationFailure | OpenJDK11 | bool | runtime | false | diagnostic | Abort VM when method had failed to compile. | share/runtime/globals.hpp | ||| | AbortVMOnExceptionMessage | OpenJDK6 | ccstr | runtime | NULL | diagnostic | Call fatal if the exception pointed by AbortVMOnException has this message | share/runtime/globals.hpp | ||| | AbortVMOnException | OpenJDK6 | ccstr | runtime | NULL | diagnostic | Call fatal if this exception is thrown. Example: java -XX:AbortVMOnException=java.lang.NullPointerException Foo | share/runtime/globals.hpp | ||| | AbortVMOnSafepointTimeout | OpenJDK11 | bool | runtime | false | diagnostic | Abort upon failure to reach safepoint (see SafepointTimeout) | share/runtime/globals.hpp | ||| | AbortVMOnVMOperationTimeoutDelay | OpenJDK11 | intx | runtime | 1000 range(0, max_intx) | diagnostic | Delay in milliseconds for option AbortVMOnVMOperationTimeout | share/runtime/globals.hpp | ||| | AbortVMOnVMOperationTimeout | OpenJDK11 | bool | runtime | false | diagnostic | Abort upon failure to complete VM operation promptly | share/runtime/globals.hpp | ||| | ActiveProcessorCount | OpenJDK10 | int | gc | -1 | product | Specify the CPU count the VM should use and report as active | share/gc/shared/gc_globals.hpp | ||| | AdaptiveSizeDecrementScaleFactor | OpenJDK6 | uintx | gc | 4 range(1, max_uintx) | product | Adaptive size scale down factor for shrinking | share/gc/shared/gc_globals.hpp | ||| | AdaptiveSizeMajorGCDecayTimeScale | OpenJDK6 | Obsoleted in JDK26 Expired in JDK27 | uintx | gc | 10 range(0, max_uintx) | product | Time scale over which major costs decay | share/gc/shared/gc_globals.hpp | || | AdaptiveSizePolicyCollectionCostMargin | OpenJDK6 | Obsoleted in JDK23 Expired in JDK24 | uintx | gc | 50 range(0, 100) | product | If collection costs are within margin, reduce both by full delta | share/gc/s
Source: Hacker News
















