commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: [pool] Exception in GKOP allocate()
Date Tue, 26 May 2009 20:34:50 GMT
Mark Thomas wrote:
> Phil Steitz wrote:
>> Note that clearOldest() (called in the middle of allocate()) itself
>> calls allocate().  That could explain it.
> 
> Good catch. That will be it :)
> 
> clearOldest() also needs to be moved outside of any syncs to prevent
> possible deadlocks.
> 
> I'm just setting up commons-performance to make sure I can reproduce the
> failures and then I'll take a stab at a fix.

Fixed. Unit tests and performance test pass without errors.

Mark



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


Mime
View raw message