Keyur
0045d16863
Fixes #72590 : Opcache restart with kill_all_lockers does not work
...
ACCEL_LOG_ERROR is special and causes a zend_bailout() and the code
never gets to call kill() in the next line after the logging. Change
the log level to WARNING.
2016-09-05 16:59:28 +02:00
Nikita Popov
daa2b75c76
Fix some sizeof(zend_long) > sizeof(size_t) issues
...
Fix a couple of mistakes that are only relevant if
sizeof(zend_long) > sizeof(size_t).
* Fix cast order in string offset check: Negation should happen
after the (zend_long) cast, otherwise sign extension does not
occur.
* Use Z_UL in zend_inference.
* Use aligned size for HT_USED_SIZE in zend_persist: The issue is
that on x86-32 uint64_t is considered to be 4-aligned, so the
alignment assumption does not hold.
2016-09-05 15:33:02 +02:00
Xinchen Hui
4b1bc2bd29
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Update NEWS
Fixed bug #72982 (Memory leak in zend_accel_blacklist_update_regexp() function)
Update NEWS and UPGRADING
Revert "Revert "Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gc ""
Revert "Revert "Merge RFC https://wiki.php.net/rfc/session-create-id ""
Revert "Revert "Add tests""
Revert "Fix NEWS"
2016-09-01 12:11:39 +08:00
Xinchen Hui
5f3a26c741
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72982 (Memory leak in zend_accel_blacklist_update_regexp() function)
2016-09-01 12:10:54 +08:00
Xinchen Hui
1ee41683dc
Fixed bug #72982 (Memory leak in zend_accel_blacklist_update_regexp() function)
2016-09-01 12:10:38 +08:00
Dmitry Stogov
8d533934e3
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Allow optional splitting of basic blocks at RECV/RECV_INIT opcodes.
2016-08-29 20:36:08 +03:00
Dmitry Stogov
94fbcbe172
Allow optional splitting of basic blocks at RECV/RECV_INIT opcodes.
2016-08-29 20:35:17 +03:00
Dmitry Stogov
6318c80347
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #72944 (Null pointer deref in zval_delref_p).
2016-08-29 12:15:37 +03:00
Dmitry Stogov
b5bab0fce8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72944 (Null pointer deref in zval_delref_p).
2016-08-29 12:07:54 +03:00
Dmitry Stogov
b66039db33
Fixed bug #72944 (Null pointer deref in zval_delref_p).
2016-08-29 12:02:50 +03:00
Christoph M. Becker
22a88d5e9a
Merge branch 'PHP-7.1'
2016-08-26 18:52:37 +02:00
Christoph M. Becker
14cd14ddaf
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-26 18:52:06 +02:00
Christoph M. Becker
c4c3eb55a7
Fix #72949 : Typo in opcache error message
2016-08-26 18:50:30 +02:00
Dmitry Stogov
7edaed6fba
Merge branch 'PHP-7.1'
...
* PHP-7.1:
op_arrays may be optimized independetly and "script" might be NULL
2016-08-23 13:18:51 +03:00
Dmitry Stogov
129e8dadf4
op_arrays may be optimized independetly and "script" might be NULL
2016-08-23 13:17:53 +03:00
Dmitry Stogov
6e7c37228f
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Don't keep dangling pointers.
2016-08-23 12:59:23 +03:00
Dmitry Stogov
76707dc204
Don't keep dangling pointers.
2016-08-23 12:58:46 +03:00
Dmitry Stogov
d79492c218
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed CFG construction for stackless execution (split basic blocks after calls)
2016-08-22 16:49:31 +03:00
Dmitry Stogov
caf890b291
Fixed CFG construction for stackless execution (split basic blocks after calls)
2016-08-22 16:48:26 +03:00
Xinchen Hui
eefe3ec786
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed segfault introduced in 447e57a1e1
Remove outdate checks
Conflicts:
ext/opcache/Optimizer/zend_inference.c
2016-08-18 15:39:23 +08:00
Xinchen Hui
66a527b8c1
Fixed segfault introduced in 447e57a1e1
2016-08-18 15:37:39 +08:00
Kalle Sommer Nielsen
447e57a1e1
Fixed 7.1 build, decls first please!
2016-08-17 20:26:32 +02:00
Nikita Popov
89f6377971
Return true for is_object() on Incomplete_Class
2016-08-15 23:13:09 +02:00
Nikita Popov
f29149b419
Merge branch 'PHP-7.1'
2016-08-05 16:32:25 +02:00
Nikita Popov
1a780e6727
Add assertion to prevent type narrowing
...
Currently type narrowing is always a bug, make sure we know about
it.
2016-08-05 16:30:57 +02:00
Nikita Popov
fc7c81ff54
Fixed bug #72762
2016-08-05 16:27:55 +02:00
Xinchen Hui
7b4157d2c4
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Make the expression more reasonble (by nikic)
2016-08-01 20:20:27 +08:00
Xinchen Hui
f93061471b
Make the expression more reasonble (by nikic)
2016-08-01 20:20:01 +08:00
Kalle Sommer Nielsen
59a7da7b49
Fix opcache build
2016-07-30 17:55:20 +02:00
Nikita Popov
42260325a4
Fix optimization of $i = $i++
2016-07-17 22:47:49 +02:00
Dmitry Stogov
0da7c08e39
Prevent wrong optimization
2016-07-13 15:05:11 +03:00
Keyur
ffa863e800
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Add to NEWS
Fixes #72590 : Opcache restart with kill_all_lockers does not work
2016-07-13 03:07:41 +00:00
Keyur
b512f4a956
Fixes #72590 : Opcache restart with kill_all_lockers does not work
...
ACCEL_LOG_ERROR is special and causes a zend_bailout() and the code
never gets to call kill() in the next line after the logging. Change
the log level to WARNING.
2016-07-13 03:01:26 +00:00
Nikita Popov
5f6effed43
Add opcodes to zend_wrong_string_offset()
2016-07-10 15:15:34 +02:00
Aaron Piotrowski
d9a9cf8eca
Merge branch 'master' into iterable
2016-07-03 22:42:10 -05:00
Dmitry Stogov
acdafc0a27
Prevent inlining through call_user_func() and call_user_func_array()
2016-07-01 00:16:54 +03:00
Dmitry Stogov
f2e4fc307b
Fixed ext/opcache/tests/bug70207.phpt
2016-06-30 21:50:57 +03:00
Dmitry Stogov
1a14533806
Introduce new CHECK_VAR instruction to keep warnings about undefined variables.
2016-06-30 21:40:34 +03:00
Dmitry Stogov
3a45242669
Disable inlining for $this->foo(), because $this may be not in object context
2016-06-30 21:05:48 +03:00
Dmitry Stogov
c3667a5eed
Disable inlining for $this->foo(), because $this may be used not in object context
2016-06-30 21:03:08 +03:00
Dmitry Stogov
5ae07dc34a
Fixed incorrect constant propagation
2016-06-30 20:48:16 +03:00
Nikita Popov
6f8273e3bf
Fix RT_CONSTANT_EX typo
2016-06-30 17:42:57 +02:00
Dmitry Stogov
d898344663
Inline simple constant functions
2016-06-30 17:04:25 +03:00
Dmitry Stogov
871cd76af4
clanup
2016-06-29 17:53:39 +03:00
Nikita Popov
2710ce22a0
Remove assert for now
2016-06-28 18:47:29 +02:00
Nikita Popov
cdd58edf42
More type inferences fixes
2016-06-28 11:49:50 +02: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
3440054ca8
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fixed format
Conflicts:
ext/opcache/zend_shared_alloc.c
2016-06-24 21:14:02 +08:00
Xinchen Hui
53de1c2830
Fixed format
2016-06-24 21:13:04 +08:00