[php-src] PR #15559: Add API to exempt function from being JITed
| From: | bwoebi | Date: | Fri, 23 Aug 2024 18:39:52 +0000 |
| Subject: | [php-src] PR #15559: Add API to exempt function from being JITed | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28156@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15559
Author: bwoebi
Sometimes extensions need to do hideous stuff which is incompatible with JIT.
As such, I propose a simple API function to mark an op_array as blacklisted.
In the past we've been maintaining our own
(https://github.com/DataDog/dd-trace-php/blob/master/zend_abstract_interface/jit_utils/jit_blacklist.c)
solution to work around it, with a lot of dlsym and relying on JIT internals.
It would be great if that could be part of API of JIT itself.