GC

Undocumented in source.

Members

Variables

any_changes
bool any_changes;
Undocumented in source.
collect_begin_cb
void delegate() collect_begin_cb;
Undocumented in source.
collect_end_cb
void delegate(int freed, int pagebytes) collect_end_cb;
Undocumented in source.
disabled
int disabled;

Turn off collections if > 0

free_list
List*[B_MAX] free_list;

Free list for each size

free_mem
size_t free_mem;

Free heap memory

inited
uint inited;
Undocumented in source.
lock
ClassInfo lock;
Undocumented in source.
mark_proc_pid
int mark_proc_pid;
Undocumented in source.
max_addr
byte* max_addr;

max(pool.topAddr)

min_addr
byte* min_addr;

min(pool.baseAddr)

no_stack
uint no_stack;
Undocumented in source.
p_cache
void* p_cache;
Undocumented in source.
pools
dynarray.DynArray!(Pool*) pools;
Undocumented in source.
ranges
dynarray.DynArray!(Range) ranges;
Undocumented in source.
roots
dynarray.DynArray!(void*) roots;
Undocumented in source.
size_cache
size_t size_cache;
Undocumented in source.
stack_bottom
void* stack_bottom;
Undocumented in source.
stats
Stats stats;
Undocumented in source.
total_mem
size_t total_mem;

Total heap memory

Meta