summaryrefslogtreecommitdiff
path: root/Zend/zend_gc.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-09-13 01:52:47 +0800
committerXinchen Hui <laruence@php.net>2014-09-13 01:55:49 +0800
commit78ce2557f547b5638e0e3c4930cc035f82186427 (patch)
tree51fdfd7931dc9e418f03740555eb718a9ff105e6 /Zend/zend_gc.h
parent4db2181d4e5fad2ece558dcd72e4842e4f5b8d70 (diff)
downloadphp-git-78ce2557f547b5638e0e3c4930cc035f82186427.tar.gz
Finally!!! Fixed segfault in GC
this must not be the final fix, but let's stop the segfault first and use this to indicate where the problem is. reproduced by phpspec
Diffstat (limited to 'Zend/zend_gc.h')
-rw-r--r--Zend/zend_gc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_gc.h b/Zend/zend_gc.h
index 84b7ef3208..2eb8ea6ea3 100644
--- a/Zend/zend_gc.h
+++ b/Zend/zend_gc.h
@@ -83,6 +83,7 @@ typedef struct _gc_root_buffer {
typedef struct _zend_gc_globals {
zend_bool gc_enabled;
zend_bool gc_active;
+ zend_bool gc_full;
gc_root_buffer *buf; /* preallocated arrays of buffers */
gc_root_buffer roots; /* list of possible roots of cycles */