GCLargeObjectHeapCompactionMode Enum
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.
Indicates whether the next blocking garbage collection compacts the large object heap (LOH).
public enum class GCLargeObjectHeapCompactionMode
public enum GCLargeObjectHeapCompactionMode
[System.Serializable]
public enum GCLargeObjectHeapCompactionMode
type GCLargeObjectHeapCompactionMode =
[<System.Serializable>]
type GCLargeObjectHeapCompactionMode =
Public Enum GCLargeObjectHeapCompactionMode
- Inheritance
- Attributes
Fields
CompactOnce | 2 | The large object heap (LOH) will be compacted during the next blocking generation 2 garbage collection. |
Default | 1 | The large object heap (LOH) is not compacted. |
Remarks
The value of the GCSettings.LargeObjectHeapCompactionMode property is a member of the GCLargeObjectHeapCompactionMode enumeration that indicates whether the next full blocking garbage collection also compacts the large object heap (LOH). By default, the LOH is not compacted. A value of CompactOnce indicates that the blocking garbage collection will compact the LOH. After the garbage collection, the value of the GCSettings.LargeObjectHeapCompactionMode property reverts to Default.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應