Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zero slabs when collecting if they contain pointers. #397

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

schveiguy
Copy link
Contributor

@schveiguy schveiguy commented Oct 16, 2024

Split out of collection slab zeroing from #395

This version uses Bitmap to find ranges of set bits that have been freed, to call memset on larger ranges.

When collecting, for instance, a large graph of nodes, it's very likely there are a bunch of newly-freed slots that can be cleared at once.

@schveiguy schveiguy changed the title [GC] Zero slabs when collecting if they contain pointers. Zero slabs when collecting if they contain pointers. Oct 17, 2024
@deadalnix deadalnix force-pushed the master branch 3 times, most recently from 7ce40a5 to 4dbe602 Compare December 4, 2024 01:18
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