Hoard::ManageOneSuperblock< SuperHeap > Class Template Reference
#include <manageonesuperblock.h>
List of all members.
Public Types |
| typedef SuperHeap::SuperblockType | SuperblockType |
Public Member Functions |
| void * | malloc (size_t sz) |
| | Get memory from the current superblock.
|
| void | free (void *ptr) |
| | Try to free the pointer to this superblock first.
|
| SuperblockType * | get (void) |
| | Get the current superblock and remove it.
|
| void | put (SuperblockType *s) |
| | Put the superblock into the cache.
|
Private Member Functions |
| void * | slowMallocPath (size_t sz) |
| | Obtain a superblock and return an object from it.
|
Private Attributes |
| SuperblockType * | _current |
| | The current superblock.
|
template<class SuperHeap>
class Hoard::ManageOneSuperblock< SuperHeap >
Member Typedef Documentation
template<class SuperHeap >
Member Function Documentation
template<class SuperHeap >
Try to free the pointer to this superblock first.
template<class SuperHeap >
Get the current superblock and remove it.
template<class SuperHeap >
Get memory from the current superblock.
template<class SuperHeap >
Put the superblock into the cache.
template<class SuperHeap >
Obtain a superblock and return an object from it.
Member Data Documentation
template<class SuperHeap >
The documentation for this class was generated from the following file: