lua-users home
lua-l archive

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


On Sun, Mar 18, 2018 at 11:08 PM, Dibyendu Majumdar <mobile@majumdar.org.uk> wrote:
On 18 March 2018 at 20:49, Petri Häkkinen <petrih3@gmail.com> wrote:
> Also, I’m not sure if luaC_barrierback() should be called when updating the array in luaH_newkey()?
>

Believe so. My understanding is that when a key is added, the table if
black must be turned to gray as black objects cannot point to white
objects. luaC_barrierback() does that.

Thanks for the info! I will make sure it is called.

Petri