Dmitry Stogov
ed7817530e
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Uniform placing of init_fcall guards.
2022-09-27 11:31:36 +03:00
Dmitry Stogov
ca93e48b77
Uniform placing of init_fcall guards.
...
This fixes trcing JIT with opcache.jit=51
2022-09-27 11:30:36 +03:00
Dmitry Stogov
e6831dbd82
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fixed type inference
2022-09-26 12:20:45 +03:00
Dmitry Stogov
94b8c2da9f
Fixed type inference
...
Fixes oss-fuzz #51640
2022-09-26 12:19:12 +03:00
Dmitry Stogov
1da0b45ff2
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Check "ssa_op" before dereference (it may be NULL for opcache.jit=51)
2022-09-23 13:14:53 +03:00
Dmitry Stogov
95d9e5157f
Check "ssa_op" before dereference (it may be NULL for opcache.jit=51)
2022-09-23 13:14:07 +03:00
David Carlier
c0f5d46c03
Merge branch 'PHP-8.2'
2022-09-22 11:26:22 +01:00
David Carlier
fd55b50833
Merge branch 'PHP-8.1' into PHP-8.2
2022-09-22 11:24:37 +01:00
wxue1
52f4ed16e0
Indirect call reduction for Jit code
...
Changing indirect call to direct call for Jit code
benefits the branch prediction, which gets 1% performance
gain in our workload.
Similarly, we change indirect jump to direct jump.
Signed-off-by: Su, Tao <tao.su@intel.com >
Signed-off-by: Wang, Xue <xue1.wang@intel.com >
2022-09-22 11:22:27 +01:00
Dmitry Stogov
7d794c0d33
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Intern string values of internal classes to prevent their future interning during inheritance.
2022-09-20 20:46:54 +03:00
Dmitry Stogov
bda449afe8
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Intern string values of internal classes to prevent their future interning during inheritance.
2022-09-20 20:46:44 +03:00
Dmitry Stogov
3a46f9fd1d
Intern string values of internal classes to prevent their future interning during inheritance.
2022-09-20 20:43:29 +03:00
Dmitry Stogov
8f3c1940f9
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Reorder conditions to avoid valgrind "Conditional jump or move depends on uninitialised value" warning.
2022-09-19 17:19:38 +03:00
Dmitry Stogov
5a868022e7
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Reorder conditions to avoid valgrind "Conditional jump or move depends on uninitialised value" warning.
2022-09-19 17:19:28 +03:00
Dmitry Stogov
20d1d234ca
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Reorder conditions to avoid valgrind "Conditional jump or move depends on uninitialised value" warning.
2022-09-19 17:19:19 +03:00
Dmitry Stogov
e488f7b0eb
Reorder conditions to avoid valgrind "Conditional jump or move depends on uninitialised value" warning.
2022-09-19 17:17:53 +03:00
Dmitry Stogov
4d5c6ca32d
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fix SSA construction and type inference
2022-09-19 15:46:08 +03:00
Dmitry Stogov
7496a400aa
Fix SSA construction and type inference
...
Fixes oss-fuzz #51476
2022-09-19 15:45:34 +03:00
Ilija Tovilo
dd8064c4d6
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fix test with POSIX_RLIMIT_FSIZE and gcov
2022-09-16 17:15:56 +02:00
Ilija Tovilo
3f1e9235e1
Fix test with POSIX_RLIMIT_FSIZE and gcov
2022-09-16 17:15:17 +02:00
Arnaud Le Blanc
2c1aa50c82
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fix test in "DEBUG_NTS_OPCACHE Without interned strings" build
2022-09-16 16:53:10 +02:00
Arnaud Le Blanc
ac54bfb17c
Fix test in "DEBUG_NTS_OPCACHE Without interned strings" build
2022-09-16 16:51:27 +02:00
Ilija Tovilo
17b0e498e5
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fix class link observer with file_cache_only=1
2022-09-16 14:15:43 +02:00
Ilija Tovilo
6622c54c53
Fix class link observer with file_cache_only=1
...
Previously, notify would only get called on classes with CE_CACHE.
However, during compilation class names are non-permanent which won't
get a CE_CACHE and thus wouldn't not get notified.
Closes GH-9550
2022-09-16 14:15:05 +02:00
Ilija Tovilo
128dddcdc5
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Mark gh9259_003.phpt as xfail with ASAN
2022-09-11 12:47:43 +02:00
Ilija Tovilo
e9a0d21a06
Mark gh9259_003.phpt as xfail with ASAN
...
The tests reports memory leaks.
2022-09-11 12:37:06 +02:00
Arnaud Le Blanc
0a9a8a90ae
Fix GH-9139: Allow FFI in opcache.preload when opcache.preload_user=root ( #9473 )
2022-09-09 11:00:57 +02:00
Arnaud Le Blanc
1020b74c03
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Check return value of zend_jit_trace_get_exit_addr() (#9097 )
2022-09-09 10:51:26 +02:00
Arnaud Le Blanc
3c852cf43f
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Check return value of zend_jit_trace_get_exit_addr() (#9097 )
2022-09-09 10:51:10 +02:00
Arnaud Le Blanc
466e4dc2a2
Check return value of zend_jit_trace_get_exit_addr() ( #9097 )
2022-09-09 10:50:03 +02:00
Mikhail Galanin
9bea5f443b
Add "Start time", "Last restart time" and "Last force restart time" to phpinfo()
...
for opcache.
Closes GH-9475.
2022-09-05 17:54:47 +01:00
Máté Kocsis
87862578cb
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix inexistent skipif.inc
2022-09-05 12:38:09 +02:00
Máté Kocsis
59180b50b3
Fix inexistent skipif.inc
2022-09-05 12:37:53 +02:00
Dmitry Stogov
c151e9b75b
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix type inference
2022-09-05 13:01:04 +03:00
Dmitry Stogov
c852e0fff9
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix type inference
2022-09-05 12:56:34 +03:00
Dmitry Stogov
81cb005ef7
Fix type inference
...
Fixes oss-fuzz #50792
2022-09-05 12:55:50 +03:00
Arnaud Le Blanc
ea1287b015
Log the cause of error when opcache cannot write to file cache ( #9258 )
2022-09-03 11:23:43 +02:00
Arnaud Le Blanc
fb242f41ba
Fix high opcache.interned_strings_buffer causing shm corruption ( #9260 )
2022-09-03 11:23:10 +02:00
Dmitry Stogov
a55441615c
Merge branch 'PHP-8.1'
...
* PHP-8.1:
typo
2022-08-29 17:13:23 +03:00
Dmitry Stogov
4845d7026a
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
typo
2022-08-29 17:13:16 +03:00
Dmitry Stogov
263a07e5b0
typo
2022-08-29 17:12:57 +03:00
Dmitry Stogov
218da70bcf
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix memory leak
2022-08-29 14:54:49 +03:00
Dmitry Stogov
172ac0a48d
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix memory leak
2022-08-29 14:54:40 +03:00
Dmitry Stogov
4135e6011c
Fix memory leak
...
Fixes oss-fuzz #50616
2022-08-29 14:53:48 +03:00
Dmitry Stogov
4b884bedc8
JIT: Fix missing type store
...
Fixes oss-fuzz #50653
2022-08-29 14:36:16 +03:00
Dmitry Stogov
2f9bc6e37a
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix ext/opcache/tests/jit/inc_obj_004.phpt failure introduced by fd74ee7e90
2022-08-29 12:36:06 +03:00
Dmitry Stogov
a516e2992d
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix ext/opcache/tests/jit/inc_obj_004.phpt failure introduced by fd74ee7e90
2022-08-29 12:35:46 +03:00
Dmitry Stogov
ce42dcf483
Fix ext/opcache/tests/jit/inc_obj_004.phpt failure introduced by fd74ee7e90
...
This should fix GH-9445
2022-08-29 12:30:14 +03:00
Ilija Tovilo
3264f2367d
Fix strict-prototypes warning
2022-08-26 13:57:39 +02:00
Dmitry Stogov
7f74a30018
Reduce observer overhead when restoring script from opcache ( #9413 )
...
* Reduce observer overhead when restoring script from opcache
* typo
* Split loops to keep notifications in case of redeclaration errors
2022-08-25 19:49:16 +03:00