| Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
|---|---|---|---|---|
| 2024-11-20 | OpenJDK17 | Linux | x86 | N |
Results
Switches Identified
Switch Analysis
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ms | <size> | set initial Java heap size | 2g | |
| 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 |
|---|---|---|---|---|
| mn | <size> | sets the initial and maximum size (in bytes) of the heap for the young generation (nursery) |
:1g | |
| Analysis | Bad value for type '<size>'. Must be a number with an optional suffix of 'k', 'm', 'g', or 't'. | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| SurvivorRatio | int | Ratio of eden/survivor space size | 8 in range(1, max_uintx-2) | 10 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MetaspaceSize | size_t | Initial threshold (in bytes) at which a garbage collection is done to reduce Metaspace usage |
NOT_LP64(16 * M) LP64_ONLY(21 * M) | 128m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxMetaspaceSize | size_t | Maximum size of Metaspaces (in bytes) | max_uintx | 200m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxDirectMemorySize | uint64_t | Maximum total size of NIO direct-buffer allocations | 0 in range(0, max_jlong) | 212m |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value | ||||
|---|---|---|---|---|---|---|---|---|
| ReservedCodeCacheSize | int | Reserved code cache size (in bytes) - maximum code cache size |
|
80M | ||||
| Analysis | OK | |||||||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ParallelRefProcEnabled | boolean | Enable parallel reference processing whenever possible | false | true |
| Analysis | This switch will be removed in the future. It will be Deprecated in OpenJDK26. Obsoleted in OpenJDK27. Expired in OpenJDK28. | |||
| 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 |
|---|---|---|---|---|
| ExplicitGCInvokesConcurrent | boolean | A System.gc() request invokes a concurrent collection; (effective only when using concurrent collectors) |
false | true |
| 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| PrintCommandLineFlags | boolean | Print flags specified on command line or set by ergonomics | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| UseCompressedOops | boolean | Use 32-bit object references in 64-bit VM. lp64_product means flag is always constant in 32 bit VM |
false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| UseBiasedLocking | boolean | (Deprecated) Enable biased locking in JVM | false | false |
| Analysis | This switch will be removed in the future. It will be Deprecated in OpenJDK15. Obsoleted in OpenJDK18. Expired in OpenJDK19. | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| OmitStackTraceInFastThrow | boolean | Omit backtraces for some 'hot' exceptions in optimized code | true | false |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| AutoBoxCacheMax | int | Sets max value cached by the java.lang.Integer autobox cache | 128 in range(0, max_jint) | 20000 |
| 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 |
|---|---|---|---|---|
| UseCounterDecay | boolean | Adjust recompilation counters | true | false |
| Analysis | This switch will be removed in the future. It will be Obsoleted in OpenJDK22. Expired in OpenJDK23. | |||
| Name | Type | Description | Default Value | Your Value | ||||
|---|---|---|---|---|---|---|---|---|
| TieredCompilation | boolean | Enable tiered compilation |
|
false | ||||
| Analysis | OK | |||||||
