History log of /PHP-8.0/ext/opcache/zend_persist.c (Results 76 – 100 of 195)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 742d5a01 19-Jan-2018 Dmitry Stogov

Get rid of IS_TYPE_COPYABLE.


# 5c77bac9 16-Jan-2018 Dmitry Stogov

A cheaper way to reset type flags.


Revision tags: php-7.1.14RC1, php-7.2.2RC1
# 2223f043 12-Jan-2018 Dmitry Stogov

Cleanup (at persistence stage we may get only "user" functions; regular op_arrays can't be referenced from different places)


Revision tags: php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# a6519d05 02-Jan-2018 Xinchen Hui

year++


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


# b6581038 30-Dec-2017 Nikita Popov

Use GC_FLAGS_SHIFT in a few more places

Rather than hardcoding 8.


Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1
# 49ea143b 26-Oct-2017 Dmitry Stogov

Encapsulate reference-counting primitives.
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-count

Encapsulate reference-counting primitives.
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-counting (disabled for now).
These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.

show more ...


Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25
# f24e597c 19-Oct-2017 Anatol Belski

Constify key access for hash and formal params

Keys created in shared memory and won't be modified and are free'd on
restart. Otherwise, keys passed to functions should not be modified,

Constify key access for hash and formal params

Keys created in shared memory and won't be modified and are free'd on
restart. Otherwise, keys passed to functions should not be modified,
too.

show more ...


Revision tags: php-7.1.11RC1
# 97e7521e 10-Oct-2017 Dmitry Stogov

AST don't have to be COPYABLE anymore.


Revision tags: php-7.2.0RC4
# ef5ea487 10-Oct-2017 Dmitry Stogov

Always use IS_CONSTANT_AST (IS_CONSTANT is removed).


Revision tags: php-7.0.25RC1
# 39ded1d5 09-Oct-2017 Dmitry Stogov

Changed zend_ast_ref structure to use only one allocation, removing dichotomy between heap/arena ASTs.


# cb9d81ef 05-Oct-2017 Dmitry Stogov

Refactored recursion pretection


# e70618af 04-Oct-2017 Dmitry Stogov

Changed the way VM accesses constant operands in 64-bit builds.


Revision tags: php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1
# ad865281 17-Mar-2017 Nikita Popov

Implement jumptable optimization


Revision tags: php-7.1.3, php-7.0.17
# c6982995 04-Mar-2017 Anatol Belski

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, st

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, strings are not freed till process end
- interning per request, strings are freed at request end

There is no runtime interning.

With Opcache, all the permanent iterned strings are copied into SHM on
startup, additional copying into SHM might happen on demand.

show more ...


Revision tags: php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1
# 368958b3 30-Jan-2017 Anatol Belski

Fixed bug #73983 crash on finish work with phar in cli + opcache

The file_cache_only option causes the storage to be per process,
furthermore the arena is destroyed per request. Thus, ze

Fixed bug #73983 crash on finish work with phar in cli + opcache

The file_cache_only option causes the storage to be per process,
furthermore the arena is destroyed per request. Thus, zend_string's
can't survive between request and the permanent flag should not
be set. This is already done with the file cache part, but the
persistency part is used in various scenarios and should respect
this case as well. In this particular bug, the pcre pattern cache
needs to survive between requests and uses pattern strings as hash
keys. One more case relevant here would be various situations where
the flow disables the use of shared memory.

show more ...


Revision tags: php-5.6.30, php-7.0.15
# 141d1ba9 13-Jan-2017 Dmitry Stogov

Introduced "zend_type" - an abstraction for type-hinting representation.


Revision tags: php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0
# 3e9bb03a 28-Nov-2016 Dmitry Stogov

Removed IS_TYPE_IMMUTABLE (it's the same as COPYABLE & !REFCOUED)


Revision tags: php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11
# daa2b75c 04-Sep-2016 Nikita Popov

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

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.

show more ...


Revision tags: php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1, php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2, php-7.0.8
# 14331620 21-Jun-2016 Dmitry Stogov

Fixed compilation warnings


Revision tags: php-5.6.23, php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7, php-5.6.22RC1, php-7.0.7RC1, php-7.0.6
# 6499162f 28-Apr-2016 Dmitry Stogov

- get rid of EG(scope). zend_get_executed_scope() should be used instead.
- ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change"

- get rid of EG(scope). zend_get_executed_scope() should be used instead.
- ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change" parameter.

show more ...


12345678