#include <stddef.h>
Go to the source code of this file.
#define GC_MALLOC | ( | sz | ) | GC_malloc(sz) |
#define GC_MALLOC_ATOMIC | ( | sz | ) | GC_malloc_atomic(sz) |
#define GC_REALLOC | ( | old, | |||
sz | ) | GC_realloc(old, sz) |
#define GC_REGISTER_FINALIZER | ( | p, | |||
f, | |||||
d, | |||||
of, | |||||
od | ) | GC_register_finalizer(p, f, d, of, od) |
typedef void(* GC_finalization_proc)() |
typedef long signed_word |
void GC_add_roots | ( | ) |
char* GC_base | ( | ) |
void GC_clear_roots | ( | ) |
Definition at line 122 of file mark_roots.c.
References DCL_LOCK_STATE, DISABLE_SIGNALS, ENABLE_SIGNALS, GC_root_size, LOCK, n_root_sets, and UNLOCK.
void GC_debug_free | ( | ) |
void GC_debug_invoke_finalizer | ( | ) |
char* GC_debug_malloc | ( | ) |
char* GC_debug_malloc_atomic | ( | ) |
char* GC_debug_realloc | ( | ) |
int GC_expand_hp | ( | ) |
void GC_free | ( | ) |
void GC_gcollect | ( | ) |
Definition at line 350 of file alloc.c.
References DCL_LOCK_STATE, DISABLE_SIGNALS, ENABLE_SIGNALS, GC_gcollect_inner(), GC_init_inner(), GC_is_initialized, GC_noop(), LOCK, TRUE, and UNLOCK.
char* GC_make_closure | ( | ) |
char* GC_malloc | ( | ) |
Referenced by add_vr(), dead_tmp(), GC_debug_malloc(), GC_make_closure(), GC_realloc(), lookup(), make_instr(), make_lbl_instr(), malloc(), and placeholder().
char* GC_malloc_atomic | ( | ) |
Referenced by C_name(), flatten(), GC_debug_malloc_atomic(), itos(), main(), malloc_atomic(), par_name(), rmcntrl(), str_eq(), and tmp_name().
char* GC_realloc | ( | ) |
Referenced by GC_debug_realloc(), and realloc().
int GC_register_disappearing_link | ( | ) |
void GC_register_displacement | ( | ) |
Referenced by GC_debug_malloc(), and GC_debug_malloc_atomic().
void GC_register_finalizer | ( | ) |
size_t GC_size | ( | ) |
int GC_unregister_disappearing_link | ( | ) |
int GC_dont_expand |
int GC_dont_gc |
Definition at line 73 of file alloc.c.
Referenced by free(), GC_adj_words_allocd(), GC_gcollect_inner(), malloc(), malloc_atomic(), realloc(), and unsafe_free().