[php-src] PR #22853: Disable JIT when pthread protection is unavailable
| From: | realFlowControl | Date: | Tue, 21 Jul 2026 19:32:49 +0000 |
| Subject: | [php-src] PR #22853: Disable JIT when pthread protection is unavailable | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37226@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22853
Author: realFlowControl
Follow up to https://github.com/php/php-src/pull/22712#issuecomment-5037699889
This moves the runtime capability check into
zend_jit_check_support(). When the
pthread_jit_write_protect_np() is unavailable at runtime, OPcache now logs an
ACCEL_LOG_WARNING, disables JIT, and continues using the interpreter. This matches the
existing unsupported-JIT behavior.