History log of /PHP-7.3/Zend/zend_gc.c (Results 76 – 100 of 160)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8eaa0988 10-Apr-2015 Dmitry Stogov

Added GC debug code and some small optimizations.


# f29c98c1 02-Apr-2015 Dmitry Stogov

Prevent GC from changing zval or object 'color' before they are actually inserted into possible roots buffer.


Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39
# db10b725 13-Mar-2015 Dmitry Stogov

Use fastcall calling convention for most critical ZE subsystems.


Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS, php-5.6.6, php-5.5.22, php-5.4.38
# e10e151e 13-Feb-2015 Dmitry Stogov

Merged zend_array and HashTable into the single data structure.
Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write
zend_array_dup() was changed t

Merged zend_array and HashTable into the single data structure.
Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write
zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument.

show more ...


Revision tags: POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1
# a787719d 04-Feb-2015 Dmitry Stogov

Removed TSRMLS_D


Revision tags: php-5.5.21, php-5.6.5, php-5.4.37, 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
# eb6dc9db 02-Dec-2014 Adam Harvey

Make gc_collect_cycles hookable.


# 46e486ff 23-Jan-2015 Dmitry Stogov

It doesn't make sense to colect garbage after fatal errors


# f71e64e5 23-Jan-2015 Dmitry Stogov

Revert "Fixed ASSERTION"

This reverts commit 76f438e06fc61d32272a1f9877266c8d97d871ba.


# 76f438e0 23-Jan-2015 Xinchen Hui

Fixed ASSERTION


# 6f0e5aab 22-Jan-2015 Dmitry Stogov

Fixed GC after destruction of object store.


# e21fefde 22-Jan-2015 Dmitry Stogov

Fixed destruction of circular garbage


# fc33f52d 15-Jan-2015 Xinchen Hui

bump year


# 0579e827 15-Jan-2015 Xinchen Hui

bump year


# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


# 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, php-5.6.3RC1, php-5.5.19RC1, php-5.5.18, php-5.4.34, php-5.5.18RC1, php-5.6.1
# 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


Revision tags: php-5.4.33, php-5.5.17
# dfc99d93 15-Sep-2014 Xinchen Hui

Remove redundant codes


# c22458ad 12-Sep-2014 Anatol Belski

fix ZTS build


# 243ec132 12-Sep-2014 Xinchen Hui

Forget to commit this part...


# 78ce2557 12-Sep-2014 Xinchen Hui

Finally!!! Fixed segfault in GC

this must not be the final fix, but let's stop the segfault first and
use this to indicate where the problem is.

reproduced by phpspec


Revision tags: php-5.6.1RC1, php-5.5.17RC1, php-5.4.33RC1, php-5.6.0, POST_AST_MERGE, PRE_AST_MERGE, POST_64BIT_BRANCH_MERGE, PRE_64BIT_BRANCH_MERGE, php-5.5.16, php-5.4.32, POST_PHPNG_MERGE, PRE_PHPNG_MERGE, php-5.6.0RC4, php-5.3.29
# 50a76860 07-Aug-2014 Dmitry Stogov

Fixed GC for inner-loops (ext/standard/tests/array/compact_variation1.phpt).
Fixed bug #63734.


1234567