| Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
|---|---|---|---|---|
| 2026-07-14 | OpenJDK21 | Linux | x86 | Y |
Results
Switches Identified
Switch Analysis
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ms | <size> | set initial Java heap size | 10g | |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| mx | <size> | set maximum Java heap size | 10g | |
| 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) | 512m |
| 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| MaxDirectMemorySize | uint64_t | Maximum total size of NIO direct-buffer allocations. Ignored if not explicitly set. |
0 in range(0, max_jlong) | 2g |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ParallelGCThreads | uint | Number of parallel threads parallel gc will use | 0 | 6 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ConcGCThreads | uint | Number of threads concurrent gc will use | 0 | 4 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxTenuringThreshold | int | Maximum value for tenuring threshold | 15 in range(0, markWord::max_age + 1) | 6 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| UseStringDeduplication | boolean | Use string deduplication | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ZAllocationSpikeTolerance | double | Allocation spike tolerance factor | 2.0 | 2.0 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ZUncommitDelay | int | Uncommit memory if it has been unused for the specified amount of time (in seconds) |
5 * 60 | 300 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| HeapDumpOnOutOfMemoryError | boolean | Dump heap to file when java.lang.OutOfMemoryError is thrown from JVM |
false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| HeapDumpPath | string | When HeapDumpOnOutOfMemoryError is on, the path (filename or directory) of the dump file (defaults to java_pid<pid>.hprof in the working directory) |
nullptr | /export/Logs |
| 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. |
gc*,gc+reloc*,gc+young*:file=/export/Logs/gc.log:time,uptime,level,tags:filecount=10,filesize=100M | |
| Analysis | OK | |||
