Mercurial > hg > truffle
diff src/share/vm/utilities/events.hpp @ 7212:291ffc492eb6
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 14 Dec 2012 14:35:13 +0100 |
parents | ee32440febeb |
children | 6f817ce50129 |
line wrap: on
line diff
--- a/src/share/vm/utilities/events.hpp Fri Dec 14 10:20:54 2012 +0100 +++ b/src/share/vm/utilities/events.hpp Fri Dec 14 14:35:13 2012 +0100 @@ -135,11 +135,11 @@ }; // A simple wrapper class for fixed size text messages. -class StringLogMessage : public FormatBuffer<132> { +class StringLogMessage : public FormatBuffer<256> { public: // Wrap this buffer in a stringStream. stringStream stream() { - return stringStream(_buf, sizeof(_buf)); + return stringStream(_buf, size()); } };