History log of /PHP-8.4/Zend/zend_alloc.c (Results 201 – 225 of 496)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.4.34
# d2daa197 14-Oct-2014 Dmitry Stogov

Added API function to retrive current custom heap handlers


# 2842766d 14-Oct-2014 Dmitry Stogov

Allow to substitute storage layer in memory manager.


# cc7c14cb 06-Oct-2014 Dmitry Stogov

Use fastcall calling convention for heap functions


# 76081df1 01-Oct-2014 Anatol Belski

using pointer to the tsrm ls cache instead of a function call

yet another approach


Revision tags: php-5.5.18RC1, php-5.6.1
# 9f9b3585 30-Sep-2014 Anatol Belski

revert the local speedup approach


# 7d4f7c04 27-Sep-2014 krakjoe

approach local pointers in performance sensitive areas


# 06d0230a 26-Sep-2014 Anatol Belski

cleanup TSRMLS_FETCH


# d11734b4 25-Sep-2014 Anatol Belski

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current
patch suffers from bugs which are hard to find, but prevent it to
be worky with apache. What is done here is mainly uses the idea
from the RFC patch, but

- __thread variable is removed
- offset math and declarations are removed
- extra macros and definitions are removed

What is done merely is

- use an inline function to access the tsrm cache. The function uses
the portable tsrm_tls_get macro which is cheap
- all the TSRM_* macros are set to placebo. Thus this opens the way
remove them later

Except that, the logic is old. TSRMLS_FETCH will have to be done once
per thread, then tsrm_get_ls_cache() can be used. Things seeming to be
worky are cli, cli server and apache. I also tried to enable bz2
shared and it has worked out of the box. The change is yet minimal
diffing to the current master bus is a worky start, IMHO. Though will
have to recheck the other previously done SAPIs - embed and cgi.

The offsets can be added to the tsrm_resource_type struct, then
it'll not be needed to declare them in the userspace. Even the
"done" member type can be changed to int16 or smaller, then adding
the offset as int16 will not change the struct size. As well on the
todo might be removing the hashed storage, thread_id != thread_id and
linked list logic in favour of the explicit TLS operations.

show more ...


Revision tags: php-5.6.2
# b3aebda9 20-Sep-2014 krakjoe

native tls initial patch


# ea6da303 20-Sep-2014 Anatol Belski

make the return value more logic

as if clz() were returning 32 on empty size


# 7b4e8c64 19-Sep-2014 Anatol Belski

make use of intrinsics available with VS for bitset lookups


# e439349e 18-Sep-2014 Dmitry Stogov

Expose zend_safe_address() and use it in zend_arena_calloc()


Revision tags: php-5.4.33, php-5.5.17
# 3329d54c 16-Sep-2014 Anatol Belski

better error messages in ZMM on Windows


# 13be4a5a 16-Sep-2014 Dmitry Stogov

emalloc() must not return NULL


Revision tags: php-5.6.1RC1
# be835b2d 08-Sep-2014 Dmitry Stogov

Fixed comments and removed useless code.


# f4f9b549 06-Sep-2014 Nikita Popov

Revert "Move safe_address into zend_multiply.h"

This reverts commit 43b02e169c718335a82b8c90c3252194f988659a.

I'm getting symbol resolution issues for zend_error_noreturn in the

Revert "Move safe_address into zend_multiply.h"

This reverts commit 43b02e169c718335a82b8c90c3252194f988659a.

I'm getting symbol resolution issues for zend_error_noreturn in the
opcache.so, so reverting this for now.

show more ...


# 43b02e16 06-Sep-2014 Nikita Popov

Move safe_address into zend_multiply.h

This allows reuse in zend_arena_calloc.

Also renamed the function to zend_safe_address as it's no longer
private to the allocator.


Revision tags: php-5.5.17RC1, php-5.4.33RC1
# 6890830e 28-Aug-2014 Anatol Belski

fix number format


Revision tags: php-5.6.0
# cd8bbfa1 26-Aug-2014 Anatol Belski

fixed bitset computing on win64 build


# cb37fe1a 26-Aug-2014 Dmitry Stogov

Fixed zero-size allocation in debug build


# d285e346 26-Aug-2014 Anatol Belski

temporary fix for win64


# 661f90d4 26-Aug-2014 Dmitry Stogov

Replaced Zend Memory Manager


# b63ab832 26-Aug-2014 Anatol Belski

several signature and data type fixes


Revision tags: POST_AST_MERGE, PRE_AST_MERGE
# 4d997f63 25-Aug-2014 Anatol Belski

master renames phase 3


# 6f9f0bf2 25-Aug-2014 Anatol Belski

master renames phase 2


12345678910>>...20