C# 클래스 System.GC

파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
Collect ( ) : void
Collect ( int generation ) : void
GetGeneration ( WeakReference wo ) : int
GetTotalMemory ( bool forceFullCollection ) : long
ReRegisterForFinalize ( Object obj ) : void

비공개 메소드들

메소드 설명
AddMemoryPressure ( long bytesAllocated ) : void
CollectionCount ( int generation ) : int
FireCacheEvent ( ) : void
GetGeneration ( Object obj ) : int
GetGenerationWR ( IntPtr handle ) : int
KeepAlive ( Object obj ) : void
RemoveMemoryPressure ( long bytesAllocated ) : void
SetCleanupCache ( ) : void
SuppressFinalize ( Object obj ) : void
WaitForPendingFinalizers ( ) : void
nativeAddMemoryPressure ( System.UInt64 bytesAllocated ) : void
nativeCollectGeneration ( int generation ) : void
nativeCollectionCount ( int generation ) : int
nativeGetMaxGeneration ( ) : int
nativeGetTotalMemory ( ) : long
nativeIsServerGC ( ) : bool
nativeReRegisterForFinalize ( Object o ) : void
nativeRemoveMemoryPressure ( System.UInt64 bytesAllocated ) : void
nativeSuppressFinalize ( Object o ) : void

메소드 상세

Collect() 공개 정적인 메소드

public static Collect ( ) : void
리턴 void

Collect() 공개 정적인 메소드

public static Collect ( int generation ) : void
generation int
리턴 void

GetGeneration() 공개 정적인 메소드

public static GetGeneration ( WeakReference wo ) : int
wo WeakReference
리턴 int

GetTotalMemory() 공개 정적인 메소드

public static GetTotalMemory ( bool forceFullCollection ) : long
forceFullCollection bool
리턴 long

ReRegisterForFinalize() 공개 정적인 메소드

public static ReRegisterForFinalize ( Object obj ) : void
obj Object
리턴 void