[MERGE] Split MemPool.cc into framework and allocators

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Sat, 29 May 2010 00:03:14 +0200

This change splits MemPool.cc into framework and specific allocators

MemPool.cc general framework
MemPoolChunked.cc chunked allocator
MemPoolMalloc.cc malloc allocator, no freelist (yet)

This may also fix some statistics bugs. There was some oddness there
with a bit of confusion between allocator local counters and MemMeter
counters..

Next step is adding back the simple freelist to MemPoolMalloc.cc making
it a fullblown pooled allocator, configurable by squid.conf.

Regards
Henrik

Received on Fri May 28 2010 - 22:03:20 MDT

This archive was generated by hypermail 2.2.0 : Sat May 29 2010 - 12:00:12 MDT