Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.13.0
-
None
-
None
Description
Using ParameterizedMessageFactory (non-reusable) with thread locals for asynchronous logging results in unused object parameter arrays and empty StringBuilder buffers.
We can update RingBufferLogEvent and MutableLogEvent to create both the StringBuilder buffer and parameter array lazily in order to avoid the memory overhead entirely when reusable messages are not used.
Attachments
Issue Links
- links to