Skip to content

Frame clock: remove paced wait allocations and validate writes - #90

Draft
bmjask wants to merge 1 commit into
stack/086-bound-far-jump-allocationfrom
stack/087-frame-wait-allocation
Draft

bmjask wants to merge 1 commit into
stack/086-bound-far-jump-allocationfrom
stack/087-frame-wait-allocation

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #89.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates frame clock: remove paced wait allocations and validate writes as one reviewable step in the redesign.

Upstream overlap

This adapts upstream PR xcl-dev#2692 and is retained only as an internal reconciliation draft.

What is in it

  • 5fcf5275 is the cleaned-stack form of integrated commit 21450205.

The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.

Tested

Tests were not rerun while packaging this already-integrated change into the draft stack.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.

Validate WaitFrameEventX's signaled-index target as committed, unguarded, and writable without touching its pages. Replace ancillary and paced wait handle vectors with fixed stack storage, avoid the scheduled-handle Arc clone on the paced path, and use deques for bounded frame history eviction.

Adapted from xcl-dev#2692.
Part of #103.

Assisted-by: Google Antigravity (Gemini 4 Neon)
Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/087-frame-wait-allocation branch from b4bb5ee to f11d914 Compare November 27, 2026 05:14
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