Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL > API/Runtime/Core/HAL/FMallocBinned
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Private/HAL/MallocBinned.cpp |
| Include | #include "HAL/MallocBinned.cpp" |
Syntax
struct Private
Functions
| Type | Name | Description | |
|---|---|---|---|
| FFreeMem * | AllocateBlockFromPool
(
FMallocBinned& Allocator, |
||
| PoolHashBucket * | AllocateHashBucket
(
FMallocBinned& Allocator |
Allocates a hash bucket from the free list of hash buckets | |
| FPoolInfo * | AllocatePoolMemory
(
FMallocBinned& Allocator, |
||
| PoolHashBucket * | CreateHashBucket
(
FMallocBinned& Allocator |
Returns a newly created and initialized PoolHashBucket for use. | |
| PoolHashBucket * | CreateHashBuckets
(
const FMallocBinned& Allocator |
Initializes tables for HashBuckets if they haven't already been initialized. | |
| FPoolInfo * | CreateIndirect
(
FMallocBinned& Allocator |
Create a 64k page of FPoolInfo structures for tracking allocations | |
| FPoolInfo * | FindPoolInfo
(
FMallocBinned& Allocator, |
||
| FPoolInfo * | FindPoolInfoInternal
(
FMallocBinned& Allocator, |
||
| void | FlushPendingFrees
(
FMallocBinned& Allocator |
Clear and Process the list of frees to be deallocated. | |
| void | FreeInternal
(
FMallocBinned& Allocator, |
Releases memory back to the system. | |
| FPoolInfo * | GetPoolInfo
(
FMallocBinned& Allocator, |
Gets the FPoolInfo for a memory address. | |
| void | InitializeHashBucket
(
FMallocBinned& Allocator, |
Initializes bucket with valid parameters | |
| void * | OSAlloc
(
FMallocBinned& Allocator, |
||
| void | OSFree
(
FMallocBinned& Allocator, |
||
| void | OutOfMemory
(
uint64 Size, |
||
| void | PushFreeLockless
(
FMallocBinned& Allocator, |
||
| void * | SmallOSAlloc
(
FMallocBinned& Allocator, |
||
| void | SmallOSFree
(
FMallocBinned& Allocator, |
||
| void | TrackStats
(
FPoolTable* Table, |
||
| void | UpdateSlackStat
(
FMallocBinned& Allocator |
Enums
| Type | Name | Description | |
|---|---|---|---|
| API/Runtime/Core/HAL/FMallocBinned/Private_1 | Default alignment for binned allocator | ||
| API/Runtime/Core/HAL/FMallocBinned/Private_2 | |||
| API/Runtime/Core/HAL/FMallocBinned/Private_3 | |||
| API/Runtime/Core/HAL/FMallocBinned/Private_4 |
Constants
| Name | Description |
|---|---|
| bHasInitializedStatsMetadata |