Remko Popma created LOG4J2-1437:
-----------------------------------

             Summary: ObjectMessage should avoid calling toString() on 
auto-boxed primitives
                 Key: LOG4J2-1437
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1437
             Project: Log4j 2
          Issue Type: Improvement
          Components: API
    Affects Versions: 2.6.1
            Reporter: Remko Popma
            Assignee: Remko Popma
             Fix For: 2.6.2


In the {{formatTo(StringBuilder)}} message, we should unbox the boxed 
primitives and append the primitive value to the StringBuilder to avoid 
allocating additional temporary objects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to