cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Closed] (DOSGI-169) RemoteServiceAdminCore missing synchronized block + deadlock
Date Fri, 24 May 2013 14:34:51 GMT


Christian Schneider closed DOSGI-169.

> RemoteServiceAdminCore missing synchronized block + deadlock
> ------------------------------------------------------------
>                 Key: DOSGI-169
>                 URL:
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: DSW
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Amichai Rothman
>            Assignee: Christian Schneider
>         Attachments: fix_exportedservices_sync_2.diff, fix_exportedservices_sync.diff
> In RemoteServiceAdminCore.removeExportRegistrations() the exportedServices map is used
in a HashMap copy constructor without being synchronized (this is easily visually mistaken
for a single atomic operation, but is actually an iteration on the map - an in any case, should
be synchronized for proper visibility). The copy constructor call should be placed in a syncrhonized
block with exportedServices as the monitor, just like all other accesses to this map.

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:

View raw message