Lines Matching refs:gc_globals
241 #define GC_G(v) (gc_globals.v)
242 static zend_gc_globals gc_globals; variable
421 static void root_buffer_dtor(zend_gc_globals *gc_globals) in root_buffer_dtor() argument
423 if (gc_globals->buf) { in root_buffer_dtor()
424 free(gc_globals->buf); in root_buffer_dtor()
425 gc_globals->buf = NULL; in root_buffer_dtor()
429 static void gc_globals_ctor_ex(zend_gc_globals *gc_globals) in gc_globals_ctor_ex() argument
431 gc_globals->gc_enabled = 0; in gc_globals_ctor_ex()
432 gc_globals->gc_active = 0; in gc_globals_ctor_ex()
433 gc_globals->gc_protected = 1; in gc_globals_ctor_ex()
434 gc_globals->gc_full = 0; in gc_globals_ctor_ex()
436 gc_globals->buf = NULL; in gc_globals_ctor_ex()
437 gc_globals->unused = GC_INVALID; in gc_globals_ctor_ex()
438 gc_globals->first_unused = GC_INVALID; in gc_globals_ctor_ex()
439 gc_globals->gc_threshold = GC_INVALID; in gc_globals_ctor_ex()
440 gc_globals->buf_size = GC_INVALID; in gc_globals_ctor_ex()
441 gc_globals->num_roots = 0; in gc_globals_ctor_ex()
443 gc_globals->gc_runs = 0; in gc_globals_ctor_ex()
444 gc_globals->collected = 0; in gc_globals_ctor_ex()
447 gc_globals->root_buf_length = 0; in gc_globals_ctor_ex()
448 gc_globals->root_buf_peak = 0; in gc_globals_ctor_ex()
449 gc_globals->zval_possible_root = 0; in gc_globals_ctor_ex()
450 gc_globals->zval_buffered = 0; in gc_globals_ctor_ex()
451 gc_globals->zval_remove_from_buffer = 0; in gc_globals_ctor_ex()
452 gc_globals->zval_marked_grey = 0; in gc_globals_ctor_ex()
461 gc_globals_ctor_ex(&gc_globals); in gc_globals_ctor()
468 root_buffer_dtor(&gc_globals); in gc_globals_dtor()