1.1 --- a/src/share/vm/runtime/arguments.cpp Thu Jan 12 12:28:59 2012 -0800 1.2 +++ b/src/share/vm/runtime/arguments.cpp Fri Jan 13 00:27:53 2012 -0800 1.3 @@ -2330,7 +2330,7 @@ 1.4 #ifndef PRODUCT 1.5 // -Xprintflags 1.6 } else if (match_option(option, "-Xprintflags", &tail)) { 1.7 - CommandLineFlags::printFlags(); 1.8 + CommandLineFlags::printFlags(tty, false); 1.9 vm_exit(0); 1.10 #endif 1.11 // -D 1.12 @@ -2978,13 +2978,13 @@ 1.13 IgnoreUnrecognizedVMOptions = false; 1.14 } 1.15 if (match_option(option, "-XX:+PrintFlagsInitial", &tail)) { 1.16 - CommandLineFlags::printFlags(); 1.17 + CommandLineFlags::printFlags(tty, false); 1.18 vm_exit(0); 1.19 } 1.20 1.21 #ifndef PRODUCT 1.22 if (match_option(option, "-XX:+PrintFlagsWithComments", &tail)) { 1.23 - CommandLineFlags::printFlags(true); 1.24 + CommandLineFlags::printFlags(tty, true); 1.25 vm_exit(0); 1.26 } 1.27 #endif 1.28 @@ -3180,7 +3180,7 @@ 1.29 #endif 1.30 1.31 if (PrintCommandLineFlags) { 1.32 - CommandLineFlags::printSetFlags(); 1.33 + CommandLineFlags::printSetFlags(tty); 1.34 } 1.35 1.36 // Apply CPU specific policy for the BiasedLocking