[ https://issues.apache.org/jira/browse/FELIX-4544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls closed FELIX-4544. ----------------------------- Resolution: Fixed Assignee: Karl Pauls > 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 > Assignee: Karl Pauls > Priority: Minor > Attachments: FELIX_4544.patch > > > 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 (v6.3.15#6346)