8026300: VM warning: increase O_BUFLEN in ostream.hpp -- output truncated occurs with fastdebug VM when printing flags

Mon, 16 Dec 2013 10:57:08 -0800

author
zgu
date
Mon, 16 Dec 2013 10:57:08 -0800
changeset 6542
b257acb35d3e
parent 6541
bfdf528be8e8
child 6543
5186bc5047c1

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

src/share/vm/runtime/globals.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/runtime/globals.cpp	Fri Apr 04 10:43:56 2014 +0200
     1.2 +++ b/src/share/vm/runtime/globals.cpp	Mon Dec 16 10:57:08 2013 -0800
     1.3 @@ -325,7 +325,7 @@
     1.4      else st->print("%-16s", "");
     1.5    }
     1.6  
     1.7 -  st->print("%-20");
     1.8 +  st->print("%-20s", " ");
     1.9    print_kind(st);
    1.10  
    1.11    if (withComments) {

mercurial