Repository navigation
jit: instrument carried-coordinate fallback census (#369 closure evidence) - #623
Conversation
Assisted-by: Claude Assisted-by: Codex
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
WalkthroughThis change adds ChangesResume-PC audit instrumentation
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ast-grep (0.44.1)pyre/pyre-jit-trace/src/jitcode_dispatch.rsast-grep timed out on this file Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🤖 Codex parity reviewStatic analysis of this diff vs the local RPython/PyPy sources (commit 724543b). Files in the reviewed diff1. Regressions to PyPy parity introduced by this patchNone. 2. Other mismatches introduced by this patchNone. 3. Pre-existing mismatches (already present before this patch)None. 4. Structural adaptations
|
Report-only fire counters behind the existing
PYRE_PCMAP_PIVOT_AUDITgate +PYRE_PCMAP_PIVOT_AUDIT_PROBEsink, covering the carried-coordinate arms that remained after #602:resolve_resume_pc_with_jitcode_pc/resolve_bridge_walk_entry_pc: carried_used vs carried_none (none split into sentinel vs not-live-anchored), plus per-caller None attribution at all 8 call sitesexpand_branch_carried: passthrough / expanded_ok / expanded_failbackxlat_py_pc: pivot_hit vs legacy py-word fallbackAudit-off behavior is byte-identical (counters are gated). The corpus census taken with these counters is the closure evidence recorded on #369: carried coordinate accepted 43,968/47,996 (+1,293 bridge) per backend, every fallback/None arm 0 fires,
expanded_fail= encode-side self-certification rejection only.Verification: check.py dynasm 216/216 + cranelift 216/216 audit-off, dynasm 216/216 audit-on; cargo test green (known
test_subclass_range_preorder_boundsaggregate flake, standalone pass).🤖 Generated with Claude Code
Summary by CodeRabbit