Garbage Collector

E697249

Garbage Collector is the .NET runtime component responsible for automatically managing memory by allocating and reclaiming objects to prevent leaks and optimize performance.

Jump to: Surface forms Statements Referenced by

Observed surface forms (1)

Surface form Occurrences
Garbage Collector (.NET) 0

Statements (59)

Predicate Object
instanceOf .NET runtime component
automatic memory management system
allocates objects on the managed heap
alsoKnownAs GC NERFINISHED
canBeConfiguredBy environment variables
runtime configuration settings
cooperatesWith Common Language Runtime (CLR) NERFINISHED
just-in-time compiler (JIT)
developedBy Microsoft
exposesAPI System.GC class NERFINISHED
goal maximize throughput
minimize pause times
reduce fragmentation of the managed heap
hasFeature multiple generations
hasGeneration Generation 0
Generation 1
Generation 2
Large Object Heap (LOH) NERFINISHED
identifiesAsRoots CPU registers
stack references
static fields
implements compaction of the managed heap
mark-and-sweep algorithm
manages managed heap
optimizedFor short-lived objects
partOf .NET runtime NERFINISHED
performs root set discovery
prevents most memory leaks in managed code
primaryResponsibility automatic memory allocation
automatic memory reclamation
optimization of memory usage
prevention of memory leaks
providesMethod GC.AddMemoryPressure NERFINISHED
GC.Collect NERFINISHED
GC.GetGeneration
GC.GetTotalMemory NERFINISHED
GC.KeepAlive NERFINISHED
GC.RemoveMemoryPressure NERFINISHED
reclaims unreachable objects
requires managed code to provide type information
supports finalization of objects
generational garbage collection
supportsMode background GC
concurrent GC (legacy term)
server GC
workstation GC
triggeredBy allocation thresholds
explicit calls to GC.Collect
low memory notifications from the operating system
usedIn .NET (5 and later) NERFINISHED
.NET Core NERFINISHED
.NET Framework NERFINISHED
ASP.NET applications
C# applications
F# applications
VB.NET applications
uses finalizer queue
freachable queue
usesHeuristic objects that survive collections are promoted to higher generations

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

dotnet/runtime containsComponent Garbage Collector