Currently, we have two commands related to the JVM flags:
- VM.set_flag - allows the user to change manageable flags.
- VM.flags - allows the user to print set flags or list flags the same way they are listed with -XX:+PrintFlagsFinal
I propose that we add a new diagnostic command: VM.get_flag <name>. This command will print the value of the given flag.
- VM.set_flag - allows the user to change manageable flags.
- VM.flags - allows the user to print set flags or list flags the same way they are listed with -XX:+PrintFlagsFinal
I propose that we add a new diagnostic command: VM.get_flag <name>. This command will print the value of the given flag.