History log of /PHP-8.3/ext/opcache/zend_persist.c (Results 126 – 150 of 259)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5eb1f92f 28-May-2018 Dmitry Stogov

Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.


Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1
# 34ed8e53 03-May-2018 Dmitry Stogov

Changed worst HashTable load factor from 1.0 to 0.5


Revision tags: php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16
# b6a41ad5 14-Mar-2018 Dmitry Stogov

Fixed use-after-free


Revision tags: php-7.1.16RC1, php-7.2.4RC1
# dcbac8ad 07-Mar-2018 Dmitry Stogov

Fixed use-after-free.


# 50949c93 05-Mar-2018 Dmitry Stogov

Replaced usafe reference from SHM to process memory with SHM to SHM reference.


# b711a96a 05-Mar-2018 Dmitry Stogov

Don't keep HashTable.pDestructor in SHM and always set it into ZVAL_PTR_DTOR in zval_array_dup().
Keeping pointer to a function in SHM is not safe because of ASLR.


# d9d30a7f 05-Mar-2018 Dmitry Stogov

AST is not COPYABLE anymore and its reference-counter doesn't have to be initialized by 2.


# 84a0423e 05-Mar-2018 Dmitry Stogov

Set and keep HASH_FLAG_STATIC_KEYS for all HashTables stored in SHM (or file cache).


# 350082ed 05-Mar-2018 Dmitry Stogov

Fixed "opcache.file_cache_fallback" mode.

It's not safe to change value of ZCG(accel_directives).file_cache_only, becuse it might be altered by INI subsystem.
Use global variable instead.


Revision tags: php-7.1.15, php-5.6.34
# 6f483dc9 27-Feb-2018 Dmitry Stogov

Use macros to update specific parts of GC_TYPE_INFO() (direct assignments to GC_TYPE(), GC_FLAGS() and GC_INFO() are prohibited)


Revision tags: php-7.2.3, php-7.0.28, php-7.2.3RC1
# 5c05870e 14-Feb-2018 Xinchen Hui

Optimized fast_memcpy with AVX instructions

Great thanks to welting for helping :)


Revision tags: php-7.1.15RC1
# ca035f26 05-Feb-2018 Dmitry Stogov

Moved "zval.u2.cache_slot" into free room of "zend_op"


# ba298725 31-Jan-2018 Dmitry Stogov

Changed CATCH instruction format (extended_value moved into op2, op2 into result, result into extended_value)


Revision tags: php-7.1.14, php-7.2.2
# 9cbb5210 22-Jan-2018 Dmitry Stogov

Access HashTable.u.flags through HT_FLAGS() macro.


# 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, l, 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).


1234567891011