com php-src: Merge branch 'PHP-7.2' into PHP-7.3: ext/opcache/ZendAccelerator.c

From: Date: Fri, 14 Jun 2019 10:29:30 +0000
Subject: com php-src: Merge branch 'PHP-7.2' into PHP-7.3: ext/opcache/ZendAccelerator.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106789@lists.php.net to get a copy of this message
Commit: 96a6f7f7f572875e0d18de21f5f67429d1ffe099 Author: Dmitry Stogov <dmitry@zend.com> Fri, 14 Jun 2019 13:29:30 +0300 Parents: a5b39abd86cf16899075c5135521d71275f945e6 28808ca96d202e63db0c407548f4fb7d4cb46d9f Branches: PHP-7.3 PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=96a6f7f7f572875e0d18de21f5f67429d1ffe099 Log: Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Backport 96a12578c13b5c37195b10526fcdc669b795644d Changed paths: MM ext/opcache/ZendAccelerator.c Diff: diff --cc ext/opcache/ZendAccelerator.c index 1bf2148,70508b6..8ba2427 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@@ -751,13 -655,12 +751,12 @@@ static void accel_use_shm_interned_stri SHM_UNPROTECT(); zend_shared_alloc_lock(); - if (ZCSG(interned_strings_saved_top) == NULL) { + if (ZCSG(interned_strings).saved_top == NULL) { accel_copy_permanent_strings(accel_new_interned_string); } else { + ZCG(counted) = 1; accel_copy_permanent_strings(accel_replace_string_by_shm_permanent); - if (ZCG(counted)) { - accel_deactivate_sub(); - } + ZCG(counted) = 0; } accel_interned_strings_save_state();

« previous php.cvs (#106789) next »