cvs: ZendEngine2(PHP_5_3) / zend_gc.c

From: Date: Thu, 24 Jan 2008 11:48:54 +0000
Subject: cvs: ZendEngine2(PHP_5_3) / zend_gc.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-6307@lists.php.net to get a copy of this message
dmitry Thu Jan 24 11:48:54 2008 UTC Modified files: (Branch: PHP_5_3) /ZendEngine2 zend_gc.c Log: Fixed possible GC failure because of EG(object_store).object_buckets reallocation http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_gc.c?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: ZendEngine2/zend_gc.c diff -u ZendEngine2/zend_gc.c:1.1.2.1 ZendEngine2/zend_gc.c:1.1.2.2 --- ZendEngine2/zend_gc.c:1.1.2.1 Tue Jan 22 09:27:47 2008 +++ ZendEngine2/zend_gc.c Thu Jan 24 11:48:54 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_gc.c,v 1.1.2.1 2008/01/22 09:27:47 dmitry Exp $ */ +/* $Id: zend_gc.c,v 1.1.2.2 2008/01/24 11:48:54 dmitry Exp $ */ #include "zend.h" #include "zend_API.h" @@ -203,6 +203,7 @@ zv->refcount__gc++; gc_collect_cycles(TSRMLS_C); zv->refcount__gc--; + obj = &EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj; GC_SET_PURPLE(obj->buffered); newRoot = GC_G(unused); }

« previous php.zend-engine.cvs (#6307) next »