Re: Patch for macros for tracking refcount and is_ref
| From: | Derick Rethans | Date: | Tue, 04 Sep 2007 19:07:21 +0000 |
| Subject: | Re: Patch for macros for tracking refcount and is_ref | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32051@lists.php.net to get a copy of this message | ||
On Tue, 4 Sep 2007, Marcus Boerger wrote:
> Tuesday, September 4, 2007, 6:38:17 PM, you wrote:
>
> > If ever a version of this patch is committed, you'll be able to see
> > that the cycle collector touches the whole reference counting mess
> > extremely minimally, which is why it was relatively safe to implement.
>
> Question for development, how do we ensure that starting from a specific
> point in time we enforce usage of those macros? The one thing that comes
> into my mind is that we could have the members [is_ref,refcount] prefixed
> with something different when running in debug mode, or insert some random
> prefix there....(?)
Yeah, that's what a previous patch did - I assume something like this is
part of the patch that comes after this macrofication patch.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org