php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #71166
Patch decrease-root_buf_length-correctly revision 2015-12-19 08:11 UTC by y dot uchiyama dot 1015 at gmail dot com

Patch decrease-root_buf_length-correctly for Scripting Engine problem Bug #71166

Patch version 2015-12-19 08:11 UTC

Return to Bug #71166 | Download this patch
Patch Revisions:

Developer: y.uchiyama.1015@gmail.com

diff --git a/Zend/zend_gc.c b/Zend/zend_gc.c
index 74c5348..a7458e9 100644
--- a/Zend/zend_gc.c
+++ b/Zend/zend_gc.c
@@ -852,6 +852,7 @@ static int gc_collect_roots(uint32_t *flags, gc_additional_buffer **additional_b
 		if (GC_REF_GET_COLOR(current->ref) == GC_WHITE) {
 			count += gc_collect_white(current->ref, flags, additional_buffer);
 		}
+		GC_BENCH_DEC(root_buf_length);
 		current = current->next;
 	}
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 18:01:32 2024 UTC