HL::SelectMmapHeap< ThresholdBytes, SmallHeap, super > Class Template Reference
Use Mmap (here the superheap) for objects above a certain size.
More...
#include <dlheap.h>
List of all members.
Public Member Functions |
void * | malloc (const size_t sz) |
void | free (void *ptr) |
int | remove (void *ptr) |
void | clear (void) |
Private Attributes |
SmallHeap | sm |
Detailed Description
template<int ThresholdBytes, class SmallHeap, class super>
class HL::SelectMmapHeap< ThresholdBytes, SmallHeap, super >
Use Mmap (here the superheap) for objects above a certain size.
- Author:
- Emery Berger
- Parameters:
-
| ThresholdBytes | The maximum number of bytes managed by SmallHeap. |
| SmallHeap | The heap for "small" objects. |
| super | The heap for "large" objects. |
Member Function Documentation
template<int ThresholdBytes, class SmallHeap, class super>
template<int ThresholdBytes, class SmallHeap, class super>
template<int ThresholdBytes, class SmallHeap, class super>
template<int ThresholdBytes, class SmallHeap, class super>
Member Data Documentation
template<int ThresholdBytes, class SmallHeap, class super>
The documentation for this class was generated from the following file: