[ 
https://issues.apache.org/jira/browse/SLING-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647433#comment-14647433
 ] 

Marius Petria commented on SLING-4895:
--------------------------------------

[~cziegeler] I have to look more closely to your version as it introduces 
indeed more changes. As for your concerns with conflicting mappings maybe we 
can just fix that and implement hashCode and equals for mapping to be 
consistent with compareTo.

> Service registry should not be called from within synchronized block
> --------------------------------------------------------------------
>
>                 Key: SLING-4895
>                 URL: https://issues.apache.org/jira/browse/SLING-4895
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Service User Mapper 1.2.0
>            Reporter: Carsten Ziegeler
>             Fix For: Service User Mapper 1.2.2
>
>         Attachments: SLING-4895-alt.diff, SLING-4895.diff
>
>
> RIght now, if e.g. an amendment is added/removed/updated, all 
> registration/unregistration is done in a "large" synchronized block. This 
> should be avoided



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to