cvs: ZendEngine2 / zend_gc.c

From: Date: Thu, 24 Jan 2008 11:54:55 +0000
Subject: cvs: ZendEngine2 / zend_gc.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-6308@lists.php.net to get a copy of this message
dmitry Thu Jan 24 11:54:55 2008 UTC Modified files: /ZendEngine2 zend_gc.c Log: Fixed possible GC failure bacause of EG(object_store).object_buckets reallocation http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_gc.c?r1=1.2&r2=1.3&diff_format=u Index: ZendEngine2/zend_gc.c diff -u ZendEngine2/zend_gc.c:1.2 ZendEngine2/zend_gc.c:1.3 --- ZendEngine2/zend_gc.c:1.2 Tue Jan 22 09:29:29 2008 +++ ZendEngine2/zend_gc.c Thu Jan 24 11:54:55 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_gc.c,v 1.2 2008/01/22 09:29:29 dmitry Exp $ */ +/* $Id: zend_gc.c,v 1.3 2008/01/24 11:54:55 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 (#6308) next »