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

Remko Popma reopened LOG4J2-1715:
---------------------------------

> (GC) Avoid allocating temporary objects in NdcPatternConverter
> --------------------------------------------------------------
>
>                 Key: LOG4J2-1715
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1715
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Pattern Converters
>    Affects Versions: 2.7
>            Reporter: Remko Popma
>            Assignee: Remko Popma
>             Fix For: 2.8
>
>
> Make NdcPatternConverter garbage-free by letting ThreadContext.ContextStack 
> implementations implement StringBuilderFormattable.
> Note that use of the ThreadContext stack is not garbage-free: the stack is 
> cloned for each log message. This only avoids creating objects during 
> formatting in the layout.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to