Skip to content

Fix GH-22915: Preserve parent regs in zend_jit_deoptimizer_start() - #22916

Open
arnaud-lb wants to merge 3 commits into
php:PHP-8.4from
arnaud-lb:gh22915
Open

Fix GH-22915: Preserve parent regs in zend_jit_deoptimizer_start()#22916
arnaud-lb wants to merge 3 commits into
php:PHP-8.4from
arnaud-lb:gh22915

Conversation

@arnaud-lb

@arnaud-lb arnaud-lb commented Jul 29, 2026

Copy link
Copy Markdown
Member

See GH-22915.

Fix by emitting an early RLOAD for every register that will be saved later.

This was already done at the beginning of side traces, but not in "compiled exits" aka blacklisted side traces.

Should fix https://github.com/php/php-src/actions/runs/30059575887/job/89378471139#step:15:2441.

This changes opcache.jit_max_side_traces to a PHP_INI_ALL. Should be harmless and makes the test reliable.

@arnaud-lb
arnaud-lb changed the base branch from master to PHP-8.4 July 29, 2026 09:50
@arnaud-lb
arnaud-lb marked this pull request as ready for review July 29, 2026 10:24
@arnaud-lb
arnaud-lb requested a review from dstogov as a code owner July 29, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant