mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8001538: hs_err file does not list anymore compiled methods in compilation events
Fixed message buffer size calculation. Reviewed-by: kvn, twisti
This commit is contained in:
parent
fea11c53eb
commit
7f0d3fe5e7
2 changed files with 9 additions and 4 deletions
|
@ -135,11 +135,11 @@ template <class T> class EventLogBase : public EventLog {
|
|||
};
|
||||
|
||||
// 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());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue