You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/06/12 12:31:02 UTC

[jira] [Updated] (OAK-1771) Avoid lock contention in Tracker.getServices()

     [ https://issues.apache.org/jira/browse/OAK-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra updated OAK-1771:
---------------------------------

    Fix Version/s: 1.0.1

> 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)