Testing works, stack-overflow fixed

This commit is contained in:
Victor Olin 2023-03-24 13:41:14 +01:00
parent 5e2f4d464d
commit 35b2aa4a2f
5 changed files with 34 additions and 20 deletions

View file

@ -55,7 +55,7 @@ namespace GC
std::vector<Chunk *> m_freed_chunks;
static bool profiler_enabled();
static Chunk *get_at(std::vector<Chunk *> &list, size_t n);
// static Chunk *get_at(std::vector<Chunk *> &list, size_t n);
void collect();
void sweep(Heap &heap);
Chunk *try_recycle_chunks(size_t size);