.


:




:

































 

 

 

 


ErForFullGCNotification(in




 

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()





:


: 2016-12-03; !; : 329 |


:

:

,
==> ...

1693 - | 1571 -


© 2015-2024 lektsii.org - -

: 0.01 .