File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -2184,6 +2184,7 @@ ZEND_API size_t zend_mm_gc(zend_mm_heap *heap)
21842184 chunk -> map [page_num ] = ZEND_MM_SRUN_EX (i , free_counter );
21852185
21862186 ZEND_ASAN_POISON_CHUNK_HEADER_NOT_HEAP (chunk , heap );
2187+ printf ("Getting next slot from %p during GC\n" , p );
21872188 p = zend_mm_get_next_free_slot (heap , i , p );
21882189 }
21892190
@@ -2214,6 +2215,7 @@ ZEND_API size_t zend_mm_gc(zend_mm_heap *heap)
22142215 ZEND_MM_ASSERT (ZEND_MM_SRUN_BIN_NUM (info ) == i );
22152216 if (ZEND_MM_SRUN_FREE_COUNTER (info ) == bin_elements [i ]) {
22162217 /* remove from cache */
2218+ printf ("Getting next slot from %p during GC (2)\n" , p );
22172219 p = zend_mm_get_next_free_slot (heap , i , p );
22182220 if (q == (zend_mm_free_slot * )& heap -> free_slot [i ]) {
22192221 q -> next_free_slot = p ;
@@ -2225,6 +2227,7 @@ ZEND_API size_t zend_mm_gc(zend_mm_heap *heap)
22252227 if (q == (zend_mm_free_slot * )& heap -> free_slot [i ]) {
22262228 p = q -> next_free_slot ;
22272229 } else {
2230+ printf ("Getting next slot from %p during GC (3)\n" , q );
22282231 p = zend_mm_get_next_free_slot (heap , i , q );
22292232 }
22302233 }
You can’t perform that action at this time.
0 commit comments