#include <suif_gc.h>
Static Public Methods | |
void | collect (FileSetBlock*) |
Collect and delete all unreferenced objects from all symbol tables in a FileSetBlock. | |
bool | is_reachable (SuifObject* from, SuifObject* to) |
Decide if there is a path (of referenced and owned links) between two objects. More... |
The Collector will traverse from a root object, and mark the symbol table object garbage if it is not reachable from the root object.
The Collector marks a symbol table object garbage by removing it from the symbol table and add it to an internal garbage buffer. The garbages are deleted in the destructor.
|
Collect and delete all unreferenced objects from all symbol tables in a FileSetBlock.
|
Decide if there is a path (of referenced and owned links) between two objects.