Fixed bug in size handling and mark hash

This commit is contained in:
valtermiari 2023-05-05 13:16:45 +02:00
parent 0b96f3b7e5
commit 208ff861df
3 changed files with 88 additions and 12 deletions

View file

@ -71,6 +71,7 @@ namespace GC
void free_overlap(Heap &heap);
void mark(uintptr_t *start, const uintptr_t *end, std::vector<Chunk *> &worklist);
void mark_hash(uintptr_t *start, const uintptr_t *end);
Chunk* find_pointer_hash(uintptr_t *start, const uintptr_t *end);
void create_table();
void print_line(Chunk *chunk);
void print_worklist(std::vector<Chunk *> &list);