Count refresh mismatches per shadow copy #908
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/909"
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?
Imported from fxceless/victory-fork. Originally posted by DoubleD17 on 2026-11-25T12:24:40Z.
The opt-in refresh diagnostic keyed consecutive mismatches by address. A replacement shadow at the same address could inherit an earlier shadow's count, and a matching sample from another shadow could clear it. Store the sampled-address counts in each shadow so they are released with that copy. A synthetic CPU fixture showed the baseline warning on the replacement's first mismatch and the corrected counter warning on its third. It also checked resets, separate blocks, and the disabled diagnostic. The reviewed revision preserves the tested code paths, and the diagnostics build passed at the exact candidate commit on Windows x64 with a Ryzen 7 5800X and Rust 1.98.1 MSVC. This validates warning attribution for the investigation in #866.
AI-assisted.
Pull request closed