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:
Gary Benson 2010-01-07 16:24:17 -08:00 committed by Vladimir Kozlov
parent 5bec0d60ab
commit 5d66f5aca8
3 changed files with 17 additions and 12 deletions

View file

@ -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