20,741
edits
m (→bottleneck()) |
|||
| Line 367: | Line 367: | ||
The actual garbage collection takes place in [https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/gc.c#line114 line 114] where dead objects from the memory pool are freed, and the garbageCollect() function is called if globals.needGC is true. | The actual garbage collection takes place in [https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/gc.c#line114 line 114] where dead objects from the memory pool are freed, and the garbageCollect() function is called if globals.needGC is true. | ||
[[File:Nasal-gc.png|thumb|550px|Nasal GC]] | |||
= garbageCollect() = | = garbageCollect() = | ||