Skip to content

Minimize FreeSpace nesting#754

Open
rbs-afflitto wants to merge 3 commits into
masterfrom
feature/freespace-siblings
Open

Minimize FreeSpace nesting#754
rbs-afflitto wants to merge 3 commits into
masterfrom
feature/freespace-siblings

Conversation

@rbs-afflitto

@rbs-afflitto rbs-afflitto commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator
  • I have reviewed the OFRAK contributor guide and attest that this pull request is in accordance with it.
  • I have made or updated a changelog entry for the changes in this pull request.

One sentence summary of this PR (This should go in the CHANGELOG!)
RemoveFreeSpaceModifier now creates remaining free space as siblings instead of children.

Link to Related Issue(s)
#753

Please describe the changes in your request.
RemoveFreeSpaceModifier creates remaining FreeSpace as siblings to the original resource rather than children. Previously, the new FreeSpace would be created as children to the original, then the original's tags removed. This had the potential to create unbounded deep nesting of MemoryRegion resources when allocating many times.

Anyone you think should look at this, specifically?
@rbs-jacob

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.

1 participant