< prev index next >
src/share/vm/gc/shared/gcCause.hpp
Print this page
@@ -134,13 +134,13 @@
int _position;
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,
"Need to increase the buffer size in GCCauseString? %d", _position);
}
< prev index next >