You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/10/29 13:31:59 UTC

[jira] Commented: (FELIX-1658) Deadlocks caused by component activation and deactivation

    [ https://issues.apache.org/jira/browse/FELIX-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771406#action_12771406 ] 

Felix Meschberger commented on FELIX-1658:
------------------------------------------

In Rev. 830913 converted the dynamic import of the LogService package into a static but optional import. This shold prevent another potential deadlock which may be caused by the dynamic import package resolution code requiring the global lock in the Felix Framework.

> Deadlocks caused by component activation and deactivation
> ---------------------------------------------------------
>
>                 Key: FELIX-1658
>                 URL: https://issues.apache.org/jira/browse/FELIX-1658
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.2.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.2.0
>
>
> Deadlock issues with SCR: Component operations are synchronized and may run while the bundle lock is held. This may cause deadlocks with the framework (mostly between the PackageAdmin thread and the SCR Component Actor thread).
> The problem is that many operations of SCR are called in a bundle listener and cause further operations (while holding Java locks (synchronized)) inside the framework.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.