Skip to content

feat: add region-based heap collection foundation - #3

Open
takeokunn wants to merge 1 commit into
mainfrom
takeokunn-gc-region
Open

takeokunn wants to merge 1 commit into
mainfrom
takeokunn-gc-region

Conversation

@takeokunn

Copy link
Copy Markdown
Contributor

Summary

  • add per-heap fixed-size old-space region metadata
  • add mixed-collection candidate selection and evacuation-failure fallback
  • integrate the region pass into major GC behind an opt-in flag
  • add focused region collection tests

Verification

  • nix run .#test: 1057 passed, 0 failed, 0 errored
  • nix flake check: all checks passed

Scope

This implements the region metadata, selection, and failure-handling foundation. Actual object relocation across selected regions remains delegated to the existing evacuation/compaction paths and is not enabled by default.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant