HL::LeaHeap< Sbrk, Mmap > Class Template Reference

This heap approximates the algorithms used by DLmalloc 2.7.0. More...

#include <dlheap.h>

Inheritance diagram for HL::LeaHeap< Sbrk, Mmap >:
HL::SelectMmapHeap< 128 *1024, Threshold< 4096, DLSmallHeapType< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, CoalesceableMmapHeap< Mmap > > HL::CoalesceableMmapHeap< Mmap > HL::RequireCoalesceable< Mmap > Mmap

List of all members.


Detailed Description

template<class Sbrk, class Mmap>
class HL::LeaHeap< Sbrk, Mmap >

This heap approximates the algorithms used by DLmalloc 2.7.0.

The whole thing. Big objects are allocated via mmap. Other objects are first allocated from the special thresholded quicklists, or if they're too big, they're allocated from the coalescing big heap.

Parameters:
Sbrk An sbrk-like heap, for small object allocation.
Mmap An mmap-like heap, for large object allocation.

The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:30 2011 for Galois by  doxygen 1.6.3