Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
---|---|---|---|---|
2025-02-10 | OpenJDK8 | 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 | 28365m | |
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 | OK |
Name | Type | Description | Default Value | Your Value | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MetaspaceSize | int | Initial size of Metaspaces (in bytes) |
|
2g | |||||||||
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
MaxMetaspaceSize | int | Maximum size of Metaspaces (in bytes) | max_uintx | 3g |
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 | Duplicate switch. This is overridden by -XX:+UseStringDeduplication. |
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 | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
loggc | <file> | log GC status to a file with time stamps | ::/opt/tomcat_a/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 | 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_a/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_a/logs/java_error%p.log |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
StackShadowPages | int | Number of shadow zone (for overflow checking) pages this should exceed the depth of the VM and native call stack |
4 DEBUG_ONLY(+5) | 20 |
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 |
---|---|---|---|---|
UseCompressedClassPointers | boolean | Use 32-bit class pointers in 64-bit VM. lp64_product means flag is always constant in 32 bit VM |
false | false |
Analysis | OK |