Fix typo in compiler series
This commit is contained in:
parent
a6f27e446d
commit
9a7441779f
|
@ -98,7 +98,7 @@ cycles in our graphs. Unsurprisingly, we implement this type
|
||||||
of garbage collection in two stages:
|
of garbage collection in two stages:
|
||||||
|
|
||||||
1. __Mark__: We go through every node that is still needed by
|
1. __Mark__: We go through every node that is still needed by
|
||||||
the runtime, and recursively mark is, its children, and so on as "to keep".
|
the runtime, and recursively mark it, its children, and so on as "to keep".
|
||||||
2. __Sweep__: We go through every node we haven't yet freed, and,
|
2. __Sweep__: We go through every node we haven't yet freed, and,
|
||||||
if it hasn't been marked as "to keep", we free it.
|
if it hasn't been marked as "to keep", we free it.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user