Home
last modified time | relevance | path

Searched refs:GC_G (Results 1 – 9 of 9) sorted by relevance

/PHP-5.3/Zend/
H A Dzend_gc.c90 GC_G(gc_runs) = 0; in gc_reset()
106 GC_G(roots).next = &GC_G(roots); in gc_reset()
107 GC_G(roots).prev = &GC_G(roots); in gc_reset()
109 if (GC_G(buf)) { in gc_reset()
111 GC_G(first_unused) = GC_G(buf); in gc_reset()
123 if (GC_G(buf) == NULL && GC_G(gc_enabled)) { in gc_init()
125 GC_G(last_unused) = &GC_G(buf)[GC_ROOT_BUFFER_MAX_ENTRIES]; in gc_init()
157 } else if (GC_G(first_unused) != GC_G(last_unused)) { in gc_zval_possible_root()
212 } else if (GC_G(first_unused) != GC_G(last_unused)) { in gc_zobj_possible_root()
657 if (GC_G(roots).next != &GC_G(roots)) { in gc_collect_cycles()
[all …]
H A Dzend_gc.h30 # define GC_BENCH_INC(counter) GC_G(counter)++
31 # define GC_BENCH_DEC(counter) GC_G(counter)--
33 if (GC_G(counter) > GC_G(peak)) { \
34 GC_G(peak) = GC_G(counter); \
135 #define GC_G(v) TSRMG(gc_globals_id, zend_gc_globals *, v) macro
137 #define GC_G(v) (gc_globals.v)
173 if (GC_ADDRESS((obj)->buffered) && !GC_G(gc_active)) { \
191 root->prev = GC_G(unused); in gc_remove_from_buffer()
192 GC_G(unused) = root; in gc_remove_from_buffer()
H A Dzend.c83 if (GC_G(gc_enabled)) { in ZEND_INI_MH()
900 if (GC_G(gc_enabled) && !CG(unclean_shutdown)) { in zend_deactivate()
908 fprintf(stderr, "Runs: %d\n", GC_G(gc_runs)); in zend_deactivate()
909 fprintf(stderr, "Collected: %d\n", GC_G(collected)); in zend_deactivate()
910 fprintf(stderr, "Root buffer length: %d\n", GC_G(root_buf_length)); in zend_deactivate()
911 fprintf(stderr, "Root buffer peak: %d\n\n", GC_G(root_buf_peak)); in zend_deactivate()
915 …err, "ZVAL %8d %8d %9d %8d\n", GC_G(zval_possible_root), GC_G(zval_buffered), GC_G(zval_remove… in zend_deactivate()
916 …err, "ZOBJ %8d %8d %9d %8d\n", GC_G(zobj_possible_root), GC_G(zobj_buffered), GC_G(zobj_remove… in zend_deactivate()
H A Dzend_closures.c287 if (GC_G(gc_active)) { in zend_closure_get_properties()
H A Dzend_builtin_functions.c345 RETURN_BOOL(GC_G(gc_enabled)); in ZEND_FUNCTION()
/PHP-5.3/ext/spl/
H A Dspl_fixedarray.c155 if (intern->array && !GC_G(gc_active)) { in spl_fixedarray_object_get_properties()
H A Dspl_observer.c308 if (!GC_G(gc_active)) { in spl_object_storage_get_properties()
/PHP-5.3/ext/simplexml/
H A Dsimplexml.c1080 if (GC_G(gc_active)) { in sxe_get_prop_hash()
1086 if (GC_G(gc_active)) { in sxe_get_prop_hash()
/PHP-5.3/ext/date/
H A Dphp_date.c2134 if (!dateobj->time || GC_G(gc_active)) { in date_object_get_properties()
2280 if (!intervalobj->initialized || GC_G(gc_active)) { in date_object_get_properties_interval()

Completed in 73 milliseconds