Home
last modified time | relevance | path

Searched refs:gc_root_buffer (Results 1 – 3 of 3) sorted by relevance

/PHP-5.4/Zend/
H A Dzend_gc.h51 ((gc_root_buffer*)(((zend_uintptr_t)(v)) & ~GC_COLOR))
57 (v) = ((gc_root_buffer*)((((zend_uintptr_t)(v)) & ~GC_COLOR) | (c)))
59 (v) = ((gc_root_buffer*)(((zend_uintptr_t)(v)) & ~GC_COLOR))
61 (v) = ((gc_root_buffer*)(((zend_uintptr_t)(v)) | GC_PURPLE))
89 } gc_root_buffer; typedef
94 gc_root_buffer *buffered;
103 gc_root_buffer *buf; /* preallocated arrays of buffers */
104 gc_root_buffer roots; /* list of possible roots of cycles */
105 gc_root_buffer *unused; /* list of unused buffers */
106 gc_root_buffer *first_unused; /* pointer to first unused buffer */
[all …]
H A Dzend_gc.c124 GC_G(buf) = (gc_root_buffer*) malloc(sizeof(gc_root_buffer) * GC_ROOT_BUFFER_MAX_ENTRIES); in gc_init()
153 gc_root_buffer *newRoot = GC_G(unused); in gc_zval_possible_root()
208 gc_root_buffer *newRoot = GC_G(unused); in gc_zobj_possible_root()
251 gc_root_buffer* root_buffer = GC_ADDRESS(((zval_gc_info*)zv)->u.buffered); in gc_remove_zval_from_buffer()
480 gc_root_buffer *current = GC_G(roots).next; in gc_mark_roots()
616 gc_root_buffer *current = GC_G(roots).next; in gc_scan_roots()
638 if (((zval_gc_info*)(pz))->u.buffered == (gc_root_buffer*)GC_WHITE) { in zval_collect_white()
646 if (obj->buffered == (gc_root_buffer*)GC_WHITE) { in zval_collect_white()
718 if (obj->buffered == (gc_root_buffer*)GC_WHITE) { in zobj_collect_white()
756 gc_root_buffer *current = GC_G(roots).next; in gc_collect_roots()
H A Dzend_objects_API.h43 gc_root_buffer *buffered;

Completed in 9 milliseconds