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 19:26:48 GMT
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.

Mark



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


Mime
View raw message