[MERGE] Split MemPool.cc into framework and allocators

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

Version 3. Adds pooling by use of a free list to the simple malloc based
pool type.

This change splits MemPool.cc into framework and specific allocators

MemPool.cc general framework
MemPoolChunked.cc chunked allocator
MemPoolMalloc.cc malloc based allocator with freelist

This also fixes some statistics bugs. There was some bad oddness there
with a bit of confusion between allocator local counters and MemMeter
counters, plus total confusion between allocation and saved allocation.

Regards
Henrik

Received on Sat May 29 2010 - 01:10:36 MDT

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