How the Nasal GC works: Difference between revisions

Jump to navigation Jump to search
m
Line 368: Line 368:


= Marking =
= Marking =
All reachable objects are marked, so that unreachable objects can be collected and freed.
All reachable objects are marked using tagged structures, so that unreachable objects can be collected and freed.


TOOD: https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/gc.c#line223
TOOD: https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/gc.c#line223
Line 374: Line 374:


</syntaxhighlight>
</syntaxhighlight>


= reap() =
= reap() =

Navigation menu