We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add an ability to limit the Bump size: if the number of allocated bytes exceeds the configured number, allocation should fail.
Bump
AFAIU, it is possible to make this feature with virtually no runtime overhead if the limit is checked only in alloc_layout_slow.
alloc_layout_slow
The text was updated successfully, but these errors were encountered:
I would be open to reviewing and merging a PR that implements this functionality.
We should also have quickchecks that set random allocation limits, allocate from the bump and assert that the allocation limits are respected.
Sorry, something went wrong.
Hello! I tried my hand at implementing this feature, tell me what you think
No branches or pull requests
Add an ability to limit the
Bump
size: if the number of allocated bytes exceeds the configured number, allocation should fail.AFAIU, it is possible to make this feature with virtually no runtime overhead if the limit is checked only in
alloc_layout_slow
.The text was updated successfully, but these errors were encountered: