CACAO
Functions | Variables
gc-boehm.cpp File Reference

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)
 
voidheap_alloc_uncollectable (size_t size)
 
voidheap_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)
 
voidgc_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
 

Function Documentation

void gc_call ( void  )

Definition at line 167 of file gc-boehm.cpp.

void gc_finalize_all ( void  )

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 void gc_ignore_warnings ( char *  msg,
GC_word  arg 
)
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.

void gc_invoke_finalizers ( void  )

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.

void heap_free ( void p)

Definition at line 162 of file gc-boehm.cpp.

Variable Documentation

size_t gc_max_heap_size = 0
static

Definition at line 45 of file gc-boehm.cpp.

bool in_gc_out_of_memory = false
static

Definition at line 44 of file gc-boehm.cpp.