diff src/share/vm/runtime/arguments.cpp @ 4774:865e0817f32b

Merge
author kamg
date Tue, 10 Jan 2012 15:47:19 -0500
parents d725f0affb1a 4f25538b54c9
children 31a5b9aad4bc a5244e07b761
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Fri Jan 06 20:09:20 2012 -0800
+++ b/src/share/vm/runtime/arguments.cpp	Tue Jan 10 15:47:19 2012 -0500
@@ -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
@@ -3177,7 +3177,7 @@
 #endif
 
   if (PrintCommandLineFlags) {
-    CommandLineFlags::printSetFlags();
+    CommandLineFlags::printSetFlags(tty);
   }
 
   // Apply CPU specific policy for the BiasedLocking