[
https://issues.apache.org/jira/browse/BEANUTILS-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649653#comment-13649653
]
Benedikt Ritter commented on BEANUTILS-439:
-------------------------------------------
{quote}
I mean that the logger should be cached in the instance. Perhaps a volatile
field.
{quote}
Currently we don't have such an instance in MethodUtils. This leaves us with
three options:
# investigate further the problems related with static fields
# create an instance delegate for MethodUtils
# remove logging from MethodUtils (How does this affect clients who have
configured logging for MethodUtils?)
> Save Logger in static filed in MethodUtils instead of requesting it on every
> method invocation
> ----------------------------------------------------------------------------------------------
>
> Key: BEANUTILS-439
> URL: https://issues.apache.org/jira/browse/BEANUTILS-439
> Project: Commons BeanUtils
> Issue Type: Improvement
> Components: Bean / Property Utils
> Affects Versions: 1.8.3
> Reporter: Benedikt Ritter
> Assignee: Benedikt Ritter
> Labels: logging, performance
> Fix For: 1.8.4
>
>
> It was proposed on the ML to create a static field reference to the Logger in
> MethodUtils, because requesting it on every method invocation leads to bad
> performance (see http://markmail.org/message/ysurofedfoikdguu).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira