| Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
|---|---|---|---|---|
| 2023-02-27 | OpenJDK17 | Linux | x86 | N |
Results
Switches Identified
Switch Analysis
| 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 |
|---|---|---|---|---|
| mx | <size> | set maximum Java heap size | 3g | |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ms | <size> | set initial Java heap size | 3g | |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ErrorFile | string | If an error occurs, save the error data to this file [default: ./hs_err_pid%p.log] (%p replaced with pid) |
NULL | ${LOGPATH}/hs_err_%p.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 |
|---|---|---|---|---|
| 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 | ${LOGPATH} |
| 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 |
|---|---|---|---|---|
| MaxTenuringThreshold | int | Maximum value for tenuring threshold | 15 in range(0, markWord::max_age + 1) | 10 |
| 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 |
|---|---|---|---|---|
| log | <opts> | Configure or enable logging with the Java Virtual Machine (JVM) unified logging framework. Use -Xlog:help for details. |
safepoint,classhisto*=trace,age*,gc*=info:file=${LOGPATH}/gc.log,tid,tags:filecount=5,filesize=50m | |
| 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) | 100 |
| 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 |
|---|---|---|---|---|
| UseBiasedLocking | boolean | (Deprecated) Enable biased locking in JVM | false | false |
| Analysis | This switch will be removed in the future. It will be Deprecated in OpenJDK15. Obsoleted in OpenJDK18. Expired in OpenJDK19. | |||
