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.

All labels observed (2)

Label Occurrences
Garbage Collector canonical 1
System.GC class 1

How this entity was disambiguated

Statements (59)

Predicate Object
instanceOf .NET runtime component
automatic memory management system
allocates objects on the managed heap
alsoKnownAs GC
canBeConfiguredBy environment variables
runtime configuration settings
cooperatesWith Common Language Runtime (CLR)
just-in-time compiler (JIT)
developedBy Microsoft
exposesAPI System.GC class
linked to: Garbage Collector
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)
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
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
GC.Collect
GC.GetGeneration
GC.GetTotalMemory
GC.KeepAlive
GC.RemoveMemoryPressure
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)
.NET Core
.NET Framework
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

How these facts were elicited

Referenced by (2)

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

dotnet/runtime containsComponent Garbage Collector
Garbage Collector (.NET) exposesAPI System.GC class
subject linked to: Garbage Collector
linked to: Garbage Collector