Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
---|---|---|---|---|
2025-08-21 | OpenJDK21 | Linux | x86 | N |
Results
Switches Identified
Switch Analysis
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ms | <size> | set initial Java heap size | 128m | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
mx | <size> | set maximum Java heap size | 128m | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
IgnoreUnrecognizedVMOptions | boolean | Ignore unrecognized VM options | false | true |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
UnlockDiagnosticVMOptions | boolean | Enable normal processing of flags relating to field diagnostics | trueInDebug | true |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
UnlockExperimentalVMOptions | boolean | Enable normal processing of flags relating to experimental features |
false | true |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
PrintCompilation | boolean | Print compilations | false | true |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
LogCompilation | boolean | Log compilation activity in detail to LogFile | false | true |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
LogFile | string | If LogVMOutput or LogCompilation is on, save VM output to this file [default: ./hotspot_pid%p.log] (%p replaced with pid) |
nullptr | jit.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) |
nullptr | heapdump.hprof |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
TraceClassLoading | boolean | Trace all classes loaded | false | true |
Analysis | This switch was removed after OpenJDK8. Your analysis was for OpenJDK21 |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
TraceClassUnloading | boolean | Trace unloading of classes | false | true |
Analysis | This switch was removed after OpenJDK8. Your analysis was for OpenJDK21 |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
loggc | <file> | log GC status to a file with time stamps. This option is deprecated and may be removed in a future release. It is replaced by -Xlog:gc:<file>. |
::gc.log | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
PrintGCDetails | boolean | Print more details at garbage collection. Deprecated, use -Xlog:gc* instead. |
false | true |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
PrintGCTimeStamps | boolean | Print timestamps at garbage collection | false | true |
Analysis | This switch was removed after OpenJDK8. Your analysis was for OpenJDK21 |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
UseGCLogFileRotation | boolean | Rotate gclog files (for long running applications). It requires -Xloggc:<filename> |
false | true |
Analysis | This switch was removed after OpenJDK8. Your analysis was for OpenJDK21 |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
NumberOfGCLogFiles | int | Number of gclog files in rotation (default: 0, no rotation) |
0 | 8 |
Analysis | This switch was removed after OpenJDK8. Your analysis was for OpenJDK21 |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
GCLogFileSize | int | GC log file size, requires UseGCLogFileRotation. Set to 0 to only trigger rotation via jcmd |
8*K | 8m |
Analysis | This switch was removed after OpenJDK8. Your analysis was for OpenJDK21 |
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*,safepoint:gc.log:time,uptime:filecount=10,filesize=128K | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
NativeMemoryTracking | string | DEBUG_ONLY(summary | detail | |
Analysis | OK |