felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xander Uiterlinden (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4014) handleAspectAwareRemoved in ServiceDependencyImpl can cause a possible deadlock
Date Mon, 03 Jun 2013 11:58:20 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xander Uiterlinden resolved FELIX-4014.
---------------------------------------

    Resolution: Fixed

fixed by moving the callback outside of the synchronized block.
                
> handleAspectAwareRemoved in ServiceDependencyImpl can cause a possible deadlock
> -------------------------------------------------------------------------------
>
>                 Key: FELIX-4014
>                 URL: https://issues.apache.org/jira/browse/FELIX-4014
>             Project: Felix
>          Issue Type: Bug
>          Components: Dependency Manager
>            Reporter: Xander Uiterlinden
>            Assignee: Xander Uiterlinden
>
> the handleAspectAwareRemoved invokes a callback method within a synchronization block.
Since we don't know what will be going there this can cause (and in our case does cause) concurrency
issues.
> The fix would be to move the invoke out of the sync block.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message