CACAO
|
Go to the source code of this file.
Functions | |
static void | gc_ignore_warnings (char *msg, GC_word arg) |
void | gc_init (size_t heapmaxsize, size_t heapstartsize) |
void * | heap_alloc_uncollectable (size_t size) |
void * | heap_alloc (size_t size, int references, methodinfo *finalizer, bool collect) |
void | heap_free (void *p) |
void | gc_call (void) |
int64_t | gc_get_heap_size (void) |
int64_t | gc_get_free_bytes (void) |
int64_t | gc_get_total_bytes (void) |
int64_t | gc_get_max_heap_size (void) |
void | gc_invoke_finalizers (void) |
void | gc_finalize_all (void) |
void * | gc_out_of_memory (size_t bytes_requested) |
void | gc_register_current_thread () |
void | gc_unregister_current_thread () |
Variables | |
static bool | in_gc_out_of_memory = false |
static size_t | gc_max_heap_size = 0 |
Definition at line 167 of file gc-boehm.cpp.
Definition at line 213 of file gc-boehm.cpp.
int64_t gc_get_free_bytes | ( | void | ) |
Definition at line 183 of file gc-boehm.cpp.
int64_t gc_get_heap_size | ( | void | ) |
Definition at line 177 of file gc-boehm.cpp.
int64_t gc_get_max_heap_size | ( | void | ) |
Definition at line 201 of file gc-boehm.cpp.
int64_t gc_get_total_bytes | ( | void | ) |
Definition at line 195 of file gc-boehm.cpp.
|
static |
Definition at line 102 of file gc-boehm.cpp.
void gc_init | ( | size_t | heapmaxsize, |
size_t | heapstartsize | ||
) |
Definition at line 59 of file gc-boehm.cpp.
Definition at line 207 of file gc-boehm.cpp.
void* gc_out_of_memory | ( | size_t | bytes_requested | ) |
Definition at line 225 of file gc-boehm.cpp.
void gc_register_current_thread | ( | ) |
Definition at line 249 of file gc-boehm.cpp.
void gc_unregister_current_thread | ( | ) |
Definition at line 264 of file gc-boehm.cpp.
void* heap_alloc | ( | size_t | size, |
int | references, | ||
methodinfo * | finalizer, | ||
bool | collect | ||
) |
Definition at line 132 of file gc-boehm.cpp.
void* heap_alloc_uncollectable | ( | size_t | size | ) |
Definition at line 107 of file gc-boehm.cpp.
Definition at line 162 of file gc-boehm.cpp.
|
static |
Definition at line 45 of file gc-boehm.cpp.
|
static |
Definition at line 44 of file gc-boehm.cpp.