php-src/ext/opcache
Niels Dossche 40a1a86f0c
Fix module shutdown crash during ZTS JIT shutdown
Commit a21195650e fixed a leak by adding a TSRM destructor for the
JIT globals in ZTS mode. In case the main thread shuts down the TSRM, it
will call all the destructors. The JIT globals destructor will be
invoked, but will always access the main thread globals using JIT_G.
This means that instead of freeing the JIT globals in the different
threads, the one in the main thread is freed repeatedly over and over,
crashing PHP. Fix it by always passing the pointer instead of relying on
JIT_G.

Closes GH-10835.

(cherry picked from commit b3e28e2290)
2023-03-14 20:41:08 +01:00
..
jit Fix module shutdown crash during ZTS JIT shutdown 2023-03-14 20:41:08 +01:00
tests Fix GH-10635: ARM64 function JIT causes impossible assertion (#10638) 2023-02-21 09:25:51 +03:00
config.m4 Don't directly include zend_jit_gdb.c 2021-06-28 10:08:45 +02:00
config.w32
CREDITS
opcache.stub.php Add more specific array return type hints for various extensions - part 3 (#7467) 2021-09-06 12:27:28 +02:00
opcache_arginfo.h Add more specific array return type hints for various extensions - part 3 (#7467) 2021-09-06 12:27:28 +02:00
shared_alloc_mmap.c Fixed some spaces used instead of tabs 2021-06-29 11:30:26 +02:00
shared_alloc_posix.c
shared_alloc_shm.c
shared_alloc_win32.c Merge branch 'PHP-8.0' 2021-07-04 23:15:14 +02:00
zend_accelerator_blacklist.c Fix GCC 9.4 uninitialized variable warning 2022-08-19 12:46:55 +01:00
zend_accelerator_blacklist.h
zend_accelerator_debug.c
zend_accelerator_debug.h
zend_accelerator_hash.c Fixed some spaces used instead of tabs 2021-06-29 11:30:26 +02:00
zend_accelerator_hash.h
zend_accelerator_module.c Fix overflow check in OnUpdateMemoryConsumption (#10456) 2023-01-27 19:33:58 +01:00
zend_accelerator_module.h
zend_accelerator_util_funcs.c Extended map_ptr before copying class table (#9188) 2022-08-01 19:25:07 +02:00
zend_accelerator_util_funcs.h
zend_file_cache.c Merge branch 'PHP-8.0' 2021-08-18 12:39:47 +02:00
zend_file_cache.h
zend_persist.c Fixed bug #81607 (CE_CACHE allocation with concurrent access) 2021-11-17 18:23:36 +03:00
zend_persist.h
zend_persist_calc.c Fixed some spaces used instead of tabs 2021-06-29 11:30:26 +02:00
zend_shared_alloc.c Fixed some spaces used instead of tabs 2021-06-29 11:30:26 +02:00
zend_shared_alloc.h
ZendAccelerator.c Fix Zend/tests/type_declarations/variance/class_order_autoload1.phpt 2023-02-28 22:57:52 +03:00
ZendAccelerator.h Merge branch 'PHP-8.0' into PHP-8.1 2021-12-15 15:39:58 +01:00