diff src/share/vm/runtime/globals.cpp @ 1150:f62a22282a47

6914622: Print values of all flags for product VM Summary: Change the flag -XX:+PrintFlagsFinal to product and add new product flag -XX:+PrintFlagsInitial. Reviewed-by: phh, ysr Contributed-by: gbenson@redhat.com
author kvn
date Thu, 07 Jan 2010 16:24:17 -0800
parents 7c57aead6d3e
children c18cbe5936b8
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.cpp	Wed Jan 06 22:21:39 2010 -0800
+++ b/src/share/vm/runtime/globals.cpp	Thu Jan 07 16:24:17 2010 -0800
@@ -468,6 +468,8 @@
   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 @@
   }
   FREE_C_HEAP_ARRAY(Flag*, array);
 }
-
-#endif