You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/02/15 19:47:56 UTC
svn commit: r1446724 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp
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;