Skip to content

Commit 046a67b

Browse files
dktappscharmitro
authored andcommitted
Fix phpGH-16851: JIT_G(enabled) not set correctly on other threads
There doesn't seem to be a thread post-startup hook that runs after zend_startup_cb() that could be used for this this fix is similar to accel_startup_ok() as seen here: https://github.com/php/php-src/blob/fc1db70f106525e81f9a24539340b7cf2e82e844/ext/opcache/ZendAccelerator.c#L2631-L2634 Closes phpGH-16853.
1 parent 9b9d223 commit 046a67b

File tree

4 files changed

+2348
-902
lines changed

4 files changed

+2348
-902
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ PHP NEWS
2727
- Opcache:
2828
. Fixed bug GH-16770 (Tracing JIT type mismatch when returning UNDEF).
2929
(nielsdos, Dmitry)
30+
. Fixed bug GH-16851 (JIT_G(enabled) not set correctly on other threads).
31+
(dktapps)
3032

3133
- OpenSSL:
3234
. Prevent unexpected array entry conversion when reading key. (nielsdos)

0 commit comments

Comments
 (0)