20,741
edits
m (→Marking) |
|||
| Line 307: | Line 307: | ||
= garbageCollect() = | = garbageCollect() = | ||
This is the function that does the mark/sweep part using mark() to mark reachable objects, and reap() to collect unreachable objects. | This is the function that does the mark/sweep part using mark() to revursively mark reachable objects, and reap() to collect unreachable objects. | ||
https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/gc.c#line35 | https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/gc.c#line35 | ||