- _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: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org