commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (POOL-139) StackKeyedObjectPool.getNumActive() needs to be synchronized
Date Wed, 20 May 2009 23:54:45 GMT
StackKeyedObjectPool.getNumActive() needs to be synchronized
------------------------------------------------------------

                 Key: POOL-139
                 URL: https://issues.apache.org/jira/browse/POOL-139
             Project: Commons Pool
          Issue Type: Bug
    Affects Versions: 1.4
            Reporter: Sebb


StackKeyedObjectPool.getNumActive() needs to be synchronized.

All the writes to _totActive are synch., the reads need to be also.

Note that the corresponding method in StackObjectPool is already synch.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message