Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45995 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52828 invoked from network); 10 Nov 2009 17:31:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Nov 2009 17:31:31 -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 Received: from [82.94.239.5] ([82.94.239.5:34595] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 67/42-38546-073A9FA4 for ; Tue, 10 Nov 2009 12:31:30 -0500 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.8/8.13.8) with ESMTP id nAAHVPDs022769; Tue, 10 Nov 2009 18:31:25 +0100 Date: Tue, 10 Nov 2009 17:31:25 +0000 (GMT) X-X-Sender: derick@kossu.ez.no To: Mathieu Suen cc: internals@lists.php.net In-Reply-To: <4AF92277.2030908@easyflirt.com> Message-ID: References: <4AF92277.2030908@easyflirt.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] About php6 gc From: derick@php.net (Derick Rethans) On Tue, 10 Nov 2009, Mathieu Suen wrote: > By looking at the php6 gc I guess you introduce a mark and sweep gc. > Looking at the *_root function, it also seems that you have a generational > mark & sweep gc. > > I have a couple of question : > > How many generation do you have? > > What is the meaning of the different color (black, white, grey)? The synchronous collection mechanism from following paper is implemented (and an explanation upon how it works with PHP is making it into the manual soon): http://www.research.ibm.com/people/d/dfb/papers/Bacon01Concurrent.pdf This is also in PHP 5.3 though. Derick -- http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org twitter: @derickr