#include <GenericGrowableAllocator.h>
◆ FGrowableMallocChunk()
◆ ~FGrowableMallocChunk()
| virtual FGrowableMallocChunk::~FGrowableMallocChunk |
( |
| ) |
|
|
inlinevirtual |
◆ CanFitEntry()
Check free list for an entry big enough to fit the requested Size with Alignment
- Parameters
-
| Size | - allocation size |
| Alignment | - allocation alignment |
- Returns
- true if available entry was found
◆ CreateAllocationStruct()
Creates an implementation specific subclass of FGrowableAllocationBase. Does not need to be initialized (see InitializeAllocationStruct)
◆ CreateInternalMemory()
Lets the implementation allocate the backing memory for the chunk
Implementation needs to pause LLM tracking for ELLMTracker::Default if it's allocating from an allocator that tracks via ELLMTracker::Default
- Parameters
-
| Size | Minimum size needed for this allocation. The implementation will likely allocate more, and return that amount |
- Returns
- The actual size of the chunk that was allocated (could be much larger than Size)
◆ Destroy()
| void FGrowableMallocChunk::Destroy |
( |
| ) |
|
|
inline |
◆ DestroyAllocationStruct()
Destroys the implemtnation object. By default, just deletes it
◆ DestroyInternalMemory()
| virtual void FGrowableMallocChunk::DestroyInternalMemory |
( |
| ) |
|
|
pure virtual |
Destroys the backing memory for the chunk
Implementation needs to pause LLM tracking for ELLMTracker::Default if it's allocating from an allocator that tracks via ELLMTracker::Default
◆ DoesChunkContainAddress()
| virtual bool FGrowableMallocChunk::DoesChunkContainAddress |
( |
const void * |
Address | ) |
|
|
pure virtual |
Queries the implementation if the given address came from this chunk
◆ DoesChunkContainAllocation()
Queries the implementation if the given allocation came from this chunk
◆ Free()
◆ GetAddressForTracking()
◆ GetAllocationInfo()
◆ Initialize()
| void FGrowableMallocChunk::Initialize |
( |
| ) |
|
|
inline |
◆ InitializeAllocationStruct()
Lets the implementation fill in any specific fields of the allocation struct after the base fields are set up
◆ IsEmpty()
| bool FGrowableMallocChunk::IsEmpty |
( |
| ) |
|
|
inline |
- Returns
- true if this chunk has no used memory
◆ Malloc()
◆ ShowFullAllocationList()
| void FGrowableMallocChunk::ShowFullAllocationList |
( |
| ) |
|
|
inline |
◆ CriticalSection
◆ FreeList
| FFreeEntry* FGrowableMallocChunk::FreeList |
◆ HeapSize
| uint64 FGrowableMallocChunk::HeapSize |
◆ MaxFreeEntrySize
| uint32 FGrowableMallocChunk::MaxFreeEntrySize |
Size of the largest free entry (will be MaxFreeEntrySizeDirty if unknown)
◆ MaxFreeEntrySizeDirty
| const uint32 FGrowableMallocChunk::MaxFreeEntrySizeDirty = 0xffffffff |
|
static |
◆ MemoryType
| uint32 FGrowableMallocChunk::MemoryType |
◆ UsedMemorySize
| uint64 FGrowableMallocChunk::UsedMemorySize |
The documentation for this class was generated from the following file: