Hi, I implemented an ObjectPool based on the SoftReferenceObjectPool in commons pool. My implementation takes a java.util.queue and has no internal synchronization, leaving that up to the queue implementation. This is useful, for instance, in concurrent applications that share the pool among threads, as locking can be costly and cause contention.
The code is available under the same license as the rest of the project for anybody who wants it. Greetings, -- Javier Kohen <[EMAIL PROTECTED]> ICQ: blashyrkh #2361802 Jabber: [EMAIL PROTECTED]
signature.asc
Description: Esta parte del mensaje está firmada digitalmente