Fixed bugs on freeing chunks and stack-scanning
Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
This commit is contained in:
parent
07bf2c8f48
commit
ea6eab0bcf
7 changed files with 53 additions and 53 deletions
|
|
@ -44,6 +44,7 @@ namespace GC {
|
|||
size_t m_allocated_size;
|
||||
uintptr_t *m_stack_end = nullptr;
|
||||
|
||||
// maybe change to std::list
|
||||
std::vector<Chunk *> m_allocated_chunks;
|
||||
std::vector<Chunk *> m_freed_chunks;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue