Mercurial > hg > graal-jvmci-8
diff src/share/vm/gc_interface/gcCause.hpp @ 7455:0b54ffe4c2d3
8005672: Clean up some changes to GC logging with GCCause's
Reviewed-by: johnc, ysr
author | jmasa |
---|---|
date | Fri, 04 Jan 2013 17:04:46 -0800 |
parents | da91efe96a93 |
children | f2110083203d |
line wrap: on
line diff
--- a/src/share/vm/gc_interface/gcCause.hpp Fri Jan 04 17:04:25 2013 -0800 +++ b/src/share/vm/gc_interface/gcCause.hpp Fri Jan 04 17:04:46 2013 -0800 @@ -99,9 +99,9 @@ public: GCCauseString(const char* prefix, GCCause::Cause cause) { if (PrintGCCause) { - _position = jio_snprintf(_buffer, _length, "%s (%s)", prefix, GCCause::to_string(cause)); + _position = jio_snprintf(_buffer, _length, "%s (%s) ", prefix, GCCause::to_string(cause)); } else { - _position = jio_snprintf(_buffer, _length, "%s", prefix); + _position = jio_snprintf(_buffer, _length, "%s ", prefix); } assert(_position >= 0 && _position <= _length, err_msg("Need to increase the buffer size in GCCauseString? %d", _position));