maxGenerationThreshold
t maxGenerationThreshold, int
largeObj ectHeapThreshold)
", . largeObj ectHeapThreshold ", . 1 99
Public static void
bytesAllocated
RemoveMemoryPressure(long
,
bytesAllocated)
Public static void
obj.
ReRegisterForFinalize(object
obj)
SuppressFinalize()
Public static void
SuppressFinalize(object obj)
obj
Public static
,
GCNotificationStatus
.
WaitForFullGCApproach()
GCNotif icationStatus , System
Public static
,
GCNotificationStatus
",
WaitForFullGCApproach(int
,
millisecondsTimeout)
millisecondsTimeout. GCNotif icationStatus , System
Public static
GCNotificationStatus
".
WaitForFullGCComplete ()
GCNotif icationStatus , System
, GC :
public static int MaxGeneration { get; }
MaxGeneration , . . , . " ".
GC . . , " " Collect () . , " " , . , , , . , " " . " ".
|
|
GC: AddMemoryPressure () RemoveMemoryPressure (). , . , . , , . AddMemoryPressure (), CLR . RemoveMemoryPressure (), CLR . , , , RemoveMemoryPressure () , AddMemoryPressure ().
object
object C# object. Object 11, #, . 21.16. object
Public Object()