[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: About current garbage collector implementation
- From: Paige DePol <lual@...>
- Date: Fri, 26 Jan 2018 06:54:52 -0600
Xianfu Pan <email@example.com> wrote:
> Yes, 3-color marking algorithm, with some trick to optimization. lua 5.2
> also implements generation GC experimentally, but lua5.3 abort it.
> I think this article may help.
> 2018-01-26 16:43 GMT+08:00 Александр <firstname.lastname@example.org>: Hi all. I
> want to learn lua internals. Is there any reference to current
> implementation of Lua garbage collector? Maybe it was taken from some
> book? or does it have own implementation? I suppose that lua uses standard
> 3-color marking algorithm, but I am not sure (and unfortunately I did not
> find descriptive article about such aglrotihm). Thanks for response
Yes, the LuaJIT wiki article on GC is a great resource and helped me
understand how garbage collection worked as well.