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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2014/04/28 17:46:15 UTC

[jira] [Resolved] (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 ]

Jukka Zitting resolved OAK-1771.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1
         Assignee: Jukka Zitting

As of revision 1590684 the {{getServices()}} method is no longer synchronized. Resolving fixed (for 1.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.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)