| FUseSystemMallocForNew | ||||
| FExec
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/MallocThreadSafeProxy.h |
Include |
#include "HAL/MallocThreadSafeProxy.h" |
class FMallocThreadSafeProxy : public FMalloc
FMalloc proxy that synchronizes access, making the used malloc thread safe.
Name | Description | |
---|---|---|
|
FMallocThreadSafeProxy ( |
Constructor for thread safe proxy malloc that takes a malloc to be used and a synchronization object used via FScopeLock as a parameter. |
Name | Description | ||
---|---|---|---|
|
DumpAllocatorStats ( |
Dumps allocator stats to an output device. |
|
|
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. |
|
InitializeStatsMetadata() |
Initializes stats metadata. |
|
|
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 |
|
void * |
Realloc |
Realloc |
|
Trim ( |
Releases as much memory as possible. Must be called from the main thread. |
|
|
ValidateHeap() |
Validates the allocator's heap |
Name | Description | ||
---|---|---|---|
|
Exec ( |
Handles any commands passed in on the command line |