[
https://issues.jboss.org/browse/LOGMGR-140?page=com.atlassian.jira.plugin...
]
David Lloyd commented on LOGMGR-140:
------------------------------------
It has been discovered that method handles are much more expensive memory-wise than
reflection. It could still be OK to use for one-offs but this should be kept in mind for
later.
Change reflection to use MethodHandle's
---------------------------------------
Key: LOGMGR-140
URL:
https://issues.jboss.org/browse/LOGMGR-140
Project: JBoss Log Manager
Issue Type: Enhancement
Reporter: James Perkins
Assignee: James Perkins
Priority: Minor
Use of reflection should be reduced or completely removed in favor of using
{{MethodHandle}}'s.
Currently reflection is used in:
* {{org.jboss.logmanager.config.AbstractPropertyConfiguration}}
* {{org.jboss.logmanager.AtomicArray}}
* {{org.jboss.logmanager.LogManager}}
It's possible {{org.jboss.logmanager.LogManager}} may be tricky since it uses hacks
to add levels.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)