C# Class System.GC

Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Méthode Description
Collect ( ) : void
Collect ( int generation ) : void
GetGeneration ( WeakReference wo ) : int
GetTotalMemory ( bool forceFullCollection ) : long
ReRegisterForFinalize ( Object obj ) : void

Private Methods

Méthode Description
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

Method Details

Collect() public static méthode

public static Collect ( ) : void
Résultat void

Collect() public static méthode

public static Collect ( int generation ) : void
generation int
Résultat void

GetGeneration() public static méthode

public static GetGeneration ( WeakReference wo ) : int
wo WeakReference
Résultat int

GetTotalMemory() public static méthode

public static GetTotalMemory ( bool forceFullCollection ) : long
forceFullCollection bool
Résultat long

ReRegisterForFinalize() public static méthode

public static ReRegisterForFinalize ( Object obj ) : void
obj Object
Résultat void