Carter Kozak created LOG4J2-2352:
------------------------------------

             Summary: Reusable event message mementos should be cached
                 Key: LOG4J2-2352
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2352
             Project: Log4j 2
          Issue Type: Improvement
          Components: Core
            Reporter: Carter Kozak


When multiple AsyncAppenders are configured, we invoke MutableLogEvent.memento 
(or RingBufferLogEvent.memento) for each one, allocating multiple formatted 
strings.

On the first invocation, we can set the event message to the new MementoMessage 
to avoid re-allocations.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to