Refactoring

This commit is contained in:
Justin Ethier 2015-11-13 23:59:40 -05:00
parent d50ae96505
commit 65e2a1a18b
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ static void Cyc_heap_init(long heap_size)
printf("main: Allocating and initializing heap...\n");
#endif
gc_init_heap(heap_size);
gc_init_mutators();
gc_initialize();
gc_start_collector();
}

View file

@ -125,7 +125,7 @@ void **vpbuffer_add(void **buf, int *len, int i, void *obj);
void vpbuffer_free(void **buf);
/* GC prototypes */
void gc_init_mutators();
void gc_initialize();
void gc_add_mutator(gc_thread_data *thd);
gc_heap *gc_heap_create(size_t size, size_t max_size, size_t chunk_size);
int gc_grow_heap(gc_heap *h, size_t size, size_t chunk_size);