Testing works, stack-overflow fixed
This commit is contained in:
parent
5e2f4d464d
commit
35b2aa4a2f
5 changed files with 34 additions and 20 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue