History log of /PHP-7.1/Zend/zend_alloc.c (Results 76 – 100 of 383)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.5.21RC1, php-5.6.5RC1, POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# c0cb3a1d 16-Dec-2014 Anatol Belski

depending on declaration the tsrm cache pointer might be unavailable

during shutdown when the main thread frees all the other threads
resources. Even otherwise, exact resource passed to

depending on declaration the tsrm cache pointer might be unavailable

during shutdown when the main thread frees all the other threads
resources. Even otherwise, exact resource passed to the dtor should
be freed, not the one from the current thread.

show more ...


# e112f6a0 14-Dec-2014 Anatol Belski

second shot on removing TSRMLS_*


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


# 9e27a69c 02-Dec-2014 Dmitry Stogov

Fixed improper memory release


# 1982bce1 02-Dec-2014 Dmitry Stogov

Support for different CPU page sizes


# 109baa03 27-Nov-2014 Dmitry Stogov

Fixed compilation warnings


Revision tags: php-5.6.4RC1, php-5.5.20RC1
# 4b953534 19-Nov-2014 Veres Lajos

typo fixes - https://github.com/vlajos/misspell_fixer


Revision tags: php-5.6.3, php-5.5.19, php-5.4.35
# 1264731d 11-Nov-2014 Anatol Belski

fix printf spec


Revision tags: php-5.6.3RC1, php-5.5.19RC1
# 35576ea0 24-Oct-2014 Anatol Belski

fix datatype mismatch warnings


# 53a85841 16-Oct-2014 Nikita Popov

Fix allocator for 64bit zend_long with 32bit long


# b65518fa 16-Oct-2014 Nikita Popov

Fix format strings in zend_alloc


Revision tags: php-5.5.18
# c00424e4 15-Oct-2014 Anatol Belski

bring back all the TSRMLS_FETCH() stuff

for better comparability with the mainstream


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


12345678910>>...16