You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Marius Volkhart (Jira)" <ji...@apache.org> on 2020/02/23 23:32:00 UTC

[jira] [Commented] (LOG4J2-2790) Conditionally allocate PluginEntry during PluginCache loading

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

Marius Volkhart commented on LOG4J2-2790:
-----------------------------------------

Patch available at https://github.com/apache/logging-log4j2/pull/344

> Conditionally allocate PluginEntry during PluginCache loading
> -------------------------------------------------------------
>
>                 Key: LOG4J2-2790
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2790
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Plugins
>    Affects Versions: 3.0.0
>            Reporter: Marius Volkhart
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When populating theĀ {{PluginCache}} from resources, a new {{PluginEntry}} is created regardless of whether or not it will be added to the cache. Instead, the allocation could/should occur only if the entry will actually be added to the cache.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)