Comments
This commit is contained in:
parent
7105c570d9
commit
87dc0fef2d
6 changed files with 135 additions and 5 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue