lua-users home
lua-l archive

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

Roberto Ierusalimschy <> 于2020年7月9日周四 下午10:02写道:
> so the object is still new and everything works fine. In the
> crashing code, the «setmetatable({}, ...)» looks like the metable
> is being set right after the «{}», but the code to create the
> metatable is long and slow, aging the table.

As Andrew Gierth said, the table is G_OLD1 and the metatable is white
and G_SURVIVAL. The age difference is strange.

How it happens ?