| Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
|---|---|---|---|---|
| 2023-03-02 | OpenJDK17 | Linux | x86 | N |
Results
Switches Identified
Switch Analysis
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ms | <size> | set initial Java heap size | 3g | |
| 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) | 200m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxMetaspaceSize | size_t | Maximum size of Metaspaces (in bytes) | max_uintx | 300m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| G1HeapRegionSize | size_t | Size of the G1 regions. | 0 in range(0, 32*M) | 8m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| InitiatingHeapOccupancyPercent | int | The percent occupancy (IHOP) of the current old generation capacity above which a concurrent mark cycle will be initiated Its value may change over time if adaptive IHOP is enabled, otherwise the value remains constant. In the latter case a value of 0 will result as frequent as possible concurrent marking cycles. A value of 100 disables concurrent marking. Fragmentation waste in the old generation is not considered free space in this calculation. (G1 collector only) |
45 in range(0, 100) | 30 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| G1MixedGCCountTarget | int | The target number of mixed GCs after a marking cycle. | 8 in range(0, max_uintx) | 16 |
| 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*:$DIR/logs/gc.log | |
| 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 |
|---|---|---|---|---|
| HeapDumpAfterFullGC | boolean | Dump heap to file after any major stop-the-world GC | 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) |
NULL | $DIR/logs/dump |
| Analysis | OK | |||
