Skip to content

-XX:[+|-]PrintFlagsFinal

When enabled, this option outputs the values of a subset of configuration parameters in a format compatible with that produced by HotSpot. The parameters currently output are those expected by various software projects and packages.

Syntax

    -XX:[+|-]PrintFlagsFinal
Setting Effect Default
-XX:+PrintFlagsFinal Enable
-XX:-PrintFlagsFinal Disable yes

Example

Here is an example of typical output from -XX:+PrintFlagsFinal:

[Global flags]
   size_t MaxHeapSize              = 4294967296          {product} {ergonomic}
 uint64_t MaxDirectMemorySize      = 3758096384          {product} {ergonomic}