commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r781166 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
Date Wed, 03 Jun 2009 00:09:44 GMT
On 02/06/2009, Mark Thomas <markt@apache.org> wrote:
> markt@apache.org wrote:
>  > Author: markt
>  > Date: Tue Jun  2 21:01:34 2009
>  > New Revision: 781166
>  >
>  > URL: http://svn.apache.org/viewvc?rev=781166&view=rev
>  > Log:
>  > Anything that clears the pool is likely to mess up the eviction cursors. This fixes
the issue sebb reported with testEvictorVisiting() on the dev list.
>
>
> Hmm. The cursors really should handle this. May be a cursor bug?

The GKOP _poolMap and _poolList fields are not tied together, so it is
possible for them to get out of step. Maybe they should be wrapped up
in a separate class that ensures they are kept in step.

The GOP class only has one field for the pool, so it's easier to keep
track of it.

>  Mark
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message