Dmitry Stogov
1f25dea498
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
memory_consumption must be page aligned
2023-10-23 12:11:01 +03:00
Dmitry Stogov
fed7937d27
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
memory_consumption must be page aligned
2023-10-23 12:10:54 +03:00
Dmitry Stogov
e270ee3008
memory_consumption must be page aligned
2023-10-23 12:10:11 +03:00
Dmitry Stogov
a1818dd00c
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed GH-12494: Zend/tests/arginfo_zpp_mismatch.phpt causes a segfault withJIT + --repeat 2
2023-10-23 10:51:59 +03:00
Dmitry Stogov
6be3c18d38
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed GH-12494: Zend/tests/arginfo_zpp_mismatch.phpt causes a segfault withJIT + --repeat 2
2023-10-23 10:51:48 +03:00
Dmitry Stogov
e0ca4dca5b
Fixed GH-12494: Zend/tests/arginfo_zpp_mismatch.phpt causes a segfault withJIT + --repeat 2
2023-10-23 10:50:55 +03:00
Ilija Tovilo
874f966cbc
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Avoid JIT warning with opcache.jit_buffer_size=0
2023-10-18 10:49:14 +02:00
Ilija Tovilo
b49e178563
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Avoid JIT warning with opcache.jit_buffer_size=0
2023-10-18 10:49:07 +02:00
Ilija Tovilo
07d81592e9
Avoid JIT warning with opcache.jit_buffer_size=0
...
Closes GH-12460
2023-10-18 10:46:30 +02:00
Dmitry Stogov
a831cbcde4
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed GH-11917: primitives seem to be passed via reference instead of by value under some conditions when JIT is enabled on windows (#12451 )
2023-10-17 01:58:49 +03:00
Dmitry Stogov
ef91794264
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed GH-11917: primitives seem to be passed via reference instead of by value under some conditions when JIT is enabled on windows (#12451 )
2023-10-17 01:58:36 +03:00
Dmitry Stogov
89eb1c64a9
Fixed GH-11917: primitives seem to be passed via reference instead of by value under some conditions when JIT is enabled on windows ( #12451 )
2023-10-17 01:58:07 +03:00
Dmitry Stogov
d2cf3a45b5
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed GH-12428: Assertion with function/tracing JIT
2023-10-16 15:12:38 +03:00
Dmitry Stogov
0c6999cf94
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed GH-12428: Assertion with function/tracing JIT
2023-10-16 15:12:29 +03:00
Dmitry Stogov
dabced0fbb
Fixed GH-12428: Assertion with function/tracing JIT
2023-10-16 15:11:56 +03:00
Ilija Tovilo
477aadedc7
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Report warning if JIT cannot be enabled
2023-10-11 12:12:30 +02:00
Ilija Tovilo
18942459a2
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Report warning if JIT cannot be enabled
2023-10-11 12:11:59 +02:00
Daniil Gentili
7177461141
Report warning if JIT cannot be enabled
...
Closes GH-12404
2023-10-11 12:10:48 +02:00
Dmitry Stogov
5553092d85
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Reset inheritance_cache pointer of zend_class_entry upon serialization (#12401 )
2023-10-11 09:57:43 +03:00
Dmitry Stogov
310b5283eb
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Reset inheritance_cache pointer of zend_class_entry upon serialization (#12401 )
2023-10-11 09:57:35 +03:00
Sergei Turchanov
90f2e7607a
Reset inheritance_cache pointer of zend_class_entry upon serialization ( #12401 )
...
to opcache filecache. Usually, when a class is being loaded, a dependency
tracking is performed after the call to zend_file_cache_script_store.
But sometimes, when opcache cache is empty and there are many simultaneous
outstanding requests for compilation, some classes do have their
inheritance_cache initialized before the call to zend_file_cache_script_store,
and in that case this pointer is serialized as-is. And when such a class
is loaded from opcache filecache this pointer also loaded as-is, and now
it points to some random location in memory. This causes segfaults occuring
when traversing inheritance_cache of such classes.
We need to reset inheritance_cache pointer of zend_class_entry
upon serialization. This should have been done anyway since it is a sensible
strategy to sanitize any memory pointer upon serialization (either by calling
SERIALIZE_x macros or setting to NULL or any other deterministic value).
2023-10-11 09:57:18 +03:00
Dmitry Stogov
4589cab946
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed possible use-after-free
2023-10-10 00:01:58 +03:00
Dmitry Stogov
70ff3c378d
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed possible use-after-free
2023-10-10 00:01:49 +03:00
Dmitry Stogov
2297e8c143
Fixed possible use-after-free
2023-10-10 00:01:03 +03:00
Niels Dossche
58a1103bee
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-8996: DOMNode serialization on PHP ^8.1
Fix GH-12380: JIT+private array property access inside closure accesses private property in child class
2023-10-09 22:12:05 +02:00
Niels Dossche
5e1058b426
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix GH-8996: DOMNode serialization on PHP ^8.1
Fix GH-12380: JIT+private array property access inside closure accesses private property in child class
2023-10-09 22:10:54 +02:00
Niels Dossche
fb6838770c
Fix GH-12380: JIT+private array property access inside closure accesses private property in child class
...
For private fields, the scope has to be taken into account, otherwise
the property info may come from the wrong ce.
Closes GH-12381.
2023-10-09 22:10:05 +02:00
Dmitry Stogov
8fa3539cbf
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12364: JIT leak in Symfony TranslationDebugCommandTest (#12394 )
2023-10-09 23:07:45 +03:00
Dmitry Stogov
5a276bf478
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix GH-12364: JIT leak in Symfony TranslationDebugCommandTest (#12394 )
2023-10-09 23:07:39 +03:00
Dmitry Stogov
36b2c5dc88
Fix GH-12364: JIT leak in Symfony TranslationDebugCommandTest ( #12394 )
2023-10-09 23:07:34 +03:00
Dmitry Stogov
92ba5c2c80
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix incorrect trace type inference
2023-10-09 22:58:31 +03:00
Dmitry Stogov
176b79fe7f
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix incorrect trace type inference
2023-10-09 22:58:21 +03:00
Dmitry Stogov
44a7016049
Fix incorrect trace type inference
...
Fixes GH-12365
2023-10-09 22:57:31 +03:00
Dmitry Stogov
9e1e1bc6c2
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed GH-12382: JIT Index invalid or out of range error
2023-10-09 11:20:48 +03:00
Dmitry Stogov
b38c57b4fc
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed GH-12382: JIT Index invalid or out of range error
2023-10-09 11:20:36 +03:00
Dmitry Stogov
5a8f96b0bb
Fixed GH-12382: JIT Index invalid or out of range error
2023-10-09 11:20:18 +03:00
Ilija Tovilo
20d2ecf494
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix SKIPIF jit test
2023-10-04 15:06:40 +02:00
Ilija Tovilo
6f8261ed79
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix SKIPIF jit test
2023-10-04 15:06:32 +02:00
Ilija Tovilo
6e7e52de19
Fix SKIPIF jit test
...
JIT can be available but disabled, in which case the array offset 'jit' is still
available.
2023-10-04 15:05:41 +02:00
Ilija Tovilo
bc14827203
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
[skip ci] Test opcache_invalidate() return value for deleted files
2023-10-03 15:56:21 +02:00
Ilija Tovilo
b13f743761
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
[skip ci] Test opcache_invalidate() return value for deleted files
2023-10-03 15:56:16 +02:00
Ilija Tovilo
cad1660501
[skip ci] Test opcache_invalidate() return value for deleted files
2023-10-03 15:55:44 +02:00
Ilija Tovilo
520fc70245
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Invalidate path even if the file was deleted
2023-10-03 15:32:53 +02:00
Ilija Tovilo
6274970bee
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Invalidate path even if the file was deleted
2023-10-03 15:32:28 +02:00
Mikhail Galanin
f4ab494906
Invalidate path even if the file was deleted
...
Closes GH-12323
2023-10-03 15:31:39 +02:00
Dmitry Stogov
9bfdb4cf4b
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed GH-12262: Tracing JIT assertion crash when using phpstan
2023-10-03 13:25:36 +03:00
Dmitry Stogov
101bd1b199
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed GH-12262: Tracing JIT assertion crash when using phpstan
2023-10-03 13:25:22 +03:00
Dmitry Stogov
54452b4811
Fixed GH-12262: Tracing JIT assertion crash when using phpstan
2023-10-03 13:22:33 +03:00
Niels Dossche
0427e26729
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix #80092 : ZTS + preload = segfault on shutdown
2023-10-02 19:42:10 +02:00
Niels Dossche
28a909d40a
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix #80092 : ZTS + preload = segfault on shutdown
2023-10-02 19:37:09 +02:00