MemoryHeap::HeapDesc::HeapDesc

MemoryHeap::HeapDesc::HeapDesc
HeapDesc(unsigned flags = 0, UPInt minAlign = 16, UPInt granularity = 8*1024, UPInt reserve = 8*1024, UPInt threshold = ~UPInt(0), UPInt limit = 0, UPInt heapId = 0, UPInt arena = 0);
Description

Heap descriptor constructor for initializing a heap object.

Parameters
Parameters 
Description 
unsigned flags = 0 
Flags set for the heap. 
UPInt minAlign = 16 
Minimum alignment for the heap. 
UPInt granularity = 8*1024 
Block of memory that will be grabbed from the heap. 
UPInt reserve = 8*1024 
Pre-allocated reserve of memory. 
UPInt threshold = ~UPInt(0) 
Maximum allocation size for the heap, after which allocation is redirected to SysAllocPaged
UPInt limit = 0 
Amount of memory that can be used by the heap. 
UPInt heapId = 0 
An id for the heap if the heap is associated with additional information. 
UPInt arena = 0 
Id of the memory arena used for the heap.