#include <collectable.h>
Inheritance diagram for Collectable:Public Member Functions | |
| ScripterExport | Collectable () |
| virtual ScripterExport | ~Collectable () |
| ScripterExport void * | operator new (size_t sz, char flag) |
| ScripterExport void * | operator new (size_t sz) |
| ScripterExport void | operator delete (void *val) |
| ScripterExport void | operator delete (void *val, char flag) |
| virtual void | collect ()=0 |
| virtual ScripterExport void | gc_trace () |
| ScripterExport void | make_collectable () |
| void | make_permanent () |
| void | make_static () |
| int | is_marked () |
| int | is_not_marked () |
| int | is_garbage () |
| int | is_permanent () |
| void | mark_in_use () |
| void | unmark_in_use () |
| int | has_heap_copy () |
| int | is_in_heap () |
| int | is_on_stack () |
Static Public Member Functions | |
| static ScripterExport void | for_all_values (void(*map_fn)(Value *val), ValueMapper *mapper=NULL, ValueMetaClass *c=NULL) |
| static ScripterExport void * | heap_alloc (size_t sz) |
| static ScripterExport void * | stack_alloc (size_t sz) |
| static ScripterExport void | heap_free (void *p) |
| static void | mark () |
| static void | sweep () |
| static void | setup (size_t) |
| static ScripterExport void | gc () |
| static void | coalesce_free_list () |
| static void | close_down () |
| static void | drop_maxwrapper_refs () |
| static ScripterExport void | push_alloc_stack_frame () |
| static ScripterExport void | pop_alloc_stack_frame () |
| static ScripterExport ULONGLONG | get_num_values_created () |
Public Attributes | |
| Collectable * | next |
| Collectable * | prev |
| byte | flags |
| byte | flags2 |
| short | flags3 |
Static Public Attributes | |
| static CRITICAL_SECTION | heap_update |
| static Collectable * | collectable_list |
| static Collectable * | permanent_list |
| static free_mem * | free_list [GC_NUM_SUBLISTS] |
| static size_t | heap_allocated |
| static size_t | heap_size |
| static ScripterExport collectable_state | state |
| static ScripterExport bool | fullCollectNextHoldFlush |
| static bool | gc_light |
| static bool | in_gc |
| static HANDLE | hGCCompletedEvent |
|
virtual |
|
static |
|
static |
|
static |
|
static |
| ScripterExport void* operator new | ( | size_t | sz, |
| char | flag | ||
| ) |
| ScripterExport void* operator new | ( | size_t | sz | ) |
| ScripterExport void operator delete | ( | void * | val | ) |
| ScripterExport void operator delete | ( | void * | val, |
| char | flag | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
pure virtual |
Implemented in Boolean, PluginMethod, StructMethod, CodeBlock, Maker, Parser, Listener, CodeTree, SourceFileWrapper, MSZipPackage, and SourcePositionWrapper.
|
virtual |
Reimplemented in PluginMethod, StructMethod, CodeBlock, Maker, Parser, Listener, CodeTree, SourceFileWrapper, and SourcePositionWrapper.
|
static |
|
static |
| ScripterExport void make_collectable | ( | ) |
| void make_permanent | ( | ) |
| void make_static | ( | ) |
|
static |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
| Collectable* next |
| Collectable* prev |
|
static |
| byte flags |
| byte flags2 |
| short flags3 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |