Index · Why it matters

1 min read
Senior6 min read
Rapid overview

Why it matters

Allocations aren’t “free.” Each heap allocation:

(eventually promotions → Gen 2 → long pauses)

  • Consumes CPU (for pointer bumping)
  • Increases memory footprint
  • Puts pressure on Gen 0 → more GC cycles

In low-latency systems (like trade execution or tick feeds), GC pauses = missed ticks or delayed quotes — unacceptable.

So the best GC strategy is often:

“Don’t make the GC do work at all.”


See also