lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Yes, 3-color marking algorithm, with some trick to optimization. lua 5.2 also implements generation GC experimentally, but lua5.3 abort it.

http://wiki.luajit.org/New-Garbage-Collector

I think this article may help. 

2018-01-26 16:43 GMT+08:00 Александр <cool.ipatovo@gmail.com>:
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