How the Nasal GC works: Difference between revisions

Jump to navigation Jump to search
m
Line 392: Line 392:


= garbageCollect() =
= garbageCollect() =
[[File:NasalGarbageCollectCallgraph.png|thumb|550px|Callgraph of garbageCollect()]]


This is the function that does the mark/sweep part using mark() to recursively mark reachable objects, and reap() to collect unreachable objects.
This is the function that does the mark/sweep part using mark() to recursively mark reachable objects, and reap() to collect unreachable objects.

Navigation menu