| FUseSystemMallocForNew | ||||
| FExec
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/MallocBinned2.h |
Include |
#include "HAL/MallocBinned2.h" |
class FMallocBinned2 : public FMalloc
Optimized virtual memory allocator.
Name | Description | |
---|---|---|
|
FMallocBinned2() |
Name | Description | |
---|---|---|
|
~FMallocBinned2() |
Name | Description | ||
---|---|---|---|
|
BoundSizeToPoolIndex ( |
||
|
FlushCurrentThreadCache() |
||
|
FreeExternal ( |
||
|
FreeInline ( |
||
|
GetAllocationSizeExternal |
||
|
GetTotalAllocatedSmallPoolMemory() |
||
|
void * |
MallocExternalLarge |
|
|
void * |
MallocExternalSmall |
|
|
void * |
MallocInline |
|
|
void * |
MallocSelect |
|
|
PoolIndexToBlockSize ( |
||
|
void * |
ReallocExternal |
|
|
void * |
ReallocInline |
|
|
UseSmallAlloc |
Name | Description | ||
---|---|---|---|
|
ClearAndDisableTLSCachesOnCurrentThread() |
Clears the TLS caches on the current thread and disables any future caching. |
|
|
DumpAllocatorStats ( |
Dumps current allocator stats to the log. |
|
|
Free ( |
Free |
|
|
GetAllocationSize |
If possible determine the size of the memory allocated at the given address |
|
|
GetAllocatorStats ( |
Writes allocator stats from the last update into the specified destination. |
|
|
const TCHAR ... |
GetDescriptiveName() |
Gets descriptive name for logging purposes. |
|
IsInternallyThreadSafe() |
Returns if the allocator is guaranteed to be thread-safe and therefore doesn't need a unnecessary thread-safety wrapper around it. |
|
|
void * |
Malloc |
Malloc |
|
QuantizeSize |
For some allocators this will return the actual size that should be requested to eliminate internal fragmentation. |
|
|
void * |
Realloc |
Realloc |
|
SetupTLSCachesOnCurrentThread() |
Set up TLS caches on the current thread. These are the threads that we can trim. |
|
|
Trim ( |
Releases as much memory as possible. Must be called from the main thread. |
|
|
UpdateStats() |
Called once per frame, gathers and sets all memory allocator statistics into the corresponding stats. |
|
|
ValidateHeap() |
Validates the allocator's heap |
Name |
Description |
|
---|---|---|
|
FPoolInfo |
|
|
PoolHashBucket |
Hash table struct for retrieving allocation book keeping information |
|
Private |
Name |
Description |
---|---|
Binned2TlsSlot |
|
MallocBinned2 |
|
MemSizeToIndex |
Mapping of sizes to small table indices. |
OsAllocationGranularity |
|
PageSize |
|
SmallBlockSizesReversed |