[php-src] PR #12141: Add vm_interrupt checks in JIT after zend_observer_fcall_begin
| From: | bwoebi | Date: | Wed, 06 Sep 2023 11:45:27 +0000 |
| Subject: | [php-src] PR #12141: Add vm_interrupt checks in JIT after zend_observer_fcall_begin | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23586@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12141
Author: bwoebi
This ensures that it's possible to:
a) Sample inlined functions via vm_interrupt
b) Forcefully drop out of JIT in extraordinary circumstances, e.g. values of current stack frame
changed, violating the assumptions the tracing jit does
The impact is minimal as we only do this when we have observing callbacks enabled.