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

Use the GC_finalize API for Gc<T> types #122

Merged
merged 3 commits into from
Aug 24, 2024

Conversation

jacob-hughes
Copy link
Collaborator

This PR updates Alloy to use the GC_finalize API implemented in the recent changes to BDWGC (softdevteam/bdwgc#22). It also contains some general tidying up commits.

I measured the performance of these changes on yksom to see if we can get a better idea of the cost of using condition variables in the finaliser thread. The results are shown below.

yksom_finalisers

Retrieving the base pointer for memaligned values is no longer necessary
since an upstream fix in BDWGC landed (f9a0ee08).
@ltratt ltratt added this pull request to the merge queue Aug 24, 2024
Merged via the queue into softdevteam:master with commit 1ca12b0 Aug 24, 2024
2 checks passed
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.

2 participants