History log of /php-src/ext/opcache/zend_accelerator_util_funcs.c (Results 101 – 125 of 197)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 8a17b1a2 14-Apr-2016 Xinchen Hui

Fixed bug #72014 (Including a file with anonymous classes multiple times leads to fatal error)

Revision tags: php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5, php-5.6.20RC1, php-7.0.5RC1, php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2
# 3d5438bf 01-Jan-2016 Lior Kaplan

Merge branch 'PHP-7.0'

* PHP-7.0:
Update header to PHP Version 7
Happy new year (Update copyright to 2016)
Happy new year (Update copyright to 2016)


# ed35de78 01-Jan-2016 Lior Kaplan

Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
Happy new year (Update copyright to 2016)


# 49493a2d 01-Jan-2016 Lior Kaplan

Happy new year (Update copyright to 2016)

Revision tags: php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1
# a75c1950 08-Dec-2015 Dmitry Stogov

Implemented the RFC `Support Class Constant Visibility`.

Squashed commit of the following:

commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9
Author: Dmitry Stogov <dmitry@zend.com

Implemented the RFC `Support Class Constant Visibility`.

Squashed commit of the following:

commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue Dec 8 12:38:42 2015 +0300

Fixed test expectation

commit 211f873f542504d0a0f72b6b5cb23908a1c99a2d
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue Dec 8 12:28:38 2015 +0300

Embed zend_class_constant.flags into zend_class_constants.value.u2.access_flags

commit 51deab84b2cdbf9cdb1a838cf33b2ee45c61748b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Mon Dec 7 11:18:55 2015 +0300

Fixed issues found by Nikita

commit 544dbd5b47e40d38a8ccb96bc5583e9cb7fdd723
Author: Dmitry Stogov <dmitry@zend.com>
Date: Sat Dec 5 02:41:05 2015 +0300

Refactored immplementation of https://wiki.php.net/rfc/class_const_visibility
@reeze created an RFC here and I emailed internals here and didn't get any responses positive/negative.

show more ...

Revision tags: php-7.0.0, php-5.6.16, php-7.0.0RC8
# 09aa68b2 11-Nov-2015 Dmitry Stogov

Break dependency between opcache and optimizer. Remove copatibility macros.

Revision tags: php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4, php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44
# 68185baf 29-Jul-2015 Bogdan Andone

opcache: Patch SSE based fast_memcpy() implementation

Use _mm_store_si128() instead of _mm_stream_si128(). This ensures that copied memory
is preserved in data cache, which is good as th

opcache: Patch SSE based fast_memcpy() implementation

Use _mm_store_si128() instead of _mm_stream_si128(). This ensures that copied memory
is preserved in data cache, which is good as the interpretor will start to use this
data without the need to go back to memory. _mm_stream* is intended to be used for
stores where we want to avoid reading data into the cache and the cache pollution;
in our scenario it seems that preserving the data in cache has a positive impact.

Tests on WordPress 4.1 show ~1% performance increase with fast_memcpy() in place
versus standard memcpy() when running php-cgi -T10000 wordpress/index.php.

I also updated SW prefetching on target memory but its contribution is almost negligible.
The address to be prefetched will be used in a couple of cycles (at the next iteration)
while the data from memory will be available in >100 cycles.

show more ...

Revision tags: php-5.6.12RC1, php-7.0.0beta2
# 453ec91d 14-Jul-2015 Xinchen Hui

Fixed bug #70067 (Cross-compile failure in opcache when SIZEOF_ZEND_LONG < SIZEOF_SIZE_T)

# b8eff44b 13-Jul-2015 Xinchen Hui

Fixed Bug #70058 Build fails when building for i386

(I don't have a m32 build env, so this is not tested)

Revision tags: php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 4a2e40bb 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).

Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2
# 0a21a0c7 15-Jun-2015 Dmitry Stogov

Removed opcache.load_comments configuration directive. Now doc comments loading costs nothing and always enabled.

Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42
# 869f662c 05-Jun-2015 Dmitry Stogov

Use better zend_hash_* functions

Revision tags: POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1
# 5ff52015 20-May-2015 Dmitry Stogov

Improved script copyining from SHM to process memory

# 6c8d49b6 19-May-2015 Dmitry Stogov

Improved hash table copying

Revision tags: php-5.5.25, php-5.6.9, php-5.4.41
# 3abde432 06-May-2015 Dmitry Stogov

Added experimental (disabled by default) file based opcode cache.

Revision tags: php-5.6.9RC1, php-5.5.25RC1
# ffe804a5 27-Apr-2015 Dmitry Stogov

Use new hash iteration API.

Revision tags: php-5.6.8, php-5.5.24, php-5.4.40, php-5.6.8RC1, php-5.5.24RC1
# 67b907f0 26-Mar-2015 Kalle Sommer Nielsen

Change the error message for colliding class/interface/trait names to be a little more clearer.

C:\> php -r "interface stdClass { }"
Error: Cannot declare interface stdClass, because

Change the error message for colliding class/interface/trait names to be a little more clearer.

C:\> php -r "interface stdClass { }"
Error: Cannot declare interface stdClass, because the name is already in use in Command Line Code on line 1

show more ...

# 927d53fd 25-Mar-2015 Kalle Sommer Nielsen

Change "Cannot redeclare class X" into "Cannot redeclare class/interface/trait X", meaning that the following:

C:\> php -r "trait A { } trait A { }"

Will now properly print "Cannot

Change "Cannot redeclare class X" into "Cannot redeclare class/interface/trait X", meaning that the following:

C:\> php -r "trait A { } trait A { }"

Will now properly print "Cannot redeclare trait A" instead of "Cannot redeclare class A" to make error messages a tiny bit clearer. Admittedly, a better solution can most likely be made by actually telling what the colliding object is a type of.

Internally this adds a new function:
zend_get_object_type()

show more ...

Revision tags: php-5.6.7
# d092cb6e 18-Mar-2015 Dmitry Stogov

Second prefetch is useless, because cahce line on modern x86 CPUs is 64 bytes long.

Revision tags: php-5.5.23, php-5.4.39
# 2b42d719 13-Mar-2015 Dmitry Stogov

Changed HashTable layout:

Removed HashTable->arHash (reduced memory consumption). Now hash slots may be accessed using HT_HASH() macro.
Hash slotas are allocated together with Buckets (b

Changed HashTable layout:

Removed HashTable->arHash (reduced memory consumption). Now hash slots may be accessed using HT_HASH() macro.
Hash slotas are allocated together with Buckets (before them) and lay in reverse order from HashTable->arData base address (see comments in Zend/zend_types.h)
Indexes in hash table and conflict resolution chains (Z_NEXT) may be stored as indeces or offsets in bytes, depending on system (32 or 64-bit).
HashTable data filelds are reordered to keep the most useful for zend_hash_find() data in the same CPU cache line.

show more ...

Revision tags: php-5.6.7RC1, php-5.5.23RC1
# 8e3643a8 05-Mar-2015 Dmitry Stogov

Avoid useless op_array duplication

Revision tags: POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# 8ec8648c 04-Mar-2015 Dmitry Stogov

Improved code for class property inheritance

# 2a724bec 21-Feb-2015 Xinchen Hui

Unused vars

# 623810ef 20-Feb-2015 Dmitry Stogov

Use fast SSE2 memcpy() for copying block of data from SHM to process memory

# 5100afb7 20-Feb-2015 Dmitry Stogov

Simplify reallocation during copying data from SHM to process memory

12345678