Repository navigation
jit(wasm): seed static marker frame green - #618
Conversation
|
Warning Review limit reached
Next review available in: 54 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 cb92ed5). 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
|
What
jit_merge_point's Ref-green register color from the source-translated JitCode sidecarpycode_boxWhy
#597 removed the direct merge-point hook and made the static marker path authoritative. The root JitCode walk still seeded only its formal red inputs (
frame,ec). On wasm, the pre-marker vable load could leave the marker'spycodeRef green symbolic, sojit_merge_pointaborted withJitMergePointGreenKeyUnresolved. Every hot key consequently interpreted forever (compiles=0,mc_entered=0) in the runtime codegen regression.This follows the RPython
_compile_and_run_onceshape: the root MIFrame receives the concrete greens that selected its warm-state cell. Int greens remain in the JitCode constant region viacopy_constants; only the per-frame Ref green is supplied through the Ref register bank. No shared portal-frame anchor or side table is introduced.Impact
Restores wasm JIT entry and global-invalidation retracing after the static-marker cutover while preserving one
pycodeidentity per frame. Native JIT benchmark behavior is unchanged.Checks
cargo check --features dynasmcargo test --features dynasmcargo test -p pyre-jit-trace static_marker_entry_recovers_ref_green_register_color --features dynasmcargo test -p majit-backend-wasm --test codegen_test -- --ignoredcargo test -p majit-backend-wasm --test codegen_test global_reassign_retraces_non_last_label_backedge_at_runtime -- --ignored --nocapture(also rerun after rebase on fresh LLBC)python3 pyre/check.py --backend dynasm --no-synthetic(11/11)