You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Carter Kozak (JIRA)" <ji...@apache.org> on 2019/06/20 12:28:00 UTC

[jira] [Assigned] (LOG4J2-2634) AsyncLogger method bytecode should be reduced to 35 bytes for fast inlining

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

Carter Kozak reassigned LOG4J2-2634:
------------------------------------

    Assignee: Carter Kozak

> AsyncLogger method bytecode should be reduced to 35 bytes for fast inlining
> ---------------------------------------------------------------------------
>
>                 Key: LOG4J2-2634
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2634
>             Project: Log4j 2
>          Issue Type: Improvement
>            Reporter: Carter Kozak
>            Assignee: Carter Kozak
>            Priority: Minor
>
> Large methods:
> AsyncLogger.logMessage conditional behavior produces a large method, this can be broken into an abstraction which two implementations.
>  
> AsyncLogger.actualAsyncLog can be inlined in cases where Properties are not set
> RingBufferLogEventHandler.onEvent callback notification makes sense in a separate method so that both are below 35b



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)