You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Mark Thomas <ma...@apache.org> on 2011/05/11 00:54:52 UTC

Re: svn commit: r1101670 - in /commons/proper/pool/trunk/src: java/org/apache/commons/pool2/impl/GenericObjectPool.java java/org/apache/commons/pool2/impl/PooledObject.java test/org/apache/commons/pool2/impl/TestGenericObjectPool.java

On 10/05/2011 23:52, markt@apache.org wrote:
> Author: markt
> Date: Tue May 10 22:52:23 2011
> New Revision: 1101670
> 
> URL: http://svn.apache.org/viewvc?rev=1101670&view=rev
> Log:
> Switch GOP fully to LinkedBlockingDeque and remove all syncs associated with borrow/return.
> The patch is *very* rough. This is a get it working with the unit tests passing first cut. There is a lot of cleaning up, reviewing etc still to do. It may be better to make decisions regarding API changes before doing too much cleanup.
> Object allocation is not fair. The LinkedBlockingDeque will need wrapping to implement that.

DBCP performance is still not close to Tomcat's jdbc-pool but the
bottlenecks have moved from POOL to DBCP. I'll take a look at the DBCP
bottlenecks next.

Mark



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