GitHub user ssharma opened a pull request:
https://github.com/apache/camel/pull/1139
Optimize DefaultCamelContext#getComponent CAMEL-10269
#CAMEL-10269
Add DCL idiom to lower lock semantics and used CHM. Didn't retrofit put to
use putIfAbsent as the change would have been instrusive
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ssharma/camel CAMEL-10269
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1139.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1139
----
commit 0a72d3fefb62368d701b51e02abe179ac0efa25d
Author: Siddharth Sharma <[email protected]>
Date: 2016-08-24T21:53:25Z
Optimize DefaultCamelContext#getComponent CAMEL-10269
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---