summaryrefslogtreecommitdiff
path: root/Zend/zend_gc.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2008-04-11 17:32:18 +0000
committerDmitry Stogov <dmitry@php.net>2008-04-11 17:32:18 +0000
commit111954d7f1aa4d9ed385f35b123e00aa1c47f559 (patch)
tree7a3c8a64d309c665d1877258a265a14a52ad4c3d /Zend/zend_gc.h
parent30fd5ba5173501af78a6bc1866381873e041c90a (diff)
downloadphp-git-111954d7f1aa4d9ed385f35b123e00aa1c47f559.tar.gz
Speedup GC initialization
Diffstat (limited to 'Zend/zend_gc.h')
-rw-r--r--Zend/zend_gc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_gc.h b/Zend/zend_gc.h
index 45fb3a7d68..d72ef72ab7 100644
--- a/Zend/zend_gc.h
+++ b/Zend/zend_gc.h
@@ -103,6 +103,8 @@ typedef struct _zend_gc_globals {
gc_root_buffer *buf; /* preallocated arrays of buffers */
gc_root_buffer roots; /* list of possible roots of cycles */
gc_root_buffer *unused; /* list of unused buffers */
+ gc_root_buffer *first_unused; /* pointer to first unused buffer */
+ gc_root_buffer *last_unused; /* pointer to last unused buffer */
zval_gc_info *zval_to_free; /* temporaryt list of zvals to free */
zval_gc_info *free_list;