fix(victory-gpu): clear stale same-kind subranges in titlemem and add tests #419
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!419
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-419"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Lewandox on GitHub · 2026-11-26 18:03 UTC · original
Lewandox:fix/titlemem-cleanup-overlapping-ranges→main· +50 −3 · 1 files · 1 commits · closed without mergingSummary
Improves memory range hygiene and adds unit test coverage in
third_party/victory/crates/victory-gpu/src/titlemem.rs:title_rangeinserts[base, base + size), any previously tracked range that started inside(base, base + size)from an earlier allocation at the same region is cleared soRANGEScannot accumulate stale sub-ranges.title_rangewithsize == 0removes any stale entry atbaseinstead of leaving it behind.title_range,title_range_free,forget_if_stale(verifying onlyVIRTUALranges are removed),snapshotordering, and overlapping-entry cleanup.Verification
cargo test -p victory-gpu --lib titlemem::tests(default and--features diagnostics)cargo xtask policyinsidethird_party/victory@Lewandox on GitHub · 2026-11-26 19:16 UTC · original
Closing as obsolete after #409 (\ itlemem.rs\ was removed in the combined base). Keeping the PR queue clean.
Pull request closed