| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GC ClassControls the system garbage collector, a service that automatically reclaims unused memory.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Visibility | Name | Parameters | Return Type |
|---|---|---|---|
| public static | AddMemoryPressure | ( Int64 bytesAllocated ) | Void |
| public static | CancelFullGCNotification | ( ) | Void |
| public static | Collect | ( Int32 generation , GCCollectionMode mode ) | Void |
| public static | Collect | ( ) | Void |
| public static | Collect | ( Int32 generation ) | Void |
| public static | CollectionCount | ( Int32 generation ) | Int32 |
| public static | GetGeneration | ( Object obj ) | Int32 |
| public static | GetGeneration | ( WeakReference wo ) | Int32 |
| public static | GetTotalMemory | ( Boolean forceFullCollection ) | Int64 |
| public static | KeepAlive | ( Object obj ) | Void |
| public static | RegisterForFullGCNotification | ( Int32 maxGenerationThreshold , Int32 largeObjectHeapThreshold ) | Void |
| public static | RemoveMemoryPressure | ( Int64 bytesAllocated ) | Void |
| public static | ReRegisterForFinalize | ( Object obj ) | Void |
| public static | SuppressFinalize | ( Object obj ) | Void |
| public static | WaitForFullGCApproach | ( ) | GCNotificationStatus |
| public static | WaitForFullGCApproach | ( Int32 millisecondsTimeout ) | GCNotificationStatus |
| public static | WaitForFullGCComplete | ( ) | GCNotificationStatus |
| public static | WaitForFullGCComplete | ( Int32 millisecondsTimeout ) | GCNotificationStatus |
| public static | WaitForPendingFinalizers | ( ) | Void |
Methods in this class influence when an object is garbage collected and when resources allocated by an object are released ( "finalized" ). Properties in this class provide information about the total amount of memory available in the system and the age category, or "generation", of memory allocated to an object.
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme