])
dnl Disable "memPools" code
-AC_ARG_ENABLE(mempools,
- AS_HELP_STRING([--disable-mempools],
- [Disable memPools. Note that this option now simply sets the
- default behaviour. Specific classes can override this
+AC_ARG_ENABLE(chunkedmempools,
+ AS_HELP_STRING([--enable-chunkedmempools],
+ [Enable experimental chunked memPools. Note that this option
+ simply sets the default behaviour. Specific classes can override this
at runtime, and only lib/MemPool.c needs to be altered
to change the squid-wide default for all classes.]), [
SQUID_YESNO([$enableval],
- [--disable-mempools option takes no arguments])
+ [--enable-chunkedmempools option takes no arguments])
])
-# notice: the definition's value meaning is INVERTED
-SQUID_DEFINE_BOOL(USE_MEMPOOLS,${enable_mempools:=no},
- [Enable internal Memory Pools support (experimental)])
-AC_MSG_NOTICE([MemPools enabled: $enable_mempools])
+SQUID_DEFINE_BOOL(USE_CHUNKEDMEMPOOLS,${enable_chunkedmempools:=no},
+ [Enable chunked Memory Pools support (experimental)])
+AC_MSG_NOTICE([Chunked MemPools enabled: $enable_chunkedmempools])
dnl Enable WIN32 Service compile mode
AC_ARG_ENABLE(win32-service,
* MemPools::GetInstance().setDefaultPoolChunking() can be called.
*/
MemPools::MemPools() : pools(NULL), mem_idle_limit(2 * MB),
- poolCount (0), defaultIsChunked (USE_MEMPOOLS && !RUNNING_ON_VALGRIND)
+ poolCount (0), defaultIsChunked (USE_CHUNKEDMEMPOOLS && !RUNNING_ON_VALGRIND)
{
char *cfg = getenv("MEMPOOLS");
if (cfg)