Do not miss also -XX:+JVMCIPrintProperties for Graal JIT options.

Before dive into sources you can skim over following extracts and find suitable option faster:

https://chriswhocodes.com/ (OracleJDK 6/7/8/9/10/11/12, OpenJDK 8/9/10/11, Graal CE/EE, OpenJ9, Zing)

http://jvm-options.tech.xebia.fr/

http://www.pingtimeout.fr/2012/05/jvm-options-complete-reference.html

http://stas-blogspot.blogspot.com/2011/07/most-complete-list-of-xx-options-for.html

Answer from Andriy Plokhotnyuk on Stack Overflow
🌐
Baeldung
baeldung.com › home › java › jvm › exploring jvm tuning flags
Exploring JVM Tuning Flags | Baeldung
January 8, 2024 - >> java -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions \ >> -XX:+JVMCIPrintProperties -XX:+EnableJVMCI -XX:+PrintFlagsFinal -version | wc -l 1516
🌐
IBM
ibm.com › docs › en › sdk-java-technology › 8
IBM SDK, Java Technology Edition 8
Build, govern, and manage your data for generative AI solutions · Use pre-integrated automation technologies to design, build, and run automation applications and services on the cloud
🌐
Medium
medium.com › codex › lets-talk-about-java-jvm-flags-23fe0f826bc2
Configure Java properly using flags/options | CodeX
September 1, 2021 - TL;DR You can view the flags used in your java application in multiple ways. Either by specifying a flag on the command line (-XX:+PrintFlagsFinal) or by using jcmd or jinfo on an active VM.
🌐
codecentric
codecentric.de › en › knowledge-hub › blog › useful-jvm-flags-part-3-printing-all-xx-flags-and-their-values
Useful JVM Flags: Printing XX Flags & Values
1$ java -server -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal Benchmark | grep ":" 2uintx InitialHeapSize := 57505088 {product} 3uintx MaxHeapSize := 920649728 {product} 4uintx ParallelGCThreads := 4 {product} 5 bool PrintFlagsFinal := true {product} 6 bool UseParallelGC := true {product}
🌐
Eclipse Foundation
eclipse.dev › openj9 › docs › xxprintflagsfinal
-XX:[+|-]PrintFlagsFinal -
Here is an example of typical output from -XX:+PrintFlagsFinal: [Global flags] size_t MaxHeapSize = 4294967296 {product} {ergonomic} uint64_t MaxDirectMemorySize = 3758096384 {product} {ergonomic}
🌐
Medium
medium.com › @erdemkarayer › jvm-arguments-and-my-keynotes-6153a757d173
JVM Arguments and my keynotes. -XX:+PrintFlagsFinal | by Erdem Karayer | Medium
November 14, 2018 - JVM Arguments and my keynotes I want to share my keynotes about JVM arguments -XX:+PrintFlagsFinal We can use it to see JVM flags and their values -XX:+UseLargePages Large memory pages are locked in …
🌐
Herongyang
herongyang.com › Java-8-GC › Logging-Print-JVM-Options-PrintFlagsFinal.html
"-XX:+PrintFlagsFinal" - Print JVM Options
If want to know what are default options used by the JVM, you can use the "-XX:+PrintFlagsFinal" option to print them out: herong> \progra~1\java\jdk1.8.0\bin\java \ -XX:+PrintFlagsFinal GarbageCollection [Global flags] uintx AdaptiveSizeDe...
Find elsewhere
🌐
Blogger
javabraindump.blogspot.com › 2012 › 12 › xxprintflagsfinal.html
Java Brain Dump: -XX:+PrintFlagsFinal
During some GC Tuning related Googling yesterday, I came across a JVM flag I had never seen before -XX:+PrintFlagsFinal So I tried it w...
🌐
ycrash Answers
answers.ycrash.io › question › what-is-print-command-line-flags--xxprintcommandlineflags
What is Print Command Line Flags: -XX:+PrintCommandLineFlags? - yCrash Answers
To see the complete set of flags along with their values, use the -XX:+PrintFlagsFinal flag in combination with -XX:+UnlockDiagnosticVMOptions and -XX:+UnlockExperimentalVMOptions. ... If you have additional comments, interesting experiences or even point of disagreement with this JVM argument description, please leave a comment. Your insights will help the entire 10+ million java developer community to develop one standard source of documentation for all the JVM arguments.
🌐
TheServerSide
theserverside.com › blog › Coffee-Talk-Java-News-Stories-and-Opinions › jvm-options-java-parameters-command-line-environment-variable-list-xms-xmx-memory
Critical Java JVM options and parameters
-XX:+PrintFlagsFinal -version prints out all of the currently configured flags and options set on your JVM. To use any of these JVM options, simply append them as text after the java runtime command.
🌐
Kobtea
kobtea.net › posts › 2015 › 03 › 28 › java-printflagsfinal
Java Optionの一覧表示 - kobtea.net
JavaのOptionは口コミとかググって知ったオプションを使うとかでイマイチ全体観がつかめない。 そんなときは-XX:+PrintFlagsFinal等を使うと幸せになれるかもしれない! (しかしこのOptionも先の例に漏れず偶然知った) Java Optionを表示するには3つのOptionがある。 -XX:+PrintFlagsFinal: 最終的な設定値 -XX:+PrintFlagsInitial: 初期値 -XX:+PrintCommandLineFlags: コマンドライン上で与えた設定値 -XX:+PrintFlagsFinal Option $ java -XX:+PrintFlagsFinal -version [Global flags] uintx AdaptiveSizeDecremen
🌐
Oracle
docs.oracle.com › en › java › javase › 24 › troubleshoot › prepare-java-troubleshooting.html
1 Prepare Java for Troubleshooting
August 13, 2025 - If your application starts with a script, read through it and any associated configuration files to find out if your application is using something other than the default Java version. Alternatively, add -XX:PrintFlagsFinal and -showversion to your application's JVM arguments, restart your application, and read the application logs for the results.
🌐
InfoWorld
infoworld.com › home › software development
HotSpot JVM Options Displayed: -XX:+PrintFlagsInitial and -XX:+PrintFlagsFinal | InfoWorld
January 10, 2011 - Inspecting HotSpot JVM Options is a great post for those wishing to understand better the options provided by Oracle’s (formerly Sun’s) HotSpot Java Virtual Machine. In this thorough post, Zahid Qureshi discusses how to use the option -XX:+PrintFlagsFinal in conjunction with -XX:+UnlockDiagnosticVMOptions to “dump out every JVM option and its value.” Zahid goes further than this and runs these flags against the HotSpot JVM in both client (his client output here) and server mode (his server output here), compares/diffs the options each uses (his diff results here), and analyzes some of the differences.
🌐
Blogger
isuru-perera.blogspot.com › 2015 › 08 › java-ergonomics-and-jvm-flags.html
Java Ergonomics and JVM Flags
August 26, 2015 - $ java -XX:+PrintFlagsFinal -version When printing final flags, we can see there are some flags with assignment operator ":=", which indicates that the flag values were modified (by manually or by Java Ergonomics)
🌐
Oracle
support.oracle.com › knowledge › Middleware › 2910617_1.html
Java SE 8 PrintFlagsFinal output to state CreateMinidumpOnCrash as true on Windows
November 22, 2022 - Java SE JDK and JRE - Version 8 to 8: Java SE 8 PrintFlagsFinal output to state CreateMinidumpOnCrash as true on Windows