Home
last modified time | relevance | path

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

/PHP-7.1/Zend/
H A Dzend_gc.h68 } gc_root_buffer; typedef
71 ((4096 - ZEND_MM_OVERHEAD - sizeof(void*) * 2) / sizeof(gc_root_buffer))
78 gc_root_buffer buf[GC_NUM_ADDITIONAL_ENTRIES];
86 gc_root_buffer *buf; /* preallocated arrays of buffers */
87 gc_root_buffer roots; /* list of possible roots of cycles */
88 gc_root_buffer *unused; /* list of unused buffers */
89 gc_root_buffer *first_unused; /* pointer to first unused buffer */
90 gc_root_buffer *last_unused; /* pointer to last unused buffer */
92 gc_root_buffer to_free; /* list to free */
93 gc_root_buffer *next_to_free;
H A Dzend_gc.c255 GC_G(buf) = (gc_root_buffer*) malloc(sizeof(gc_root_buffer) * GC_ROOT_BUFFER_MAX_ENTRIES); in gc_init()
263 gc_root_buffer *newRoot; in gc_possible_root()
330 gc_root_buffer *root = additional_buffer->buf + idx; in gc_find_additional_buffer()
344 gc_root_buffer *root; in gc_remove_from_buffer()
594 gc_root_buffer *current = GC_G(roots).next; in gc_mark_roots()
703 gc_root_buffer *current = GC_G(roots).next; in gc_scan_roots()
713 gc_root_buffer *buf = GC_G(unused); in gc_add_garbage()
901 gc_root_buffer *current = GC_G(roots).next;
905 gc_root_buffer *next = current->next;
1054 gc_root_buffer *current, *next, *orig_next_to_free;
[all …]

Completed in 10 milliseconds