You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Philipp Knobel (JIRA)" <ji...@apache.org> on 2017/02/10 12:53:41 UTC

[jira] [Commented] (LOG4J2-1678) (GC) Avoid allocating temporary objects in ThreadContextMapFilter

    [ https://issues.apache.org/jira/browse/LOG4J2-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861217#comment-15861217 ] 

Philipp Knobel commented on LOG4J2-1678:
----------------------------------------

If I'm not mistaken, this filter was effectively broken after the additional filter methods where introduced until 2.8. As the fallback in AbstractFilter would kick in, which simply did a return Result.NEUTRAL.

> (GC) Avoid allocating temporary objects in ThreadContextMapFilter
> -----------------------------------------------------------------
>
>                 Key: LOG4J2-1678
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1678
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Filters
>    Affects Versions: 2.7
>            Reporter: Remko Popma
>            Assignee: Remko Popma
>             Fix For: 2.8
>
>
> Make ThreadContextMapFilter garbage-free.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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