commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37234] New: - [pool] synchronization issues in GenericKeyedObjectPool
Date Mon, 24 Oct 2005 20:34:59 GMT
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


Mime
View raw message