![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MallocBinned.h>
Inheritance diagram for FMallocBinned:Classes | |
| struct | FFreeMem |
| struct | FPoolInfo |
| struct | PoolHashBucket |
| struct | Private |
Additional Inherited Members | |
Static Public Attributes inherited from FMalloc | |
| static CORE_API TAtomic< uint64 > | MaxSingleAlloc |
Protected Member Functions inherited from FExec | |
| virtual bool | Exec_Runtime (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
| virtual bool | Exec_Dev (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
| virtual bool | Exec_Editor (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
Shift to get the reference from the indirect tables
Shift required to get required hash table key.
Used to mask off the bits that have been used to lookup the indirect table
The following options are not valid for page sizes less than 64k. They are here to reduce waste
|
virtual |
|
overridevirtual |
Dumps allocator stats to an output device. Subclasses should override to add additional info
| Ar | [in] Output device |
Reimplemented from FMalloc.
If possible determine the size of the memory allocated at the given address
| Original | - Pointer to memory we are checking the size of |
| SizeOut | - If possible, this value is set to the size of the passed in pointer |
Reimplemented from FMalloc.
|
overridevirtual |
Writes allocator stats from the last update into the specified destination.
Reimplemented from FMalloc.
|
overridevirtual |
Gets descriptive name for logging purposes.
Reimplemented from FMalloc.
|
overridevirtual |
Initializes stats metadata. We need to do this as soon as possible, but cannot be done in the constructor due to the FName::StaticInit
Reimplemented from FMalloc.
|
overridevirtual |
Returns if the allocator is guaranteed to be thread-safe and therefore doesn't need a unnecessary thread-safety wrapper around it.
Reimplemented from FMalloc.
Malloc
Implements FMalloc.
For some allocators this will return the actual size that should be requested to eliminate internal fragmentation. The return value will always be >= Count. This can be used to grow and shrink containers to optimal sizes. This call is always fast and threadsafe with no locking.
Reimplemented from FMalloc.
Realloc
Implements FMalloc.
|
overridevirtual |
Called once per frame, gathers and sets all memory allocator statistics into the corresponding stats. MUST BE THREAD SAFE.
Reimplemented from FMalloc.
|
overridevirtual |
Validates the allocator's heap
Reimplemented from FMalloc.