Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Operating System: All
Platform: All
-
37428
Description
GenericObjectPool uses CursorableLinkedList (CLL) seemingly because the cursor/iterator from CLL allows
concurrent access from multiple threads. Because the evictor requires exclusive access to the object pool
the benefit of CLL is never realized. (Idle object eviction is the only place the cursor/iterator was used.)
This patch converts the CLL into a LinkedList removing the dependancy Collections.
This is a first step to removing any external dependancies for Pool. Currently the Collections jar is
currently 546K compared to Pool jar which is 41K. GenericKeyedObjectPool still uses CLL and I'll convert
that over in the near future. When I'm done with that COM-2493 will be obsolete.
Attachments
Issue Links
- depends upon
-
POOL-74 [pool] patch to use non-deprecated CursorableLinkedList from Collections
- Closed