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 |
---|---|---|---|---|
ms | <size> | set initial Java heap size | 45g | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
mx | <size> | set maximum Java heap size | 45g | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ConcGCThreads | uint | Number of threads concurrent gc will use | 0 | 8 |
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) | 8g |
Analysis | OK |
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. |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
UseDynamicNumberOfGCThreads | boolean | Dynamically choose the number of threads up to a maximum of ParallelGCThreads parallel collectors will use for garbage collection work |
true | false |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ZProactive | boolean | Enable proactive GC cycles | true | false |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ZUncommit | boolean | Uncommit unused memory | true | false |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ZAllocationSpikeTolerance | double | Allocation spike tolerance factor | 2.0 | 2 |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ZCollectionInterval | double | Force GC at a fixed time interval (in seconds). Backwards compatible alias for ZCollectionIntervalMajor |
0 | 60 |
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)) | 300 |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
UseBiasedLocking | boolean | (Deprecated) Enable biased locking in JVM | false | false |
Analysis | This switch was removed after OpenJDK17. Your analysis was for OpenJDK21 |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
UseCounterDecay | boolean | Adjust recompilation counters | true | false |
Analysis | This switch will be removed in the future. It will be Obsoleted in OpenJDK22. Expired in OpenJDK23. |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
AutoBoxCacheMax | int | Sets max value cached by the java.lang.Integer autobox cache | 128 in range(0, max_jint) | 20000 |
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 |
---|---|---|---|---|
MetaspaceSize | size_t | Initial threshold (in bytes) at which a garbage collection is done to reduce Metaspace usage |
NOT_LP64(16 * M) LP64_ONLY(21 * M) | 128m |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
MaxMetaspaceSize | size_t | Maximum size of Metaspaces (in bytes) | max_uintx | 512m |
Analysis | OK |
Name | Type | Description | Default Value | Your Value | ||||
---|---|---|---|---|---|---|---|---|
ReservedCodeCacheSize | int | Reserved code cache size (in bytes) - maximum code cache size |
|
240M | ||||
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ExplicitGCInvokesConcurrent | boolean | A System.gc() request invokes a concurrent collection; (effective only when using concurrent collectors) |
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 |
---|---|---|---|---|
log | <opts> | Configure or enable logging with the Java Virtual Machine (JVM) unified logging framework. Use -Xlog:help for details. |
::async | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
loggc | <file> | log GC status to a file with time stamps. This option is deprecated and may be removed in a future release. It is replaced by -Xlog:gc:<file>. |
::gc-my-app.log | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
PrintGCDetails | boolean | Print more details at garbage collection. Deprecated, use -Xlog:gc* instead. |
false | true |
Analysis | OK |