GCSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the garbage collection settings for the current process.
public ref class GCSettings abstract sealed
public static class GCSettings
type GCSettings = class
Public Class GCSettings
- Inheritance
-
GCSettings
Remarks
Use the IsServerGC property to determine whether server garbage collection is enabled for the current process.
Properties
IsServerGC |
Gets a value that indicates whether server garbage collection is enabled. |
LargeObjectHeapCompactionMode |
Gets or sets a value that indicates whether a full blocking garbage collection compacts the large object heap (LOH). |
LatencyMode |
Gets or sets the current latency mode for garbage collection. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for