]> granicus.if.org Git - php/commit
Reimplemented OPcache restart trigger. Now, if memory or hash are full the restart...
authorDmitry Stogov <dmitry@zend.com>
Thu, 28 Mar 2013 09:34:59 +0000 (13:34 +0400)
committerDmitry Stogov <dmitry@zend.com>
Thu, 28 Mar 2013 09:34:59 +0000 (13:34 +0400)
commit037ea6f36076f9f213cec2f305b8a395f4f40897
treeb0966158712222122a0400977ac7afd3ce1c6beb
parent031553cd011dcc73a062a540f24ff41c310bc4a9
Reimplemented OPcache restart trigger. Now, if memory or hash are full the restart is scheduled only in case the amount of wasted memory is above opcache.max_wasted_percentage. Otherwise OPcahce continue serving the following requests using already cached files, but doesn't try to add new files (the cache is full anyway).
ext/opcache/ZendAccelerator.c
ext/opcache/ZendAccelerator.h
ext/opcache/zend_accelerator_module.c
ext/opcache/zend_shared_alloc.c