lair icon indicating copy to clipboard operation
lair copied to clipboard

★Garbage Collection★

Open qpfiffer opened this issue 9 years ago • 0 comments

  • Create simple userland allocator that everything goes through to track objects
  • Create vector_remove function.
  • Create GC graph node struct with:
    • Pointer to the lair value
    • Generation enum
    • Vector of parent pointers to other graph nodes (things that own this node). Once you run out of parent pointers, delete yourself.
    • Vector of child pointers as well
    • All deletions should cascade. cc @lykkin

qpfiffer avatar Jan 02 '16 00:01 qpfiffer