logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sicker (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4J2-1764) Use MethodHandle in ContextDataFactory cached constructor
Date Wed, 04 Jan 2017 04:10:58 GMT
Matt Sicker created LOG4J2-1764:

             Summary: Use MethodHandle in ContextDataFactory cached constructor
                 Key: LOG4J2-1764
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1764
             Project: Log4j 2
          Issue Type: Improvement
          Components: Core
            Reporter: Matt Sicker
            Assignee: Matt Sicker
             Fix For: 2.8

The cached constructor for a custom {{StringMap}} in {{ContextDataFactory}} currently uses
the core reflection API. As this constructor is called a lot if it doesn't use the default
value, migration to the Java 7 MethodHandle API should improve performance on custom constructors.

This message was sent by Atlassian JIRA

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

View raw message