Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
---|---|---|---|---|
2023-05-26 | OpenJDK11 | Linux | x86 | N |
Results
Switches Identified
Switch Analysis
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ms | <size> | set initial Java heap size | 256m | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
mx | <size> | set maximum Java heap size | 1024m | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ss | <size> | set java thread stack size | 512k | |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
CompressedClassSpaceSize | size_t | Maximum size of class area in Metaspace when compressed class pointers are used |
1*G in range(1*M, 3*G) | 64m |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
MaxMetaspaceSize | size_t | Maximum size of Metaspaces (in bytes) | max_uintx | 256m |
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 |
---|---|---|---|---|
UnlockExperimentalVMOptions | boolean | Enable normal processing of flags relating to experimental features |
false | true |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ShenandoahUncommit | boolean | Allow to uncommit memory under unused regions and metadata. This optimizes footprint at expense of allocation latency in regions that require committing back. Uncommits would be disabled by some heuristics, or with static heap size. |
true | true |
Analysis | OK |
Name | Type | Description | Default Value | Your Value |
---|---|---|---|---|
ShenandoahUncommitDelay | int | Uncommit memory for regions that were not used for more than this time. First use after that would incur allocation stalls. Actively used regions would never be uncommitted, because they do not become unused longer than this delay. Time is in milliseconds. Setting this delay to 0 effectively uncommits regions almost immediately after they become unused. |
5*60*1000 | 30000 |
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 |