logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (LOG4J2-1437) ObjectMessage and ReusableObjectMessage should avoid calling toString() on auto-boxed primitives
Date Sun, 18 Sep 2016 10:39:20 GMT

     [ https://issues.apache.org/jira/browse/LOG4J2-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Remko Popma closed LOG4J2-1437.
-------------------------------
    Resolution: Fixed

> ObjectMessage and ReusableObjectMessage 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message