UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPageAllocator Class Reference

#include <MemStack.h>

Public Types

enum  { PageSize = 64 * 1024 , SmallPageSize = 1024-16 }
 
typedef TLockFreeFixedSizeAllocator< PageSize, PLATFORM_CACHE_LINE_SIZE, FThreadSafeCounterTPageAllocator
 

Public Member Functions

CORE_API ~FPageAllocator ()
 
CORE_API voidAlloc (int32 Alignment=MIN_ALIGNMENT)
 
CORE_API void Free (void *Mem)
 
CORE_API voidAllocSmall ()
 
CORE_API void FreeSmall (void *Mem)
 
CORE_API uint64 BytesUsed ()
 
CORE_API uint64 BytesFree ()
 
CORE_API void LatchProtectedMode ()
 

Static Public Member Functions

static CORE_API FPageAllocatorGet ()
 

Member Typedef Documentation

◆ TPageAllocator

Member Enumeration Documentation

◆ anonymous enum

Enumerator
PageSize 
SmallPageSize 

Constructor & Destructor Documentation

◆ ~FPageAllocator()

FPageAllocator::~FPageAllocator ( )

Member Function Documentation

◆ Alloc()

void * FPageAllocator::Alloc ( int32  Alignment = MIN_ALIGNMENT)

◆ AllocSmall()

void * FPageAllocator::AllocSmall ( )

◆ BytesFree()

uint64 FPageAllocator::BytesFree ( )

◆ BytesUsed()

uint64 FPageAllocator::BytesUsed ( )

◆ Free()

void FPageAllocator::Free ( void Mem)

◆ FreeSmall()

void FPageAllocator::FreeSmall ( void Mem)

◆ Get()

FPageAllocator & FPageAllocator::Get ( )
static

◆ LatchProtectedMode()

void FPageAllocator::LatchProtectedMode ( )

The documentation for this class was generated from the following files: