[jboss-cvs] JBossAS SVN: r93282 - branches/JBPAPP_5_0/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:20:47 EDT 2009


Author: jesper.pedersen
Date: 2009-09-08 12:20:47 -0400 (Tue, 08 Sep 2009)
New Revision: 93282

Modified:
   branches/JBPAPP_5_0/connector/src/main/org/jboss/resource/connectionmanager/InternalManagedConnectionPool.java
Log:
[JBPAPP-2763] Apply FIFO semantics to InternalManagedConnectionPool

Modified: branches/JBPAPP_5_0/connector/src/main/org/jboss/resource/connectionmanager/InternalManagedConnectionPool.java
===================================================================
--- branches/JBPAPP_5_0/connector/src/main/org/jboss/resource/connectionmanager/InternalManagedConnectionPool.java	2009-09-08 16:12:16 UTC (rev 93281)
+++ branches/JBPAPP_5_0/connector/src/main/org/jboss/resource/connectionmanager/InternalManagedConnectionPool.java	2009-09-08 16:20:47 UTC (rev 93282)
@@ -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