felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-4544) Simplify locking in URLHandlers
Date Wed, 25 Jun 2014 12:32:24 GMT
David Bosschaert created FELIX-4544:

             Summary: Simplify locking in URLHandlers
                 Key: FELIX-4544
                 URL: https://issues.apache.org/jira/browse/FELIX-4544
             Project: Felix
          Issue Type: Task
          Components: Framework
    Affects Versions: framework-4.4.0
            Reporter: David Bosschaert
            Priority: Minor

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.

This message was sent by Atlassian JIRA

View raw message