blob: 1c9f6426c95a879b409107f8ddbf1c08ab5714b4 [file] [log] [blame]
Release notes for Commons-Pool 2.0
===================================
There were a lot changes since the 1.0.1 release on 12 Aug 2002.
* A lot of corner cases were fixed
* Performance improvement by optimizing pool synchronization,
the critical code paths were optimized by reducing pool synchronization
but we also added more synchronization where needed
* New minIdle feature: the minimum number of objects allowed in the pool
before the evictor thread (if active) spawns new objects.
(Note no objects are created when: numActive + numIdle >= maxActive)
* New maxTotal feature: a cap on the total number of instances controlled by a pool.
Only for GenericKeyedObjectPool where maxActive is a cap on the number of active
instances from the pool (per key).
* UML Class & sequence diagrams
* The following issues were resolved: (see Bugzilla for complete description)
12840 2002-10-31 Enh FIXE Factor out syncronized block Evictor code to method
12841 2002-10-30 Nor FIXE GenericObjectPool unused variable and unused synchronized block
13128 2002-10-30 Maj DUPL GenericKeyedObjectPool: _activeMap.get(key) increment is not balanced with decrements
13649 2002-10-29 Nor FIXE GenericObjectPool: Negative _maxActive doesn't allow growth
13705 2002-10-30 Nor FIXE Add invalidateObject() method to ObjectPool
14970 2002-11-30 Nor FIXE Passing null for Stack[Keyed]ObjectPool factory causes NullPointerException
14981 2003-04-24 Nor FIXE getNumActive() count is wrong when returnObject() is used to pre-populate StackObjectPool
14982 2003-03-05 Enh FIXE GenericObjectPool does not work with null factory.
14983 2003-03-14 Enh FIXE GenericObjectPool should allow for manual population of the pool
17931 2003-03-13 Min FIXE Patch to update the javadocs for StackObjectPool
17962 2003-03-13 Nor FIXE Misc javadoc updates and clean up for GenericKeyedObjectPool
17963 2003-03-13 Enh FIXE General cleanup in GenericObjectPool
17968 2003-03-13 Enh FIXE Allow zero idle objects in GenericObjectPool
17969 2003-03-13 Nor FIXE Additional javadocs for StackKeyedObjectPool
17990 2003-04-18 Maj FIXE Leaking DB connections - synch problem in GenericKeyedObject
18062 2003-04-18 Cri FIXE borrowObject/validation infinite loop and deadlock issue in
18617 2003-04-07 Min FIXE DelegatingPreparedStatement throws misleading exception
19192 2003-04-22 Enh FIXE over agressive synchronize causing performance problem
21838 2003-08-11 Enh FIXE Weird HTML makes the pool example doc hard to read
22597 2003-08-21 Enh FIXE minIdle Functionality
23060 2003-09-20 Cri FIXE Pool not available for download