Skip to content

Garbage collector #1559

@lukaszcz

Description

@lukaszcz

Stop-the-world generational garbage collector with a single collection based on a variant of Cheney's copying algorithm.

Notes

  • Minimum generation size in pages should be determined experimentally.
  • New generation size after collection must depend on the stack size to ensure amortised constant time per allocation with multiple collections.
  • By default collect only the youngest generation when it becomes full.
  • Give the user an option to adjust the parameters: minimum generation size, maximum number of generations collected (one by default), how often older generations are collected.
  • Give the user an option to turn off garbage collection entirely.

Literature

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions