lua-users home
lua-l archive

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

Coda Highland <> 于2021年12月10日周五 03:29写道:

>> I don't think the things can lead to OOM error, even in finalizer.
>> The problem may ocur when we use 'collectgarbage' inside of finalizer.
>> Do concatenating, creating table, and adding a new key lead to any single 'step' in garbage collecting algorithm?
>> --Regards, Jihoi.
> They allocate memory. Memory allocations can trigger the GC if there's not enough available.

They allocate memory and advance current GC progress, but they won't
change the mode of GC.