felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-2370) Access to internal data structures for delayed and service factory components not thread safe
Date Sat, 29 May 2010 15:15:35 GMT

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

Felix Meschberger resolved FELIX-2370.
--------------------------------------

    Resolution: Fixed

For the delayed component manager replace set of using bundles by a simple counter and a simple
lock; The set of bundles is not used and thus just overhead. For the service factory manager,
synchronize access to the map. Additionally make two fields final in the AbstractComponentManager.

Implemented in Rev. 949401

> Access to internal data structures for delayed and service factory components not thread
safe
> ---------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2370
>                 URL: https://issues.apache.org/jira/browse/FELIX-2370
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.4.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  scr-1.4.2
>
>
> The DelayedComponentManager (supporting delayed components) and ServiceFactoryComponentManager
(supporting service factory components) internall keep track of using bundles in a Set or
Map. Access to this Set or Map is not synchronize which may cause data structure corruption
and operation failures.

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


Mime
View raw message