| Analysis Date | JDK | Operating System | CPU Architecture | Debug JVM? |
|---|---|---|---|---|
| 2024-12-24 | OpenJDK21 | Linux | x86 | N |
Results
Switches Identified
Switch Analysis
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ss | <size> | set java thread stack size The actual size may be rounded up to a multiple of the system page size as required by the operating system. |
512k | |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxRAMPercentage | double | Maximum percentage of real memory used for maximum heap size | 25.0 in range(0.0, 100.0) | 70 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| InitialRAMPercentage | double | Percentage of real memory used for initial heap size | 1.5625 in range(0.0, 100.0) | 70 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| MaxDirectMemorySize | uint64_t | Maximum total size of NIO direct-buffer allocations. Ignored if not explicitly set. |
0 in range(0, max_jlong) | 512m |
| 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 | ||||
|---|---|---|---|---|---|---|---|---|
| ReservedCodeCacheSize | int | Reserved code cache size (in bytes) - maximum code cache size |
|
256m | ||||
| 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 |
|---|---|---|---|---|
| UseZGC | boolean | Use the Z garbage collector | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| ZGenerational | boolean | Use the generational version of ZGC | false | true |
| Analysis | This switch will be removed in the future. It will be Deprecated in OpenJDK23. Obsoleted in OpenJDK24. | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| UseStringDeduplication | boolean | Use string deduplication | 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| OmitStackTraceInFastThrow | boolean | Omit backtraces for some 'hot' exceptions in optimized code | true | false |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| UseCountedLoopSafepoints | boolean | Force counted loops to keep a safepoint | false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| LoopStripMiningIter | int | Number of iterations in strip mined loop | 0 in range(0, max_juint) | 1 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| SafepointTimeout | boolean | Time out and warn or fail after SafepointTimeoutDelay milliseconds if failed to reach safepoint |
false | true |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| SafepointTimeoutDelay | int | Delay in milliseconds for option SafepointTimeout | 10000 in range(0, max_intx LP64_ONLY(/MICROUNITS)) | 1000 |
| Analysis | OK | |||
| Name | Type | Description | Default Value | Your Value |
|---|---|---|---|---|
| GuaranteedSafepointInterval | int | Guarantee a safepoint (at least) every so many milliseconds (0 means none) |
1000 in range(0, max_jint) | 0 |
| Analysis | OK | |||
