commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject Re: [POOL] 1.5 release prep
Date Wed, 20 May 2009 21:47:41 GMT
On 20/05/2009, Mark Thomas <> wrote:
> I believe I have addressed all the currently known issues standing
>  between the pool code and a 1.5 release.
>  I know Phil is doing / will be doing various performance tests. If
>  anyone else has any issues now would be a good time to mention it.

Just spotted:


could be made private & final.
This will make the class immutable and thread-safe.

If GKOP.ObjectQueue is shared between threads, then activeCount needs
to be synchronized. Just changing the increment/decrement methods to
include the field in the synch. block should work, as the read access
is in GenericKeyedObjectPool.getNumActive() which synch.s on the same

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

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

View raw message