Re: About php6 gc
| From: | Derick Rethans | Date: | Tue, 10 Nov 2009 17:31:25 +0000 |
| Subject: | Re: About php6 gc | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45995@lists.php.net to get a copy of this message | ||
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