Issue Details (XML | Word | Printable)

Key: POOL-139
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Sebb
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Pool

StackKeyedObjectPool.getNumActive() needs to be synchronized

Created: 20/May/09 11:53 PM   Updated: 19/Jun/09 04:08 PM
Return to search
Component/s: None
Affects Version/s: 1.4
Fix Version/s: 1.5

Time Tracking:
Not Specified

Resolution Date: 26/May/09 08:46 PM


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mark Thomas added a comment - 26/May/09 08:46 PM
Thanks for the report.

Phil Steitz added a comment - 19/Jun/09 04:08 PM
Fixed in 1.5 release.