Fixed bug in size handling and mark hash

This commit is contained in:
valtermiari 2023-05-05 13:16:45 +02:00 committed by Victor Olin
parent a5c5d122b2
commit 9adc14780b
3 changed files with 95 additions and 6 deletions

View file

@ -85,6 +85,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);