hotspot/src/share/vm/runtime/arguments.cpp
changeset 11441 a89f443814cd
parent 11187 8bf3c2a2b5e4
child 11442 770f7b89bb6b
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Thu Jan 05 17:16:13 2012 -0500
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Mon Jan 09 10:27:24 2012 +0100
@@ -2323,7 +2323,7 @@
 #ifndef PRODUCT
     // -Xprintflags
     } else if (match_option(option, "-Xprintflags", &tail)) {
-      CommandLineFlags::printFlags();
+      CommandLineFlags::printFlags(tty, false);
       vm_exit(0);
 #endif
     // -D
@@ -2971,13 +2971,13 @@
       IgnoreUnrecognizedVMOptions = false;
     }
     if (match_option(option, "-XX:+PrintFlagsInitial", &tail)) {
-      CommandLineFlags::printFlags();
+      CommandLineFlags::printFlags(tty, false);
       vm_exit(0);
     }
 
 #ifndef PRODUCT
     if (match_option(option, "-XX:+PrintFlagsWithComments", &tail)) {
-      CommandLineFlags::printFlags(true);
+      CommandLineFlags::printFlags(tty, true);
       vm_exit(0);
     }
 #endif
@@ -3170,7 +3170,7 @@
 #endif
 
   if (PrintCommandLineFlags) {
-    CommandLineFlags::printSetFlags();
+    CommandLineFlags::printSetFlags(tty);
   }
 
   // Apply CPU specific policy for the BiasedLocking