DO NOT REPLY [Bug 42026] - Various concurrency issues

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42026>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42026


[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From [email protected]  2007-04-11 15:29 -------
Applied parts of the patch. Unfortunately patch for Collection class could not
be applied due to merge conflicts. Would you mind re-submitting the patch
against latest version of Collection class?

Also, in CollectionManager class, I noticed synchronized block against map's
values collection:

    public boolean close() throws DBException {
        java.util.Collection values = collections.values();
        synchronized (values) {

Everywhere else synchronization is done against collections map itself. Can you
explain why here synchronization is done on values?

Thanks
Vadim

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.