| Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
|---|---|---|---|---|
| 2024-06-11 | OpenJDK21 | Linux | x86 | N |
Results
Switches Identified
Switch Analysis
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| UseZGC | boolean | Use the Z garbage collector | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ZGenerational | boolean | Use the generational version of ZGC | false | true |
| Analysis | This switch will be removed in the future. It will be Deprecated in OpenJDK23. Obsoleted in OpenJDK24. | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ZCollectionInterval | double | Force GC at a fixed time interval (in seconds). Backwards compatible alias for ZCollectionIntervalMajor |
0 | 30 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ZAllocationSpikeTolerance | double | Allocation spike tolerance factor | 2.0 | 5 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| UnlockDiagnosticVMOptions | boolean | Enable normal processing of flags relating to field diagnostics | trueInDebug | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| UnlockExperimentalVMOptions | boolean | Enable normal processing of flags relating to experimental features |
false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| OmitStackTraceInFastThrow | boolean | Omit backtraces for some 'hot' exceptions in optimized code | true | false |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| AlwaysPreTouch | boolean | Force all freshly committed pages to be pre-touched | false | true |
| Analysis | Duplicate switch. This is overridden by -XX:+AlwaysPreTouch. | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| mx | <size> | set maximum Java heap size | 2700m | |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| SoftMaxHeapSize | size_t | Soft limit for maximum heap size (in bytes) | 0 | 2000m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| AlwaysPreTouch | boolean | Force all freshly committed pages to be pre-touched | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxDirectMemorySize | uint64_t | Maximum total size of NIO direct-buffer allocations. Ignored if not explicitly set. |
0 in range(0, max_jlong) | 512m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| CompressedClassSpaceSize | size_t | Maximum size of class area in Metaspace when compressed class pointers are used |
1*G in range(1*M, 3*G) | 64m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxMetaspaceSize | size_t | Maximum size of Metaspaces (in bytes) | max_uintx | 256m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value | ||||
|---|---|---|---|---|---|---|---|---|
| ReservedCodeCacheSize | int | Reserved code cache size (in bytes) - maximum code cache size |
|
256m | ||||
| Analysis | OK | |||||||
| Name | Type | Description | Default Value | Your Value | ||||
|---|---|---|---|---|---|---|---|---|
| InitialCodeCacheSize | int | Initial code cache size (in bytes) |
|
256m | ||||
| Analysis | OK | |||||||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| DisableExplicitGC | boolean | Ignore calls to System.gc() | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| GuaranteedSafepointInterval | int | Guarantee a safepoint (at least) every so many milliseconds (0 means none) |
1000 in range(0, max_jint) | 0 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| UseCountedLoopSafepoints | boolean | Force counted loops to keep a safepoint | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| SafepointTimeout | boolean | Time out and warn or fail after SafepointTimeoutDelay milliseconds if failed to reach safepoint |
false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| SafepointTimeoutDelay | int | Delay in milliseconds for option SafepointTimeout | 10000 in range(0, max_intx LP64_ONLY(/MICROUNITS)) | 1000 |
| Analysis | OK | |||
