History log of /php-src/ext/opcache/zend_persist.c (Results 126 – 150 of 282)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1
# 684354be 28-Aug-2018 Dmitry Stogov

Removed incorrect efree() (run_time_cache(s) are usually allocated in CG(arena)).

Revision tags: php-7.3.0beta3, php-7.2.10RC1
# 8050f4a3 23-Aug-2018 Dmitry Stogov

Keep information about unresolved parent class in zend_class_entry->parent_name

# d140df58 23-Aug-2018 Dmitry Stogov

Keep information about unresolved interfaces in zend_class_entry->interface_names.
Move interface implementation code into ZEND_DECLARE_*CLASS opcodes.
Remove ZEND_ADD_INTERFACE and ZEND_VER

Keep information about unresolved interfaces in zend_class_entry->interface_names.
Move interface implementation code into ZEND_DECLARE_*CLASS opcodes.
Remove ZEND_ADD_INTERFACE and ZEND_VERIFY_ABSTRACT_CLASS opcodes.

show more ...

# 67397970 22-Aug-2018 Dmitry Stogov

Replace zend_class_entry->traits by persistent zend_class_entry->trait_names.
Move trait binding code into ZEND_DECLARE_*CLASS opcodes.
Remove ZEND_ADD_TRIAIT and ZEND_BIND_TRAITS opcodes.

# 93f9ee72 22-Aug-2018 Dmitry Stogov

Use zend_class_entry/zend_function type names instead of _zend_class_entry/_zend_function tags.

Revision tags: php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8
# 85ee47ed 11-Jul-2018 Dmitry Stogov

Changed structure of zend_class_entry.trait_aliases and zend_class_entry.trait_precedences to avoid keeping "intermediate" trait references, that are used only during inheritance.

Revision tags: php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3
# 004a0568 03-Jul-2018 Dmitry Stogov

Eliminated REFCOUNTED checks on persistent constant operands in SEND_VAL[_EX] and QM_ASSIGN.

# 7f67513c 25-Jun-2018 Dmitry Stogov

Lazy function copying from op_cache SHM into process memory

# 2543e61a 22-Jun-2018 Nikita Popov

Fixed bug #76509

In PHP static properties are shared between inheriting classes,
unless they are explicitly overwritten. However, because this
functionality was implemented using ref

Fixed bug #76509

In PHP static properties are shared between inheriting classes,
unless they are explicitly overwritten. However, because this
functionality was implemented using reference, it was possible
to break the implementation by reassigning the static property
reference.

This is fixed by switching the implementation from using references
to using INDIRECTs, which cannot be affected by userland code.

show more ...

Revision tags: php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1
# 44be0fa6 29-May-2018 Dmitry Stogov

Fixed HashTable load factor

# 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, php-7.1.16RC1, php-7.2.4RC1
# dcbac8ad 07-Mar-2018 Dmitry Stogov

Fixed use-after-free.

# 44e1d2f8 06-Mar-2018 Dmitry Stogov

Merge branch 'PHP-7.2'

* PHP-7.2:
Replaced usafe reference from SHM to process memory with SHM to SHM reference.


# 020a02ef 05-Mar-2018 Dmitry Stogov

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Replaced usafe reference from SHM to process memory with SHM to SHM reference.


# 50949c93 05-Mar-2018 Dmitry Stogov

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

# 47f5f878 05-Mar-2018 Dmitry Stogov

Merge branch 'PHP-7.2'

* PHP-7.2:
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 bec

Merge branch 'PHP-7.2'

* PHP-7.2:
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.

show more ...


# b48d2f6d 05-Mar-2018 Dmitry Stogov

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
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

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
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.

show more ...


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

12345678910>>...12