engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FGCArrayPool类 参考

Pool for reducing GC allocations 更多...

#include <FastReferenceCollector.h>

Public 成员函数

void Cleanup ()
 Performs manual memory cleanup. 更多...
 
void ClearWeakReferences (bool bClearPools)
 Clears weak references for everything in the pool. 更多...
 
FORCEINLINE FGCArrayStruct * GetArrayStructFromPool ()
 Gets an event from the pool or creates one if necessary. 更多...
 
FORCEINLINE void ReturnToPool (FGCArrayStruct *ArrayStruct)
 Returns an array to the pool. 更多...
 

静态 Public 成员函数

static void DumpStats (FOutputDevice &OutputDevice)
 Writes out info about the makeup of the pool. 更多...
 
static FORCEINLINE FGCArrayPool & Get ()
 Gets the singleton instance of the FObjectArrayPool 更多...
 

详细描述

Pool for reducing GC allocations

成员函数说明

◆ Cleanup()

void FGCArrayPool::Cleanup ( )
inline

Performs manual memory cleanup.

Generally the pools will be cleaned up when ClearWeakReferences is called on a full GC purge

◆ ClearWeakReferences()

void FGCArrayPool::ClearWeakReferences ( bool  bClearPools)
inline

Clears weak references for everything in the pool.

If bClearPools is true it will clear all of the pools as well, which is used during a full purge

◆ DumpStats()

static void FGCArrayPool::DumpStats ( FOutputDevice &  OutputDevice)
inlinestatic

Writes out info about the makeup of the pool.

called by 'gc.DumpPoolStats'

参数
ArrayThe array to return.
参见
GetArrayFromPool

◆ Get()

static FORCEINLINE FGCArrayPool & FGCArrayPool::Get ( )
inlinestatic

Gets the singleton instance of the FObjectArrayPool

返回
Pool singleton.

◆ GetArrayStructFromPool()

FORCEINLINE FGCArrayStruct * FGCArrayPool::GetArrayStructFromPool ( )
inline

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

返回
The array.
参见
ReturnToPool

◆ ReturnToPool()

FORCEINLINE void FGCArrayPool::ReturnToPool ( FGCArrayStruct *  ArrayStruct)
inline

Returns an array to the pool.

参数
ArrayThe array to return.
参见
GetArrayFromPool

该类的文档由以下文件生成: