FGCArrayPool

Pool for reducing GC allocations

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/FastReferenceCollector.h

Include

#include "UObject/FastReferenceCollector.h"

Syntax

class FGCArrayPool

Remarks

Pool for reducing GC allocations

Functions

Name Description

Public function

void

 

Cleanup()

Performs manual memory cleanup.

Public function

void

 

ClearWeakReferences

(
    bool bClearPools
)

Clears weak references for everything in the pool.

Public function Static

void

 

DumpStats

(
    FOutputDevice& OutputDevice
)

Writes out info about the makeup of the pool. called by 'gc.DumpPoolStats'

Public function Static

FGCArrayPool...

 

Get()

Gets the singleton instance of the FObjectArrayPool

Public function

FGCArrayStru...

 

GetArrayStructFromPool()

Gets an event from the pool or creates one if necessary.

Public function

void

 

ReturnToPool

(
    FGCArrayStruct* ArrayStruct
)

Returns an array to the pool.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss