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

revert unsound generalization of SingleSegmentAllocator #484

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

dwrensha
Copy link
Member

@dwrensha dwrensha commented Feb 19, 2024

Reverts #474, which was unsound. See #483.

When a segment is allocated, the Arena holds a raw pointer to its first byte. This is a problem if SingleSegmentAllocator allows the segment memory to move.

@dwrensha dwrensha merged commit fbf6619 into master Feb 19, 2024
8 checks passed
@dwrensha dwrensha deleted the revert-single-segment-allocator branch February 19, 2024 22:32
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.

None yet

1 participant