Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4544

Simplify locking in URLHandlers

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • framework-4.4.0
    • None
    • Framework
    • None

    Description

      The URLHandlers class has a lot of complicated synchronization which makes it hard to predict its behaviour wrt to deadlocks. Currently this class synchronizes on 5 objects: the URL.class object, the this object, m_classloaderToFrameworkLists, m_frameworks and m_builtIn.

      While it might be that all these locks are needed, it would be nice to investigate whether this class could be refactored to use less synchronization so that there are less chances of deadlocks.

      Attachments

        1. FELIX_4544.patch
          16 kB
          David Bosschaert

        Issue Links

          Activity

            People

              karlpauls Karl Pauls
              bosschaert David Bosschaert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: