Initial tricolor implementation
This commit is contained in:
7
src/gc.h
7
src/gc.h
@ -30,7 +30,8 @@ init_object_process_stack(ObjectProcessStack *restrict stack) {
|
||||
}
|
||||
|
||||
void free_object_process_stack(ObjectProcessStack *restrict stack);
|
||||
|
||||
void object_process_stack_push_object(ObjectProcessStack *restrict stack,
|
||||
void *obj);
|
||||
void object_process_stack_push_held_objects(ObjectProcessStack *restrict stack,
|
||||
void *obj);
|
||||
void *object_process_stack_pop(ObjectProcessStack *restrict stack);
|
||||
@ -40,8 +41,8 @@ extern struct timespec total_gc_time;
|
||||
extern size_t total_gc_count;
|
||||
|
||||
typedef struct {
|
||||
size_t total_objects_searched;
|
||||
size_t total_objects_cleaned;
|
||||
size_t objects_searched;
|
||||
size_t objects_cleaned;
|
||||
struct timespec ellapsed_time;
|
||||
} LispGCStats;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user