[ 
https://issues.apache.org/jira/browse/OAK-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029006#comment-14029006
 ] 

Chetan Mehrotra commented on OAK-1771:
--------------------------------------

Merged it to 1.0 with http://svn.apache.org/r1602114

> Avoid lock contention in Tracker.getServices()
> ----------------------------------------------
>
>                 Key: OAK-1771
>                 URL: https://issues.apache.org/jira/browse/OAK-1771
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>             Fix For: 1.0.1, 1.1
>
>
> The {{getServices()}} method of {{Tracker}} instances returned by the 
> {{OsgiWhiteboard}} is synchronized, which leads to lock contention and the 
> related performance hit for example when lots of queries are executed in 
> parallel, as each query execution looks up the available index provider 
> services. We should refactor the {{Tracker}} implementation to avoid 
> synchronization of the {{getServices()}} method.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to