You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2011/10/11 01:28:48 UTC
svn commit: r1181295 -
/trafficserver/traffic/trunk/iocore/eventsystem/I_ProxyAllocator.h
Author: zwoop
Date: Mon Oct 10 23:28:47 2011
New Revision: 1181295
URL: http://svn.apache.org/viewvc?rev=1181295&view=rev
Log:
TS-567 Make proxy allocator be normal class allocator when no freelist
Modified:
trafficserver/traffic/trunk/iocore/eventsystem/I_ProxyAllocator.h
Modified: trafficserver/traffic/trunk/iocore/eventsystem/I_ProxyAllocator.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/eventsystem/I_ProxyAllocator.h?rev=1181295&r1=1181294&r2=1181295&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/eventsystem/I_ProxyAllocator.h (original)
+++ trafficserver/traffic/trunk/iocore/eventsystem/I_ProxyAllocator.h Mon Oct 10 23:28:47 2011
@@ -81,7 +81,7 @@ thread_freeup(ClassAllocator<C> &a, Prox
ink_assert(!l.allocated);
}
-#if !defined (PURIFY) && !defined(_IOCORE_WIN32)
+#if !defined (PURIFY) && !defined(_IOCORE_WIN32) && defined(TS_USE_FREELIST)
#define THREAD_ALLOC(_a, _t) thread_alloc(::_a, _t->_a)
#define THREAD_ALLOC_INIT(_a, _t) thread_alloc_init(::_a, _t->_a)
#define THREAD_FREE_TO(_p, _a, _t, _m) do { \