KJS::Collector Class Reference
#include <collector.h>
Detailed Description
Garbage collector.
Definition at line 38 of file collector.h.
Static Public Member Functions | |
| static void * | allocate (size_t s) |
| static bool | collect () |
| static int | size () |
| static bool | outOfMemory () |
Member Function Documentation
|
|
Register an object with the collector. The following assumptions are made:
Definition at line 78 of file collector.cpp. |
|
|
Run the garbage collection. This involves calling the delete operator on each object and freeing the used memory. Definition at line 153 of file collector.cpp. |
The documentation for this class was generated from the following files:

