| Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
|---|---|---|---|---|
| 2024-01-12 | OpenJDK11 | Linux | x86 | N |
Results
Switches Identified
Switch Analysis
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ms | <size> | set initial Java heap size | 2048m | |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| mx | <size> | set maximum Java heap size | 2048m | |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MetaspaceSize | int | Initial threshold (in bytes) at which a garbage collection is done to reduce Metaspace usage |
12*M | 196m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxMetaspaceSize | size_t | Maximum size of Metaspaces (in bytes) | max_uintx | 196m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| NewRatio | int | Ratio of old/new generation sizes | 2 in range(0, max_uintx-1) | 3 |
| 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 |
|---|---|---|---|---|
| UseG1GC | boolean | Use the Garbage-First garbage collector | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxGCPauseMillis | int | Adaptive size policy maximum GC pause time goal in millisecond, or (G1 Only) the maximum GC time per MMU time slice |
max_uintx - 1 in range(1, max_uintx - 1) | 20 |
| 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) | 35 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| G1HeapRegionSize | size_t | Size of the G1 regions. | 0 in range(0, 32*M) | 16M |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MinMetaspaceFreeRatio | int | The minimum percentage of Metaspace free after GC to avoid expansion |
40 in range(0, 99) | 50 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxMetaspaceFreeRatio | int | The maximum percentage of Metaspace free after GC to avoid shrinking |
70 in range(0, 100) | 80 |
| 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 | Duplicate switch. This is overridden by -XX:+ExplicitGCInvokesConcurrent. | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ScavengeBeforeFullGC | boolean | Scavenge youngest generation before each full GC. | true | true |
| Analysis | This switch will be removed in the future. It will be Obsoleted in OpenJDK23. Expired in OpenJDK24. | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| noclassgc | disable class garbage collection | : | ||
| 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| HeapDumpOnOutOfMemoryError | boolean | Dump heap to file when java.lang.OutOfMemoryError is thrown | 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 | /home/centosadmin/manager/modules/nodeagent/bin/../../..//modules/nodeagent/dumps/heapdump_nodeagent_centos7_3_9091_20240112153801 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| log | <opts> | control JVM logging, use -Xlog:help for details | ::gc* | |
| Analysis | OK | |||
