Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1771

Avoid lock contention in Tracker.getServices()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.1, 1.1.0
    • core
    • None

    Description

      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.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: