You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2017/02/24 12:25:44 UTC

[jira] [Closed] (FELIX-4544) Simplify locking in URLHandlers

     [ 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)