Skip to content

WIP: redesign blocks GC#5463

Draft
niaow wants to merge 1 commit into
tinygo-org:devfrom
niaow:bitmap-gc
Draft

WIP: redesign blocks GC#5463
niaow wants to merge 1 commit into
tinygo-org:devfrom
niaow:bitmap-gc

Conversation

@niaow

@niaow niaow commented Jun 14, 2026

Copy link
Copy Markdown
Member

This is an experiment trying to redesign the blocks GC to use bitmaps instead of the current packed state format. This can dramatically increase sweep speed in some scenarios. It also fixes the quadratic mark issue with large allocations by ensuring that a block is only ever visited once.

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