logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Knobel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1678) (GC) Avoid allocating temporary objects in ThreadContextMapFilter
Date Fri, 10 Feb 2017 12:53:41 GMT

    [ 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


Mime
View raw message