Repository navigation
Conversation
|
Independent check: all six Reading note, not a blocker: the comment says the pins do not change the guest-visible counters. A Windows 10 Pro 22H2 (19045), VS 2022 RelWithDebInfo, merged onto |
8106179 to
fe9ee37
Compare
(cherry picked from commit f6586decf7e5e0b26c084825b3bd26a760bf6c67)
(cherry picked from commit 95621062dfe5a3d5337e9f7d789d25faea8b53cf)
fe9ee37 to
53ed711
Compare
Claimed in the coordination issue as: #14 (comment)
What and why
Restore two changes originally proposed in ItsNotRexed/Leonida PR 9475. A forwarded queue operation now keeps its wrapper alive until the backend returns. Signal and Wait also retain the fence wrapper while using its underlying object. The live-child index uses 256 address buckets and performs identity checks without allocating during lookup. The registry lock is released before calling the backend or releasing an underlying COM object.
The rebase preserves main's command-list, presentation, and queue-order routes. It retains the fence in the shifted Signal and Wait slots and in SignalX. The mock checks both reference counts during forwarding and after return. A reentrant AddRef or Release can observe the internal reference in its return count. Credit to VibeClauding for reviewing the original change and identifying the need to check ownership during the call.
The claim uses the unlisted-work route in CONTRIBUTING.md. A board ID can be added if the maintainers assign one.
Tested
43a9d562d: all nine CMakexs_proxy_mockcases passed on Windows, including original and shifted Signal/Wait plus SignalX ownership checks.Earlier verification:
On Windows 11 Pro 25H2 (26200.9974), Visual Studio 2022 MSVC toolset 14.36.32532, x64. All six existing mock modes passed on 8106179, including the new in-call ownership assertions. The default run also checked presentation and command-list forwarding.
The normal CMake target stopped in the separate CRT timed-wait shim on this older toolset. The proxy mock's two source files compiled directly from an x64 developer prompt:
Ran the executable with no arguments and with each of
--fail-virtualalloc,--fail-virtualprotect,--fail-veh,--env-slots, and--env-slots-invalid. The repository content guard andgit diff --checkalso passed.GPUs tested: n/a, synthetic COM backend.
AI-assisted: yes.
Checklist
43a9d562d.