[jboss-cvs] JBossAS SVN: r93280 - branches/Branch_5_x/connector/src/main/org/jboss/resource/connectionmanager.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 8 12:05:51 EDT 2009
Author: jesper.pedersen
Date: 2009-09-08 12:05:51 -0400 (Tue, 08 Sep 2009)
New Revision: 93280
Modified:
branches/Branch_5_x/connector/src/main/org/jboss/resource/connectionmanager/InternalManagedConnectionPool.java
Log:
[JBAS-7233] InternalManagedConnectionPool is missing FIFO semantics for returning connections
Modified: branches/Branch_5_x/connector/src/main/org/jboss/resource/connectionmanager/InternalManagedConnectionPool.java
===================================================================
--- branches/Branch_5_x/connector/src/main/org/jboss/resource/connectionmanager/InternalManagedConnectionPool.java 2009-09-08 15:28:31 UTC (rev 93279)
+++ branches/Branch_5_x/connector/src/main/org/jboss/resource/connectionmanager/InternalManagedConnectionPool.java 2009-09-08 16:05:51 UTC (rev 93280)
@@ -126,7 +126,7 @@
this.log = log;
this.trace = log.isTraceEnabled();
this.cls = new ArrayList(this.maxSize);
- this.permits = new Semaphore(this.maxSize);
+ this.permits = new Semaphore(this.maxSize, true);
if (poolParams.prefill)
{
More information about the jboss-cvs-commits
mailing list