Skip to content

Fix preloaded functions not JIT-compiled again after OPcache restart - #25043

Closed
jorgsowa wants to merge 1 commit into
php:PHP-8.4from
jorgsowa:fix-jit-hot-counters-restart
Closed

jorgsowa wants to merge 1 commit into
php:PHP-8.4from
jorgsowa:fix-jit-hot-counters-restart

Conversation

@jorgsowa

Copy link
Copy Markdown
Contributor

zend_jit_restart_hot_counters() restored the hot counters but kept ZEND_FUNC_JITED, so zend_jit_hot_func() never compiled the function again. With opcache.jit_hot_func=1 this loops forever.

Flag ZEND_FUNC_JITED was introduced in #19971

zend_jit_restart_hot_counters() restored the hot counters but kept
ZEND_FUNC_JITED, so zend_jit_hot_func() never compiled the function again.
With opcache.jit_hot_func=1 this loops forever.
@jorgsowa jorgsowa closed this in 896f76d Oct 31, 2026
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.

2 participants