Skip to content

ZJIT: Recompile when super receives a block - #1102

Closed
efegokdemir wants to merge 1 commit into
Shopify:masterfrom
efegokdemir:efe/zjit-super-recompile-01a19849
Closed

efegokdemir wants to merge 1 commit into
Shopify:masterfrom
efegokdemir:efe/zjit-super-recompile-01a19849

Conversation

@efegokdemir

Copy link
Copy Markdown

Mark the block-handler guard on the specialised super path for recompilation so ZJIT can reprofile the ISEQ after the guard exits. Add a regression test that checks the compiled ISEQ is invalidated.

make -j8, the focused ZJIT regression test, and make test-all TESTS="../test/ruby/test_zjit_cli.rb" passed (27 tests, 7,624 assertions). The full ZJIT suite was not run because cargo-nextest is not installed.

@github-actions github-actions Bot added the jit label Nov 4, 2026
@tekknolagi

Copy link
Copy Markdown

Please file PRs to ruby/ruby.

@tekknolagi tekknolagi closed this Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants