php-src/ext/opcache
Dmitry Stogov ddc49153f1
Improve JIT TRACE coverage (#16171)
Now it's possible that PHP tracing JIT loses some parts of the "hot"
code. In case we have a root LOOP trace with an inlined call of some
function, and we get a SIDE exit inside that function - we recorded a
side trace, but finished it a the RETURN of the inlined function. As
result the opcodes betwee RETURN from SIDE trace and LOOP exit were not
covered by tracer and were executed in interpreter.

This patch introduces a "ret_depth" argument that prevents stopping
tracing on RETURN of such SIDE trace.
2024-10-02 19:27:31 +03:00
..
jit Improve JIT TRACE coverage (#16171) 2024-10-02 19:27:31 +03:00
tests Fix GH-16009: Segmentation fault with frameless functions and undefined CVs 2024-09-24 21:20:35 +02:00
config.m4 Autotools: Mark always-shared extensions with ext_shared variable (#15739) 2024-09-04 23:28:29 +02:00
config.w32 Add date extension to dependencies (#15475) 2024-08-18 16:47:57 +02:00
CREDITS
opcache.stub.php Add API to exempt function from being traced in JIT (#15559) 2024-09-24 14:20:38 +02:00
opcache_arginfo.h Add API to exempt function from being traced in JIT (#15559) 2024-09-24 14:20:38 +02:00
shared_alloc_mmap.c Merge branch 'PHP-8.3' 2024-07-23 13:43:25 +02:00
shared_alloc_posix.c opcache: change uses of sprintf into snprintf 2024-06-14 08:12:03 -07:00
shared_alloc_shm.c Make lots of string pointers const (#10646) 2023-02-21 14:01:37 +00:00
shared_alloc_win32.c Use a single version of mempcpy(3) (#12257) 2023-12-20 15:16:32 +00:00
zend_accelerator_blacklist.c Fix gcc-14 Wcalloc-transposed-args warnings 2024-04-01 20:34:14 +02:00
zend_accelerator_blacklist.h
zend_accelerator_debug.c
zend_accelerator_debug.h ext/opcache: C++ compatibility 2023-01-12 15:14:05 +00:00
zend_accelerator_hash.c Mark globals as const (#10303) 2023-01-23 13:46:58 +00:00
zend_accelerator_hash.h Revert GH-10279 2023-01-16 12:25:59 +01:00
zend_accelerator_module.c Fix regression on systems built without JIT (#16024) 2024-09-24 11:38:59 -03:00
zend_accelerator_module.h
zend_accelerator_util_funcs.c Print location on class redeclaration 2024-04-30 14:34:43 +02:00
zend_accelerator_util_funcs.h
zend_file_cache.c Remove unused ext/standard/basic_functions.h header inclusions 2024-08-18 18:20:22 +01:00
zend_file_cache.h
zend_persist.c Merge branch 'PHP-8.3' 2024-08-30 01:01:33 +03:00
zend_persist.h ext/opcache: C++ compatibility 2023-01-12 15:14:05 +00:00
zend_persist_calc.c [RFC] Property hooks (#13455) 2024-07-14 11:55:03 +02:00
zend_shared_alloc.c Merge branch 'PHP-8.3' 2024-08-29 23:12:56 +03:00
zend_shared_alloc.h Export opcache shared globals (#15543) 2024-08-26 14:54:36 +02:00
ZendAccelerator.c Add OPcache restart hook (#15590) 2024-09-24 16:24:01 +02:00
ZendAccelerator.h Add OPcache restart hook (#15590) 2024-09-24 16:24:01 +02:00