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 @@ -25,6 +25,8 @@ PHP NEWS
25
25
- Opcache:
26
26
. Fixed bug GH-11715 (opcache.interned_strings_buffer either has no effect or
27
27
opcache_get_status() / phpinfo() is wrong). (nielsdos)
28
+ . Avoid adding an unnecessary read-lock when loading script from shm if
29
+ restart is in progress. (mikhainin)
28
30
29
31
- Standard:
30
32
. Prevent int overflow on $decimals in number_format. (Marc Bennewitz)
Original file line number Diff line number Diff line change @@ -1860,6 +1860,7 @@ zend_persistent_script *zend_file_cache_script_load(zend_file_handle *file_handl
1860
1860
1861
1861
if (!file_cache_only &&
1862
1862
!ZCSG (restart_in_progress ) &&
1863
+ !ZCSG (restart_pending ) &&
1863
1864
!ZSMMG (memory_exhausted ) &&
1864
1865
accelerator_shm_read_lock () == SUCCESS ) {
1865
1866
/* exclusive lock */
You can’t perform that action at this time.
0 commit comments