UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMallocCrashPool Struct Reference

Public Member Functions

 FMallocCrashPool (const FPoolDesc &PoolDesc, FGenericPlatformMallocCrash &Outer)
 
uint8AllocateFromPool (uint32 InAllocationSize)
 
void TryFreeFromPool (uint8 *Ptr)
 
uint64 GetAllocationSize (uint8 *Ptr) const
 

Static Public Member Functions

static FORCEINLINE FMallocCrashPoolGetPool (int32 Index)
 
static FORCEINLINE TConstArrayView< FMallocCrashPoolGetPools ()
 

Public Attributes

uint32 NumUsed
 
uint32 MaxUsedIndex
 
uint32 MaxNumUsed
 
uint32 TotalNumUsed
 
const uint32 AllocationSize
 
TArrayView< FPtrInfoAllocations
 
uint8AllocBase
 
const uint32 MaxNumAllocations
 
uint32 AllocatedMemory
 

Constructor & Destructor Documentation

◆ FMallocCrashPool()

FMallocCrashPool::FMallocCrashPool ( const FPoolDesc PoolDesc,
FGenericPlatformMallocCrash Outer 
)
inline

Member Function Documentation

◆ AllocateFromPool()

uint8 * FMallocCrashPool::AllocateFromPool ( uint32  InAllocationSize)
inline

◆ GetAllocationSize()

uint64 FMallocCrashPool::GetAllocationSize ( uint8 Ptr) const
inline

◆ GetPool()

static FORCEINLINE FMallocCrashPool & FMallocCrashPool::GetPool ( int32  Index)
inlinestatic

◆ GetPools()

static FORCEINLINE TConstArrayView< FMallocCrashPool > FMallocCrashPool::GetPools ( )
inlinestatic

◆ TryFreeFromPool()

void FMallocCrashPool::TryFreeFromPool ( uint8 Ptr)
inline

Tries to free a pointer.

Member Data Documentation

◆ AllocatedMemory

uint32 FMallocCrashPool::AllocatedMemory

Memory allocated in the pool and memory used by a fixed array.

◆ Allocations

TArrayView<FPtrInfo> FMallocCrashPool::Allocations

Fixed list of allocations for the specified size for this pool.

◆ AllocationSize

const uint32 FMallocCrashPool::AllocationSize

Allocation size for this pool.

◆ AllocBase

uint8* FMallocCrashPool::AllocBase

◆ MaxNumAllocations

const uint32 FMallocCrashPool::MaxNumAllocations

Maximum number of allocations that can be made for this pool.

◆ MaxNumUsed

uint32 FMallocCrashPool::MaxNumUsed

◆ MaxUsedIndex

uint32 FMallocCrashPool::MaxUsedIndex

◆ NumUsed

uint32 FMallocCrashPool::NumUsed

◆ TotalNumUsed

uint32 FMallocCrashPool::TotalNumUsed

The documentation for this struct was generated from the following file: