File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ PHP NEWS
21
21
- Opcache:
22
22
. Fixed bug GH-11715 (opcache.interned_strings_buffer either has no effect or
23
23
opcache_get_status() / phpinfo() is wrong). (nielsdos)
24
+ . Avoid adding an unnecessary read-lock when loading script from shm if
25
+ restart is in progress. (mikhainin)
24
26
25
27
- Standard:
26
28
. Prevent int overflow on $decimals in number_format. (Marc Bennewitz)
Original file line number Diff line number Diff line change @@ -1786,6 +1786,7 @@ zend_persistent_script *zend_file_cache_script_load(zend_file_handle *file_handl
1786
1786
1787
1787
if (!file_cache_only &&
1788
1788
!ZCSG (restart_in_progress ) &&
1789
+ !ZCSG (restart_pending ) &&
1789
1790
!ZSMMG (memory_exhausted ) &&
1790
1791
accelerator_shm_read_lock () == SUCCESS ) {
1791
1792
/* exclusive lock */
You can’t perform that action at this time.
0 commit comments