1.1 --- a/src/share/vm/gc_interface/gcCause.hpp Fri Jan 04 17:04:25 2013 -0800 1.2 +++ b/src/share/vm/gc_interface/gcCause.hpp Fri Jan 04 17:04:46 2013 -0800 1.3 @@ -99,9 +99,9 @@ 1.4 public: 1.5 GCCauseString(const char* prefix, GCCause::Cause cause) { 1.6 if (PrintGCCause) { 1.7 - _position = jio_snprintf(_buffer, _length, "%s (%s)", prefix, GCCause::to_string(cause)); 1.8 + _position = jio_snprintf(_buffer, _length, "%s (%s) ", prefix, GCCause::to_string(cause)); 1.9 } else { 1.10 - _position = jio_snprintf(_buffer, _length, "%s", prefix); 1.11 + _position = jio_snprintf(_buffer, _length, "%s ", prefix); 1.12 } 1.13 assert(_position >= 0 && _position <= _length, 1.14 err_msg("Need to increase the buffer size in GCCauseString? %d", _position));