Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32051 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28862 invoked by uid 1010); 4 Sep 2007 19:07:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28836 invoked from network); 4 Sep 2007 19:07:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Sep 2007 19:07:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.5 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.6 Received: from [82.94.239.5] ([82.94.239.5:42688] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 88/C7-14196-DECADD64 for ; Tue, 04 Sep 2007 15:07:25 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id l84J7KYW010027; Tue, 4 Sep 2007 21:07:21 +0200 Date: Tue, 4 Sep 2007 21:07:21 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: Marcus Boerger cc: David Wang , Nuno Lopes , internals@lists.php.net, andi@php.net, dmitry@php.net In-Reply-To: <849426349.20070904210047@marcus-boerger.de> Message-ID: References: <20070904162613.4qgfdddo7scw8o8w@w13.mail.sapo.pt> <849426349.20070904210047@marcus-boerger.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Subject: Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref From: derick@php.net (Derick Rethans) 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