Lines Matching refs:GC_INFO
108 GC_INFO_SET_ADDRESS(GC_INFO(ref), a)
110 GC_INFO_GET_COLOR(GC_INFO(ref))
112 do { GC_TRACE_SET_COLOR(ref, c); GC_INFO_SET_COLOR(GC_INFO(ref), c); } while (0)
114 do { GC_TRACE_SET_COLOR(ref, GC_BLACK); GC_INFO_SET_BLACK(GC_INFO(ref)); } while (0)
116 do { GC_TRACE_SET_COLOR(ref, GC_PURPLE); GC_INFO_SET_PURPLE(GC_INFO(ref)); } while (0)
132 ref, GC_REFCOUNT(ref), GC_ADDRESS(GC_INFO(ref)), in gc_trace_ref()
138 ref, GC_REFCOUNT(ref), GC_ADDRESS(GC_INFO(ref)), in gc_trace_ref()
143 ref, GC_REFCOUNT(ref), GC_ADDRESS(GC_INFO(ref)), in gc_trace_ref()
271 ZEND_ASSERT(!GC_ADDRESS(GC_INFO(ref))); in gc_possible_root()
292 if (UNEXPECTED(GC_INFO(ref))) { in gc_possible_root()
309 GC_INFO(ref) = (newRoot - GC_G(buf)) | GC_PURPLE; in gc_possible_root()
328 uint32_t idx = GC_ADDRESS(GC_INFO(ref)) - GC_ROOT_BUFFER_MAX_ENTRIES; in gc_find_additional_buffer()
346 ZEND_ASSERT(GC_ADDRESS(GC_INFO(ref))); in gc_remove_from_buffer()
350 if (EXPECTED(GC_ADDRESS(GC_INFO(ref)) < GC_ROOT_BUFFER_MAX_ENTRIES)) { in gc_remove_from_buffer()
351 root = GC_G(buf) + GC_ADDRESS(GC_INFO(ref)); in gc_remove_from_buffer()
360 GC_INFO(ref) = 0; in gc_remove_from_buffer()
719 GC_INFO(ref) = buf - GC_G(buf); in gc_add_garbage()
728 GC_INFO(ref) = buf - GC_G(buf); in gc_add_garbage()
746 GC_INFO(ref) = GC_ROOT_BUFFER_MAX_ENTRIES + GC_G(additional_buffer)->used; in gc_add_garbage()
790 if (!GC_INFO(ref)) {
792 if (!GC_ADDRESS(GC_INFO(ref))) {
836 if (!GC_INFO(ref)) {
838 if (!GC_ADDRESS(GC_INFO(ref))) {
907 if (EXPECTED(GC_ADDRESS(GC_INFO(current->ref)) < GC_ROOT_BUFFER_MAX_ENTRIES)) {
912 GC_INFO(current->ref) = 0; /* reset GC_ADDRESS() and keep GC_BLACK */
955 (GC_ADDRESS(GC_INFO(ref)) != 0 &&
959 if (EXPECTED(GC_ADDRESS(GC_INFO(root->ref)) < GC_ROOT_BUFFER_MAX_ENTRIES)) {
964 GC_INFO(ref) = 0;