Skip to content

Implement a Generational Garbage Collector #14

@Techcable

Description

@Techcable

Implement a heavy-duty generational garbage collector. This should significantly improve performance for applications where allocations are frequent. It is intended primarily for use in language VMs and JITs (#12).

Tasks

  • Basic Implementation
  • Use card tables for efficient write barriers
  • Extremely efficent bump-pointer allocation for new generation
    • Properly relocate pointers
  • Handle "humongous objects" properly
    • Most GCs allocate very large objects (4KB+) directly into a dedicated space, bypassing the new generation

Metadata

Metadata

Assignees

Labels

impl-generationalThe heavy-duty generational collector

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions