Skip to main content
This is lesson 10 of 15 in this module 10/15

Make Small Objects Short-Lived

We explain how small objects held by long-lived collections force the garbage collector to promote them through generations. The lesson demonstrates refactoring a charting example from a list of reference types to a set of parallel arrays, dramatically reducing the object graph.

Video lesson

Want to watch this lesson?

This lesson is part of the study plan. Get instant access to all lectures, labs and practice exams.

Get the Study Plan