diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-03-12 17:36:02 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-03-12 17:36:02 +0300 |
commit | dbb462db5d55d77dcc63237e4e33e315bd2cbd4d (patch) | |
tree | babfe7d537e8eea0cecac5eaa6f31ca332ea3ebc /Zend/zend_alloc.c | |
parent | 59e954524efc57a5e45565d255d45577e0e32215 (diff) | |
parent | 04b67bac32e5fbc0942a1e15405fa1ca7f0438fe (diff) | |
download | php-git-dbb462db5d55d77dcc63237e4e33e315bd2cbd4d.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Avoid reinitailization of ZTS cache pointer. Initialize it once in TSRM.c
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r-- | Zend/zend_alloc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 83eee90312..27879dae03 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -2723,7 +2723,6 @@ static void alloc_globals_ctor(zend_alloc_globals *alloc_globals) if (tmp && zend_atoi(tmp, 0)) { zend_mm_use_huge_pages = 1; } - ZEND_TSRMLS_CACHE_UPDATE(); alloc_globals->mm_heap = zend_mm_init(); } |