Repository navigation
Fix exclusive arena allocation across child arenas - #1404
Closed
OscarTHZhang wants to merge 1 commit into
Closed
OscarTHZhang wants to merge 1 commit into
OscarTHZhang wants to merge 1 commit into
Conversation
Contributor
Author
|
Daan (@daanx) This is fixing #1403 |
Daan (daanx)
added a commit
that referenced
this pull request
Sep 17, 2026
Collaborator
|
Thanks for the PR! However, I don't think it was quite right as we cannot assume children necessarily get indices following the parent. I pushed a fix and included your test in the test-api. Hope that's ok :-) |
|
Just to nitpick, the issue was not specific to the arena being exclusive, but rather the heap specifying a particular arena, right? |
Collaborator
Yes, the heap specified a particular arena and the search would quite too soon without looking at all potential "child" arenas (if an arena is > 16 GiB it gets split in a parent and child arenas). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Search child arenas after the requested parent arena is exhausted, allowing exclusive heaps to use managed memory areas larger than 16 GiB. Add a lightweight regression test covering a 24 GiB arena in Debug and Release builds.