diff options
author | Adam Harvey <aharvey@php.net> | 2014-12-02 12:18:18 -0800 |
---|---|---|
committer | Adam Harvey <aharvey@php.net> | 2015-01-23 19:23:58 +0000 |
commit | eb6dc9db296bfcfad56dc091cb3a327b505bc56e (patch) | |
tree | d94085ce2651b6ccff26ed424fdad72186d903ad /UPGRADING.INTERNALS | |
parent | e4271887559cc2a2c8a95825a23fe33859cef41b (diff) | |
download | php-git-eb6dc9db296bfcfad56dc091cb3a327b505bc56e.tar.gz |
Make gc_collect_cycles hookable.
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r-- | UPGRADING.INTERNALS | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 900ec41170..426288d3c5 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -15,6 +15,7 @@ PHP 7.0 INTERNALS UPGRADE NOTES n. ZEND_ENGINE_2 removal o. Updated final class modifier p. TSRM changes + q. gc_collect_cycles() is now hookable 2. Build system changes a. Unix build system changes @@ -169,6 +170,12 @@ PHP 7.0 INTERNALS UPGRADE NOTES Additionally, if an extension triggers its own threads, TSRMLS_CACHE shouldn't be passed to that threads directly. + q. gc_collect_cycles() is now a function pointer, and can be replaced in the + same manner as zend_execute_ex() if needed (for example, to include the + time spent in the garbage collector in a profiler). The default + implementation has been renamed to zend_gc_collect_cycles(), and is + exported with ZEND_API. + ======================== 2. Build system changes |