History log of /PHP-8.3/ext/opcache/zend_persist.c (Results 151 – 175 of 289)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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).

# f32b7dbc 05-Mar-2018 Dmitry Stogov

Merge branch 'PHP-7.2'

* PHP-7.2:
Fixed "opcache.file_cache_fallback" mode.


# a8fbb153 05-Mar-2018 Dmitry Stogov

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fixed "opcache.file_cache_fallback" mode.


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

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.

12345678910>>...12