8026300: VM warning: increase O_BUFLEN in ostream.hpp -- output truncated occurs with fastdebug VM when printing flags
authorzgu
Mon, 16 Dec 2013 10:57:08 -0800
changeset 22188 c878825ed998
parent 22187 a0970a09d423
child 22189 60fa7416465e
8026300: VM warning: increase O_BUFLEN in ostream.hpp -- output truncated occurs with fastdebug VM when printing flags Summary: Fixed wrong print string format Reviewed-by: sla, ccheung
hotspot/src/share/vm/runtime/globals.cpp
--- a/hotspot/src/share/vm/runtime/globals.cpp	Mon Dec 16 11:17:33 2013 +0100
+++ b/hotspot/src/share/vm/runtime/globals.cpp	Mon Dec 16 10:57:08 2013 -0800
@@ -295,7 +295,7 @@
     else st->print("%-16s", "");
   }
 
-  st->print("%-20");
+  st->print("%-20s", " ");
   print_kind(st);
 
   if (withComments) {