mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6914622: Print values of all flags for product VM
Change the flag -XX:+PrintFlagsFinal to product and add new product flag -XX:+PrintFlagsInitial. Reviewed-by: phh, ysr
This commit is contained in:
parent
5bec0d60ab
commit
5d66f5aca8
3 changed files with 17 additions and 12 deletions
|
@ -468,6 +468,8 @@ void CommandLineFlags::verify() {
|
|||
assert(Arguments::check_vm_args_consistency(), "Some flag settings conflict");
|
||||
}
|
||||
|
||||
#endif // PRODUCT
|
||||
|
||||
void CommandLineFlags::printFlags() {
|
||||
// Print the flags sorted by name
|
||||
// note: this method is called before the thread structure is in place
|
||||
|
@ -493,5 +495,3 @@ void CommandLineFlags::printFlags() {
|
|||
}
|
||||
FREE_C_HEAP_ARRAY(Flag*, array);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue