| Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
|---|---|---|---|---|
| 2025-01-24 | OpenJDK8 | Linux | x86 | N |
Results
Switches Identified
Switch Analysis
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ms | <size> | set initial Java heap size | 1g | |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| mx | <size> | set maximum Java heap size | 2g | |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ss | <size> | set java thread stack size | 2m | |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxJavaStackTraceDepth | int | The maximum number of lines in the stack trace for Java exceptions (0 means all) |
1024 | 50000 |
| Analysis | Duplicate switch. This is overridden by -XX:MaxJavaStackTraceDepth=50000. | |||
| Name | Type | Description | Default Value | Your Value | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MetaspaceSize | int | Initial size of Metaspaces (in bytes) |
|
768m | |||||||||
| Analysis | OK | ||||||||||||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxMetaspaceSize | int | Maximum size of Metaspaces (in bytes) | max_uintx | 1024m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ReservedCodeCacheSize | int | Reserved code cache size (in bytes) - maximum code cache size |
|
480m | |||||||||
| 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 | 500 |
| 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 |
|---|---|---|---|---|
| PrintGCDetails | boolean | Print more details at garbage collection | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| PrintGCDateStamps | boolean | Print date stamps at garbage collection | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| PrintAdaptiveSizePolicy | boolean | Print information about AdaptiveSizePolicy | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| PrintGCApplicationStoppedTime | boolean | Print the time the application has been stopped | false | true |
| Analysis | Duplicate switch. This is overridden by -XX:+PrintGCApplicationStoppedTime. | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| loggc | <file> | log GC status to a file with time stamps | ::/opt/tomcat_b/logs/gc-v1-%t-%p.log | |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| DisableExplicitGC | boolean | Ignore calls to System.gc() | false | true |
| Analysis | Duplicate switch. This is overridden by -XX:+DisableExplicitGC. | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxJavaStackTraceDepth | int | The maximum number of lines in the stack trace for Java exceptions (0 means all) |
1024 | 50000 |
| 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 |
|---|---|---|---|---|
| PrintGCApplicationStoppedTime | boolean | Print the time the application has been stopped | 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 | /opt/tomcat_b/logs |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| OnOutOfMemoryError | list of strings | Run user-defined commands on first java.lang.OutOfMemoryError | /usr/local/sbin/tomcatOutOfMemory.sh | |
| 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 | /opt/tomcat_b/logs/java_error%p.log |
| Analysis | OK | |||
