virtual void OnFreeSegment(MemoryHeap* heap, UPInt freeingSize) = 0;
OnFreeSegment is called when the memory segment added to the heap is released. The method allows the application algorithm to decrease the memory limit when necessary.
|
Parameters |
Description |
|
MemoryHeap* heap |
Memory heap of which a segment is freed. |
|
UPInt freeingSize |
_nt_ |