hotspot/src/share/vm/runtime/arguments.cpp
changeset 11448 bc6ee0f54f87
parent 11445 3c768dca60f5
parent 11442 770f7b89bb6b
child 11587 16b0200f252d
child 12981 b557c10f5444
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Thu Jan 12 12:28:59 2012 -0800
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Fri Jan 13 00:27:53 2012 -0800
@@ -2330,7 +2330,7 @@
 #ifndef PRODUCT
     // -Xprintflags
     } else if (match_option(option, "-Xprintflags", &tail)) {
-      CommandLineFlags::printFlags();
+      CommandLineFlags::printFlags(tty, false);
       vm_exit(0);
 #endif
     // -D
@@ -2978,13 +2978,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
@@ -3180,7 +3180,7 @@
 #endif
 
   if (PrintCommandLineFlags) {
-    CommandLineFlags::printSetFlags();
+    CommandLineFlags::printSetFlags(tty);
   }
 
   // Apply CPU specific policy for the BiasedLocking