commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McGrady <>
Subject Re: Pooling impl that doesn't pool
Date Wed, 18 Feb 2004 23:37:44 GMT
I use a thread pool and I have yet to find a pool that does a better 
job.  I have had trouble with all pools except the one I have been using 
without trouble since 1999.

At 12:23 PM 2/18/2004, you wrote:
>Danny Angus wrote:
>>Is there such a trivial pool impl available, or does anybody have clever
>>suggestions for how to do this?
>>Dunno how clever this is, but I often use two hashes  (table or map) (often
>>of vectors) to maintain a keyed pool (or pools where there can be more than
>>one instance for each key).
>>What I do is move the object from the "available" hash to the "busy" hash
>>to provide locking.
>>I suspect that you might be able to use a similar strategy.
>Sorry, I've lost the context for this thread, but I use and like Jakarta's 
>pool impl that does this.
>Serge Knystautas
>Lokitech >> software . strategy . design >>
>p. 301.656.5501
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message