This commit is contained in:
Victor Olin 2023-03-21 17:35:33 +01:00
parent 7105c570d9
commit 87dc0fef2d
6 changed files with 135 additions and 5 deletions

View file

@ -5,6 +5,13 @@
namespace GC
{
/**
* The basic element of what can be stored on
* the heap. A chunk contains a start address
* on the actual heap, the size of memory that
* is allocated at that address and if the
* chunk is reachable (marked).
*/
struct Chunk
{
bool m_marked {false};