CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit


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.


Setting Effect Default
-XX:+PrintFlagsFinal Enable
-XX:-PrintFlagsFinal Disable yes


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

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