Predator
[unstable] git snapshot
|
collectJunk - implementation of a garbage collector for the symbolic heap More...
Go to the source code of this file.
Data Structures | |
class | LeakMonitor |
Macros | |
#define | REQUIRE_GC_ACTIVITY(sh, obj, fnc) |
Functions | |
bool | collectJunk (SymHeap &sh, TObjId obj, TObjSet *leakObjs=0) |
collect and remove all junk reachable from the given object | |
bool | collectSharedJunk (SymHeap &sh, TObjId obj, TObjSet *leakObjs=0) |
same as collectJunk(), but does not consider prototypes to be junk objects | |
bool | destroyObjectAndCollectJunk (SymHeap &sh, TObjId obj, TObjSet *leakObjs=0) |
void | debugGarbageCollector (bool enable) |
enable/disable debugging of the garbage collector |
collectJunk - implementation of a garbage collector for the symbolic heap
Definition in file symgc.hh.
#define REQUIRE_GC_ACTIVITY | ( | sh, | |
obj, | |||
fnc | |||
) |
collect and remove all junk reachable from the given object
Referenced by LeakMonitor::collectJunkFrom().
same as collectJunk(), but does not consider prototypes to be junk objects
void debugGarbageCollector | ( | bool | enable | ) |
enable/disable debugging of the garbage collector
Referenced by LeakMonitor::destroyObject().