Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
---|---|---|---|---|
2025-05-14 | OpenJDK21 | Linux | x86 | N |
Results
Switches Identified
Switch Analysis
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 |
---|---|---|---|---|
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) | 256m |
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 |
---|---|---|---|---|
ss | <size> | set java thread stack size The actual size may be rounded up to a multiple of the system page size as required by the operating system. |
10m | |
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*=debug,heap*=trace:file=$HOME/log/gc_%p.log:time,pid,tid,level,tags:filecount=10,filesize=100M | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
UseAdaptiveSizePolicy | boolean | Use adaptive generation sizing policies | true | false |
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 |
---|---|---|---|---|
InitialRAMPercentage | double | Percentage of real memory used for initial heap size | 1.5625 in range(0.0, 100.0) | 75.0 |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
MinRAMPercentage | double | Minimum percentage of real memory used for maximum heap size on systems with small physical memory size |
50.0 in range(0.0, 100.0) | 75.0 |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
MaxRAMPercentage | double | Maximum percentage of real memory used for maximum heap size | 25.0 in range(0.0, 100.0) | 75.0 |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
UseContainerSupport | boolean | Enable detection and runtime container configuration support | true | true |
Analysis | OK |