Dmitry Stogov
c547c1b980
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp).
2018-04-28 00:24:56 +03:00
Dmitry Stogov
c6ce03e45e
Fixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp).
2018-04-28 00:19:53 +03:00
Nikita Popov
1c887eaf0d
Merge branch 'PHP-7.2'
2018-04-27 17:02:40 +02:00
Nikita Popov
2c602be7c8
Merge branch 'PHP-7.1' into PHP-7.2
2018-04-27 17:02:01 +02:00
Nikita Popov
279ba58edb
Fixed bug #76275
...
* Adjust IS_SERIALIZED() check to account for potential empty
allocations at the end of the memory region.
* Deallocate empty allocation if all try/catch elements have been
removed in the block pass (similar to what we do if all live
ranges have been eliminated).
2018-04-27 17:01:35 +02:00
Dmitry Stogov
0aa6be3eac
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Replaced usafe reference from SHM to process memory with SHM to SHM reference
2018-03-12 11:21:46 +03:00
Dmitry Stogov
e6fb787c66
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Replaced usafe reference from SHM to process memory with SHM to SHM reference
2018-03-12 11:18:33 +03:00
Dmitry Stogov
f31c4d5398
Replaced usafe reference from SHM to process memory with SHM to SHM reference
2018-03-12 11:18:12 +03:00
Dmitry Stogov
d740024e35
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed invalid destructor
2018-03-06 00:47:05 +03:00
Dmitry Stogov
b7ebf90221
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed invalid destructor
2018-03-06 00:46:40 +03:00
Dmitry Stogov
a83581e223
Fixed invalid destructor
2018-03-06 00:46:19 +03:00
Anatol Belski
cf84e5a529
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Include username into the file cache path
2018-03-05 15:22:11 +01:00
Anatol Belski
54212dfbf9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Include username into the file cache path
2018-03-05 15:21:31 +01:00
Anatol Belski
27a603e811
Include username into the file cache path
2018-03-05 15:16:55 +01:00
Dmitry Stogov
f32b7dbc43
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed "opcache.file_cache_fallback" mode.
2018-03-05 16:21:20 +03:00
Dmitry Stogov
a8fbb15311
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed "opcache.file_cache_fallback" mode.
2018-03-05 16:15:38 +03:00
Dmitry Stogov
350082ed71
Fixed "opcache.file_cache_fallback" mode.
...
It's not safe to change value of ZCG(accel_directives).file_cache_only, becuse it might be altered by INI subsystem.
Use global variable instead.
2018-03-05 16:01:43 +03:00
Dmitry Stogov
6f483dc94c
Use macros to update specific parts of GC_TYPE_INFO() (direct assignments to GC_TYPE(), GC_FLAGS() and GC_INFO() are prohibited)
2018-02-28 00:52:12 +03:00
Xinchen Hui
5c05870ef6
Optimized fast_memcpy with AVX instructions
...
Great thanks to welting for helping :)
2018-02-15 00:18:47 +08:00
Dmitry Stogov
ca035f26aa
Moved "zval.u2.cache_slot" into free room of "zend_op"
2018-02-05 19:41:47 +03:00
Dmitry Stogov
ba298725d1
Changed CATCH instruction format (extended_value moved into op2, op2 into result, result into extended_value)
2018-01-31 22:39:30 +03:00
Dmitry Stogov
9cbb521094
Access HashTable.u.flags through HT_FLAGS() macro.
2018-01-22 13:36:15 +03:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Xinchen Hui
7a7ec01a49
year++
2018-01-02 12:55:14 +08:00
Xinchen Hui
ccd4716ec7
year++
2018-01-02 12:53:31 +08:00
Nikita Popov
b6581038eb
Use GC_FLAGS_SHIFT in a few more places
...
Rather than hardcoding 8.
2017-12-30 23:40:25 +01:00
Dmitry Stogov
dd0f3012eb
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
2017-12-21 23:44:19 +03:00
Dmitry Stogov
a1810758d5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
2017-12-21 23:36:51 +03:00
Dmitry Stogov
f2c22d11cc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
2017-12-21 23:35:23 +03:00
Dmitry Stogov
37bf8bdc14
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
2017-12-21 23:34:21 +03:00
Dmitry Stogov
ce4fb228e0
Put interned strings into regular SHM memory if there is no space in shared interned_strings_buffer.
2017-12-18 21:04:41 +03:00
Nikita Popov
bf9e2692c0
Fix relative constant addressing in file cache
...
PASS_TWO_UNDO_CONSTANT was using the serialized op_array->literals
pointer, resulting in incorrect offsets.
2017-12-10 22:34:50 +01:00
Dmitry Stogov
2e0db496fa
Fixed file_cache broken by recent AST related changes.
2017-10-10 19:37:46 +03:00
Dmitry Stogov
ef5ea48741
Always use IS_CONSTANT_AST (IS_CONSTANT is removed).
2017-10-10 10:11:05 +03:00
Dmitry Stogov
39ded1d5f8
Changed zend_ast_ref structure to use only one allocation, removing dichotomy between heap/arena ASTs.
2017-10-09 16:57:51 +03:00
Dmitry Stogov
e70618aff6
Changed the way VM accesses constant operands in 64-bit builds.
2017-10-04 16:53:01 +03:00
Nikita Popov
ad8652818a
Implement jumptable optimization
2017-04-10 22:23:14 +02:00
Dmitry Stogov
a07272e5b6
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed file-cache (Zend/tests/unused_shared_static_variables.phpt)
2017-03-03 16:13:03 +03:00
Dmitry Stogov
6158b517c4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed file-cache (Zend/tests/unused_shared_static_variables.phpt)
2017-03-03 16:12:41 +03:00
Dmitry Stogov
648b756f35
Fixed file-cache (Zend/tests/unused_shared_static_variables.phpt)
2017-03-03 16:10:46 +03:00
Dmitry Stogov
9276eb613c
Fixed file-cache support (serialization/deserialization of zend_type)
2017-03-03 12:26:49 +03:00
Dmitry Stogov
141d1ba980
Introduced "zend_type" - an abstraction for type-hinting representation.
2017-01-13 11:37:46 +03:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Xinchen Hui
de7a6b1232
MFH: Fixed fd leak (the origin commit can not be cherry-picked)
2016-06-28 11:36:27 +08:00
David Carlier
85e985f191
couple of resource leaks fixes and use after free's
2016-06-27 07:44:21 +01:00
Xinchen Hui
3e7b429663
We should always serialize the op->handler
2016-04-09 01:43:28 -07:00
Nikita Popov
8e5b139732
Evaluate arguments of new for classes without ctor
...
ML: http://markmail.org/message/4b3mk7jid64zvz34
2016-03-25 19:11:37 +01:00
Dmitry Stogov
fc7cbdce61
Squashed commit of the following:
...
commit 98471821a8
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Mar 17 21:56:04 2016 +0300
Fixed wrong constant usage
commit 8183b811e7
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Mar 17 21:10:23 2016 +0300
Added ability to serialize and serialize opcode handlers for file-cache
commit 3516b261de
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Mar 17 10:11:59 2016 +0300
Added missed file
commit f4475a2360
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Mar 17 10:00:45 2016 +0300
Transparently introduce type-specialized opcode handlers.
This affects only PHP VM, and doesn't change anything else.
2016-03-17 22:00:27 +03:00