GCMemoryInfo.Compacted Property

Definition

Gets a value that indicates if this is a compacting GC or not.

public:
 property bool Compacted { bool get(); };
public bool Compacted { get; }
member this.Compacted : bool
Public ReadOnly Property Compacted As Boolean

Property Value

true if this is a compacting GC; false otherwise.

Remarks

A compacting GC is when space occupied by dead objects is reclaimed and surviving objects are compacted.

Applies to