summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_gc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_gc.c b/Zend/zend_gc.c
index fbb636d71a..f999a4dd10 100644
--- a/Zend/zend_gc.c
+++ b/Zend/zend_gc.c
@@ -183,12 +183,13 @@ typedef struct _gc_root_buffer {
} gc_root_buffer;
typedef struct _zend_gc_globals {
+ gc_root_buffer *buf; /* preallocated arrays of buffers */
+
zend_bool gc_enabled;
zend_bool gc_active; /* GC currently running, forbid nested GC */
zend_bool gc_protected; /* GC protected, forbid root additions */
zend_bool gc_full;
- gc_root_buffer *buf; /* preallocated arrays of buffers */
uint32_t unused; /* linked list of unused buffers */
uint32_t first_unused; /* first unused buffer */
uint32_t gc_threshold; /* GC collection threshold */