Skip to content

Optimize DefaultCamelContext#getComponent CAMEL-10269#1152

Closed
ssharma wants to merge 1 commit intoapache:masterfrom
ssharma:CAMEL-10269-JDK8
Closed

Optimize DefaultCamelContext#getComponent CAMEL-10269#1152
ssharma wants to merge 1 commit intoapache:masterfrom
ssharma:CAMEL-10269-JDK8

Conversation

@ssharma
Copy link

@ssharma ssharma commented Sep 2, 2016

Further to the conversation in #1139, used CHM::computeIfAbsent to avoid global locks and optimize initialization of components. Had to refactor other methods to ensure they reap benefits of CHM.

@ssharma ssharma changed the title using CHM::computeIfAbsent. Refactored code to make use of CHM and av… Optimize DefaultCamelContext#getComponent CAMEL-10269 Sep 2, 2016
@ssharma
Copy link
Author

ssharma commented Sep 2, 2016

@oscerd @davsclaus @lburgazzoli : Moved old PR here

@davsclaus
Copy link
Contributor

This looks better. @lburgazzoli any thoughts?

@oscerd
Copy link
Contributor

oscerd commented Sep 4, 2016

Looks good to me

@lburgazzoli
Copy link
Contributor

LGTM

@asfgit asfgit closed this in 3ee311a Sep 5, 2016
@ssharma ssharma deleted the CAMEL-10269-JDK8 branch February 8, 2017 19:26
zregvart pushed a commit to zregvart/camel that referenced this pull request Jan 13, 2021
ENT12128: BACKPORT olingo2 & olingo4 features n fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants