Request shutdown optimization
| From: | Dmitry Stogov | Date: | Thu, 22 Jun 2017 07:29:35 +0000 |
| Subject: | Request shutdown optimization | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-99605@lists.php.net to get a copy of this message | ||
hi,
could you, please, review the PR https://github.com/php/php-src/pull/2591
The main idea is not to free request-allocated zvals, because they are freed by Zend MM anyway.
Also, shutdown_executor() code was simplified by calling destructors and closing resources, before
freeing data.
all tests are passed.
Thanks. Dmitry.