#include <MacMallocZone.h>
|
| | FMacMallocCrashHandler (uint64 const InitialSize) |
| |
| virtual | ~FMacMallocCrashHandler () |
| |
| void | Enable (FMacCrashContext *Context, uint32 CrashedThreadId) |
| |
| virtual void * | Malloc (SIZE_T Size, uint32 Alignment) override |
| |
| virtual void * | Realloc (void *Ptr, SIZE_T NewSize, uint32 Alignment) override |
| |
| virtual void | Free (void *Ptr) override |
| |
| virtual bool | GetAllocationSize (void *Original, SIZE_T &SizeOut) override |
| |
| virtual const TCHAR * | GetDescriptiveName () override |
| |
| | FMacMallocZone (uint64 const InitialSize) |
| |
| virtual | ~FMacMallocZone () |
| |
| virtual bool | IsInternallyThreadSafe () const override |
| |
| virtual bool | ValidateHeap () override |
| |
| virtual CORE_API void * | TryMalloc (SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| |
| virtual CORE_API void * | TryRealloc (void *Original, SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| |
| virtual CORE_API void * | MallocZeroed (SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| |
| virtual CORE_API void * | TryMallocZeroed (SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| |
| virtual SIZE_T | QuantizeSize (SIZE_T Count, uint32 Alignment) |
| |
| virtual void | Trim (bool bTrimThreadCaches) |
| |
| virtual void | SetupTLSCachesOnCurrentThread () |
| |
| virtual void | MarkTLSCachesAsUsedOnCurrentThread () |
| |
| virtual void | MarkTLSCachesAsUnusedOnCurrentThread () |
| |
| virtual void | ClearAndDisableTLSCachesOnCurrentThread () |
| |
| virtual CORE_API void | InitializeStatsMetadata () |
| |
| virtual CORE_API void | UpdateStats () |
| |
| virtual CORE_API void | GetAllocatorStats (FGenericMemoryStats &out_Stats) |
| |
| virtual void | DumpAllocatorStats (class FOutputDevice &Ar) |
| |
| virtual void | OnMallocInitialized () |
| |
| virtual void | OnPreFork () |
| |
| virtual void | OnPostFork () |
| |
| virtual uint64 | GetImmediatelyFreeableCachedMemorySize () const |
| |
| virtual uint64 | GetTotalFreeCachedMemorySize () const |
| |
| CORE_API void * | operator new (size_t Size) |
| |
| CORE_API void | operator delete (void *Ptr) |
| |
| void * | operator new[] (size_t Size) |
| |
| void | operator delete[] (void *Ptr) |
| |
| virtual CORE_API | ~FExec () |
| |
| virtual CORE_API bool | Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
| |
◆ FMacMallocCrashHandler()
| FMacMallocCrashHandler::FMacMallocCrashHandler |
( |
uint64 const |
InitialSize | ) |
|
◆ ~FMacMallocCrashHandler()
| FMacMallocCrashHandler::~FMacMallocCrashHandler |
( |
| ) |
|
|
virtual |
◆ Enable()
◆ Free()
| void FMacMallocCrashHandler::Free |
( |
void * |
Original | ) |
|
|
overridevirtual |
◆ GetAllocationSize()
| bool FMacMallocCrashHandler::GetAllocationSize |
( |
void * |
Original, |
|
|
SIZE_T & |
SizeOut |
|
) |
| |
|
overridevirtual |
If possible determine the size of the memory allocated at the given address
- Parameters
-
| 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 |
- Returns
- true if succeeded
Reimplemented from FMacMallocZone.
◆ GetDescriptiveName()
| const TCHAR * FMacMallocCrashHandler::GetDescriptiveName |
( |
| ) |
|
|
overridevirtual |
Gets descriptive name for logging purposes.
- Returns
- pointer to human-readable malloc name
Reimplemented from FMacMallocZone.
◆ Malloc()
◆ Realloc()
The documentation for this class was generated from the following files: