.NET Runtime

12 cards

1 / 1200

When yes

Understanding GC is essential for diagnosing memory pressure, high latency spikes, LOH fragmentation

When no

Don't optimize GC until you've measured — premature optimization

Interview tip

Gen2 collection = stop-the-world (in non-concurrent mode). Frequent Gen2 collections are a sign of memory pressure.