Re: com php-src: Introduced "zend_type" - an abstraction for type-hinting representation.: Zend/zend_API.c Zend/zend_API.h
Zend/zend_builtin_functions.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_execute.c Zend/zend_inheritance.c Zend/zend_opcode.c Zend/zend_types.h
Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/com_dotnet/com_handlers.c ext/opcache/Optimizer/dfa_pass.c ext/opcache/Optimizer/zend_inference.c
ext/opcache/Optimizer/zend_optimizer
| From: | Michael Wallner | Date: | Tue, 24 Jan 2017 09:28:56 +0000 |
| Subject: | Re: com php-src: Introduced "zend_type" - an abstraction for type-hinting representation.: Zend/zend_API.c Zend/zend_API.h Zend/zend_builtin_functions.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_execute.c Zend/zend_inheritance.c Zend/zend_opcode.c Zend/zend_types.h Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/com_dotnet/com_handlers.c ext/opcache/Optimizer/dfa_pass.c ext/opcache/Optimizer/zend_inference.c ext/opcache/Optimizer/zend_optimizer |
||
| References: | 1 | Groups: | php.cvs php.internals |
| Request: | Send a blank email to internals+get-97943@lists.php.net to get a copy of this message | ||
On 13/01/17 09:37, Dmitry Stogov wrote:
> Commit: 141d1ba9801f742dc5d9ccd06e02b94284c4deb7
> Author: Dmitry Stogov <dmitry@zend.com> Fri, 13 Jan 2017 11:37:46 +0300
> Parents: 28391c30ca008013267592ab2a2eebce3da3f3b0
> Branches: master
>
> Link:
> http://git.php.net/?p=php-src.git;a=commitdiff;h=141d1ba9801f742dc5d9ccd06e02b94284c4deb7
Hi Dmitry!
Maybe I'm missing something, but it seems that reallocated arg_infos leak:
$ memcheck sapi/cli/php -v
..
..
==16031== by 0x8BA068: zend_register_functions (zend_API.c:2273)
..
..
==16031== LEAK SUMMARY:
==16031== definitely lost: 3,888 bytes in 57 blocks
..
Each leak references line 2273 in zend_API.c pointing to this commit.
> Log:
> Introduced "zend_type" - an abstraction for type-hinting representation.
>
> Changed paths:
> M Zend/zend_API.c
> M Zend/zend_API.h
> M Zend/zend_builtin_functions.c
> M Zend/zend_compile.c
> M Zend/zend_compile.h
> M Zend/zend_execute.c
> M Zend/zend_inheritance.c
> M Zend/zend_opcode.c
> M Zend/zend_types.h
> M Zend/zend_vm_def.h
> M Zend/zend_vm_execute.h
> M ext/com_dotnet/com_handlers.c
> M ext/opcache/Optimizer/dfa_pass.c
> M ext/opcache/Optimizer/zend_inference.c
> M ext/opcache/Optimizer/zend_optimizer.c
> M ext/opcache/ZendAccelerator.c
> M ext/opcache/zend_file_cache.c
> M ext/opcache/zend_persist.c
> M ext/opcache/zend_persist_calc.c
> M ext/reflection/php_reflection.c
>
>
>
--
Regards,
Mike
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc