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

Allocation abstraction and ABA #50

Open
mjp41 opened this issue Sep 17, 2024 · 0 comments
Open

Allocation abstraction and ABA #50

mjp41 opened this issue Sep 17, 2024 · 0 comments

Comments

@mjp41
Copy link
Member

mjp41 commented Sep 17, 2024

Currently there is a fairly tight integration between the runtime and snmalloc. We should add an abstraction layer here that allows us to more easily replace the allocator.

This could be very useful for systematic testing. ABA problems require rapid recycling of memory, but this is unlikely with snmalloc and very unlikely with SCUDO inside Asan. This means that systematic testing will seldom discover ABA bugs that involve allocations being recycled.

We should provide a layer that can be overridden in different configurations to increase the likelihood of discovering ABA problems.

This was referenced Sep 25, 2024
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

No branches or pull requests

1 participant