activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1446724 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp
Date Fri, 15 Feb 2013 18:47:56 GMT
Author: tabish
Date: Fri Feb 15 18:47:56 2013
New Revision: 1446724

URL: http://svn.apache.org/r1446724
Log:
Add more entries to the NodePool.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp?rev=1446724&r1=1446723&r2=1446724&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp
Fri Feb 15 18:47:56 2013
@@ -308,7 +308,7 @@ namespace {
                 head.nextFree = tail;
             }
 
-            if (size == 50) {
+            if (size == 1024) {
                 Node* toDelete = head.nextFree;
                 head.nextFree = toDelete->nextFree;
                 delete toDelete;



Mime
View raw message