This topic has not yet been rated - Rate this topic

GCLargeObjectHeapCompactionMode Enumeration

.NET Framework 4.5

[This topic is preliminary and is subject to change.]

Indicates whether the next blocking garbage collection compacts the large object heap (LOH).

Namespace:  System.Runtime
Assembly:  mscorlib (in mscorlib.dll)
[SerializableAttribute]
public enum GCLargeObjectHeapCompactionMode
Member nameDescription
CompactOnceThe large object heap (LOH) will be compacted during the next blocking garbage collection.
DefaultBlocking garbage collections do not compact the large object heap (LOH).

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.

.NET Framework

Supported in: 4.5

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.