System::​GC
UnityObjectLink
System::​GC

class:/TYPE/System.GC//, can be loaded from an assetbundle using System::GC::createfromassetbundle(bundlename,prefabname) /

Parent

UnityObjectLink

Variables
system::​gc::​maxgeneration
static readonly System.Int32 system::gc::maxgeneration
Functions
system::​gc::​addmemorypressure
static System.Void AddMemoryPressure(
System.Int64 bytesAllocated
)

System.Int64 bytesAllocated-no documentation

Parameters

bytesAllocated -

Returns

System.Void

system::​gc::​cancelfullgcnotification
static System.Void CancelFullGCNotification()
Returns

System.Void

system::​gc::​collect
static System.Void Collect(
System.Int32 generation,
System.GCCollectionMode mode
)

System.Int32 generation-no documentation

Parameters
generation
System.Int32

no documentation mode -

Returns

System.Void

system::​gc::​collect
static System.Void Collect(
System.Int32 generation
)

System.Int32 generation-no documentation

Parameters

generation -

Returns

System.Void

system::​gc::​collect
static System.Void Collect()
Returns

System.Void

system::​gc::​collect
static System.Void Collect(
System.Int32 generation,
System.GCCollectionMode mode,
System.Boolean blocking,
System.Boolean compacting
)

System.Int32 generation-no documentation

Parameters
generation
System.Int32

no documentation

mode

no documentation

blocking
System.Boolean

no documentation compacting -

Returns

System.Void

system::​gc::​collect
static System.Void Collect(
System.Int32 generation,
System.GCCollectionMode mode,
System.Boolean blocking
)

System.Int32 generation-no documentation

Parameters
generation
System.Int32

no documentation

mode

no documentation blocking -

Returns

System.Void

system::​gc::​collectioncount
static System.Int32 CollectionCount(
System.Int32 generation
)

System.Int32 generation-no documentation

Parameters

generation -

Returns

System.Int32

system::​gc::​endnogcregion
static System.Void EndNoGCRegion()
Returns

System.Void

system::​gc::​getallocatedbytesforcurrentthread
static System.Int64 GetAllocatedBytesForCurrentThread()
Returns

System.Int64

system::​gc::​gettotalmemory
static System.Int64 GetTotalMemory(
System.Boolean forceFullCollection
)

System.Boolean forceFullCollection-no documentation

Parameters

forceFullCollection -

Returns

System.Int64

system::​gc::​keepalive
static System.Void KeepAlive(
System.Object obj
)

System.Object obj-no documentation

Parameters

obj -

Returns

System.Void

system::​gc::​registerforfullgcnotification
static System.Void RegisterForFullGCNotification(
System.Int32 maxGenerationThreshold,
System.Int32 largeObjectHeapThreshold
)

System.Int32 maxGenerationThreshold-no documentation

Parameters
maxGenerationThreshold
System.Int32

no documentation largeObjectHeapThreshold -

Returns

System.Void

system::​gc::​removememorypressure
static System.Void RemoveMemoryPressure(
System.Int64 bytesAllocated
)

System.Int64 bytesAllocated-no documentation

Parameters

bytesAllocated -

Returns

System.Void

system::​gc::​reregisterforfinalize
static System.Void ReRegisterForFinalize(
System.Object obj
)

System.Object obj-no documentation

Parameters

obj -

Returns

System.Void

system::​gc::​suppressfinalize
static System.Void SuppressFinalize(
System.Object obj
)

System.Object obj-no documentation

Parameters

obj -

Returns

System.Void

system::​gc::​trystartnogcregion
static System.Boolean TryStartNoGCRegion(
System.Int64 totalSize,
System.Boolean disallowFullBlockingGC
)

System.Int64 totalSize-no documentation

Parameters
totalSize
System.Int64

no documentation disallowFullBlockingGC -

Returns

System.Boolean

system::​gc::​trystartnogcregion
static System.Boolean TryStartNoGCRegion(
System.Int64 totalSize,
System.Int64 lohSize,
System.Boolean disallowFullBlockingGC
)

System.Int64 totalSize-no documentation

Parameters
totalSize
System.Int64

no documentation

lohSize
System.Int64

no documentation disallowFullBlockingGC -

Returns

System.Boolean

system::​gc::​trystartnogcregion
static System.Boolean TryStartNoGCRegion(
System.Int64 totalSize
)

System.Int64 totalSize-no documentation

Parameters

totalSize -

Returns

System.Boolean

system::​gc::​trystartnogcregion
static System.Boolean TryStartNoGCRegion(
System.Int64 totalSize,
System.Int64 lohSize
)

System.Int64 totalSize-no documentation

Parameters
totalSize
System.Int64

no documentation lohSize -

Returns

System.Boolean

system::​gc::​waitforfullgcapproach
static System.GCNotificationStatus WaitForFullGCApproach(
System.Int32 millisecondsTimeout
)

System.Int32 millisecondsTimeout-no documentation

Parameters

millisecondsTimeout -

Returns

System.GCNotificationStatus

system::​gc::​waitforfullgcapproach
static System.GCNotificationStatus WaitForFullGCApproach()
Returns

System.GCNotificationStatus

system::​gc::​waitforfullgccomplete
static System.GCNotificationStatus WaitForFullGCComplete(
System.Int32 millisecondsTimeout
)

System.Int32 millisecondsTimeout-no documentation

Parameters

millisecondsTimeout -

Returns

System.GCNotificationStatus

system::​gc::​waitforfullgccomplete
static System.GCNotificationStatus WaitForFullGCComplete()
Returns

System.GCNotificationStatus

system::​gc::​waitforpendingfinalizers
static System.Void WaitForPendingFinalizers()
Returns

System.Void