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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]