preliminary notes on a nofl field-logging barrier

from blog wingolog, | ↗ original
When you have a generational collector, you aim to trace only the part of the object graph that has been allocated recently. To do so, you need to keep a remembered set: a set of old-to-new edges, used as roots when performing a minor collection. A language run-time maintains this set by adding write barriers: little bits of collector code that run when a mutator writes to a field.Whippet’s This is a short summary. ↗ Open original to view full content