commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <>
Subject Re: [pool] Exception in GKOP allocate()
Date Tue, 26 May 2009 02:43:03 GMT
 -                    _allocationQueue.removeFirst();
+                    _allocationQueue.remove(latch);

both places in allocate() makes the problem go away.  I am not sure that 
is a good fix, but it eliminates the problem.  Must have something to do 
with the latch notifies.  I also don't fully follow how latches that get 
create permits and create new objects on first arrival to borrowObject 
get removed from the allocation queue.

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

View raw message