Lines Matching refs:gc_globals

30 ZEND_API zend_gc_globals gc_globals;  variable
33 static void root_buffer_dtor(zend_gc_globals *gc_globals TSRMLS_DC) in root_buffer_dtor()
35 if (gc_globals->buf) { in root_buffer_dtor()
36 free(gc_globals->buf); in root_buffer_dtor()
37 gc_globals->buf = NULL; in root_buffer_dtor()
41 static void gc_globals_ctor_ex(zend_gc_globals *gc_globals TSRMLS_DC) in gc_globals_ctor_ex()
43 gc_globals->gc_enabled = 0; in gc_globals_ctor_ex()
44 gc_globals->gc_active = 0; in gc_globals_ctor_ex()
46 gc_globals->buf = NULL; in gc_globals_ctor_ex()
48 gc_globals->roots.next = &gc_globals->roots; in gc_globals_ctor_ex()
49 gc_globals->roots.prev = &gc_globals->roots; in gc_globals_ctor_ex()
50 gc_globals->unused = NULL; in gc_globals_ctor_ex()
51 gc_globals->zval_to_free = NULL; in gc_globals_ctor_ex()
52 gc_globals->free_list = NULL; in gc_globals_ctor_ex()
53 gc_globals->next_to_free = NULL; in gc_globals_ctor_ex()
55 gc_globals->gc_runs = 0; in gc_globals_ctor_ex()
56 gc_globals->collected = 0; in gc_globals_ctor_ex()
59 gc_globals->root_buf_length = 0; in gc_globals_ctor_ex()
60 gc_globals->root_buf_peak = 0; in gc_globals_ctor_ex()
61 gc_globals->zval_possible_root = 0; in gc_globals_ctor_ex()
62 gc_globals->zobj_possible_root = 0; in gc_globals_ctor_ex()
63 gc_globals->zval_buffered = 0; in gc_globals_ctor_ex()
64 gc_globals->zobj_buffered = 0; in gc_globals_ctor_ex()
65 gc_globals->zval_remove_from_buffer = 0; in gc_globals_ctor_ex()
66 gc_globals->zobj_remove_from_buffer = 0; in gc_globals_ctor_ex()
67 gc_globals->zval_marked_grey = 0; in gc_globals_ctor_ex()
68 gc_globals->zobj_marked_grey = 0; in gc_globals_ctor_ex()
77 gc_globals_ctor_ex(&gc_globals); in gc_globals_ctor()
84 root_buffer_dtor(&gc_globals TSRMLS_DC); in gc_globals_dtor()