Repository navigation
Conversation
bmjask
force-pushed
the
stack/134-cache-hot-hook-slots
branch
2 times, most recently
from
November 27, 2026 01:01
a5de045 to
4d5a973
Compare
Hot resource, command-list, allocator, fence, and queue hooks locked the global adopted-class table and scanned method names on every call. A translated draw paid this for both its draw and pipeline bind, and all recording threads contended on the same lock. Adapt xcl-dev#903 by caching the first slot at each interface-family call site. COM interface versions append methods, and a table-driven test verifies every cached method has one nonzero slot throughout its family. Cold or interface-dependent lookups remain dynamic. The Windows GNU library/test cross-check passed with the existing warnings. Windows MSVC runtime, GPU, and smoke tests were not available here. Source implementation and native tests: xcl-dev#903 by mastrr9, authored with Claude Code (Claude Opus 5.5) and audited with Antigravity. Assisted-by: Codex (GPT-5.6-sol)
bmjask
force-pushed
the
stack/134-cache-hot-hook-slots
branch
from
November 27, 2026 05:14
4d5a973 to
e67a9cf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #136.
This is an internal draft stack in
bmjask/xcl; it is not an upstream merge request.What and why
This unit isolates d3d12.x: cache invariant slots in hot hooks as one reviewable step in the redesign.
Upstream overlap
This overlaps upstream PR xcl-dev#903 and is retained only as an internal reconciliation draft.
What is in it
86c7f56dis the cleaned-stack form of integrated commit9aa35940.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
scripts/smoke.ps1main/head comparisonAI 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.