[PHP-DEV] Re: [Bug #61649] zend gc should not mark persistent hashtable

2012-04-09 Thread Laruence
On Mon, Apr 9, 2012 at 3:09 PM, Dmitry Stogov wrote: > Hi Laruence, > > I think your patch is right, but I've never seen this problem before. > Is it related to your own extension? What does it do? Why we didn't see this > problem with other extensions? a persistent configure extension, it loads

[PHP-DEV] Re: [Bug #61649] zend gc should not mark persistent hashtable

2012-04-09 Thread Dmitry Stogov
Hi Laruence, I think your patch is right, but I've never seen this problem before. Is it related to your own extension? What does it do? Why we didn't see this problem with other extensions? Finally, I think that such persistent HashTables must be very rare, so introducing additional check wo

[PHP-DEV] Re: [Bug #61649] zend gc should not mark persistent hashtable

2012-04-06 Thread Laruence
Hi: and, yes, extension can change their code to alloc a zend_gc_info size(what I do now). however, I think, it's no need for zend_gc care about persistent memorys, right? thanks On Fri, Apr 6, 2012 at 8:21 PM, Laruence wrote: > Hi Dmitry: > >   zend gc was introducted in 5.3 > > thinki