jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (JCR-618) Replace WeakIdentityCollection in StateChangeDispacher
Date Sun, 17 Dec 2006 23:34:22 GMT
     [ http://issues.apache.org/jira/browse/JCR-618?page=all ]

Jukka Zitting reopened JCR-618:

Reopening to edit issue metadata.

> Replace WeakIdentityCollection in StateChangeDispacher
> ------------------------------------------------------
>                 Key: JCR-618
>                 URL: http://issues.apache.org/jira/browse/JCR-618
>             Project: Jackrabbit
>          Issue Type: Improvement
>            Reporter: Tobias Bocanegra
>         Assigned To: Tobias Bocanegra
>             Fix For: 1.2
> As a leftover from event refactoring, the listeners in the StateChangeDispatcher are
> managed by a WeakIdentityCollection and for every notify event, it's synchronized and
> into an array. this is very expensive and unnecessary.
> since the addition and removal of listeners is now controlled, and listeners can't just
> it possible to use a normal collection.
> Suggest to replace the WeakIdentityCollection by a
> 'EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList' that allows read access (and
> without synchronization.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message