Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
---|---|---|---|---|
2021-12-06 | OpenJDK11 | Linux | x86 | N |
Results
Switches Identified
Switch Analysis
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ms | <size> | set initial Java heap size | 10g | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
mx | <size> | set maximum Java heap size | 10g | |
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 |
---|---|---|---|---|
UseShenandoahGC | boolean | Use the Shenandoah garbage collector | false | true |
Analysis | This switch is not available until OpenJDK12. Your analysis was for OpenJDK11 |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
UseStringDeduplication | boolean | Use string deduplication | false | true |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ShenandoahGCHeuristics | string | GC heuristics to use. This fine-tunes the GC mode selected, by choosing when to start the GC, how much to process on each cycle, and what other features to automatically enable. Possible values are: adaptive - adapt to maintain the given amount of free heap at all times, even during the GC cycle; static - trigger GC when free heap falls below the threshold; aggressive - run GC continuously, try to evacuate everything; compact - run GC more frequently and with deeper targets to free up more memory. |
adaptive | compact |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ConcGCThreads | uint | Number of threads concurrent gc will use | 0 | 4 |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ShenandoahAllocationThreshold | int | How many new allocations should happen since the last GC cycle before some heuristics trigger the collection. In percents of (soft) max heap size. Set to zero to effectively disable. |
0 in range(0,100) | 30 |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ScavengeBeforeFullGC | boolean | Scavenge youngest generation before each full GC. | true | true |
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 |
---|---|---|---|---|
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/a1s-sdp/logs/ |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
OnOutOfMemoryError | list of strings | Run user-defined commands on first java.lang.OutOfMemoryError | /opt/oom/oom_a1ssdp.sh | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ExitOnOutOfMemoryError | boolean | JVM exits on the first occurrence of an out-of-memory error | 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 |
---|---|---|---|---|
DebugNonSafepoints | boolean | Generate extra debugging information for non-safepoints in nmethods |
trueInDebug | true |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
log | <opts> | control JVM logging, use -Xlog:help for details | gc*,safepoint,gc+heap=trace,gc+age=trace,stringdedup*=debug:file=/var/log/a1s-sdp/gc.log:time,uptime,level,tags:filecount=10,filesize=100M | |
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 | /var/log/a1s-sdp/jvm_error%p.log |
Analysis | OK |