You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/10/24 22:34:59 UTC

DO NOT REPLY [Bug 37234] New: - [pool] synchronization issues in GenericKeyedObjectPool

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=37234>.
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=37234

           Summary: [pool] synchronization issues in GenericKeyedObjectPool
           Product: Commons
           Version: unspecified
          Platform: All
               URL: http://mail-archives.apache.org/mod_mbox/jakarta-
                    commons-
                    dev/200510.mbox/%3cPine.LNX.4.62.0510222122120.17991@moa
                    .Stanford.EDU%3e
        OS/Version: All
            Status: NEW
          Keywords: PatchAvailable
          Severity: major
          Priority: P1
         Component: Pool
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: Sandy@McArthur.org


This patch implements the a fix for the synchronization issues found by Mayur
Naik for GenericKeyedObjectPool.

This patch also removes synchronization on the getNumTests(), incrementActiveCount(Object), 
decrementActiveCount(Object), getActiveCount(Object), and calculateDefecit(Object) private methods 
because they are all only ever called from within a synchronized context.

-- 
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org