activation and deactivation may run concurrently
------------------------------------------------

                 Key: FELIX-357
                 URL: https://issues.apache.org/jira/browse/FELIX-357
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services
            Reporter: Felix Meschberger


In some situations like multiple static service references actively changing 
state the AbstractComponentManager.activateInternal and 
AbstractComponentManager.deactivateInternal may run concurrently due to the 
fixes introduced by FELIX-341 where the deactivateInternal method is now 
immediately called but the activateInternal method is still scheduled for 
asynchronous execution.

The current measures in these methods to selectively set the state do not seem 
to be adequate to prevent concurrent execution.

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

Reply via email to