[Tarantool-patches] [PATCH luajit] Prevent snapshot purge while recording a function header.
Sergey Bronnikov
sergeyb at tarantool.org
Tue Mar 10 17:19:45 MSK 2026
Hi, Sergey!
On 3/3/26 15:01, Sergey Kaplun wrote:
> Hi, Sergey!
> Thanks for the review!
> See my answer below.
>
> On 03.03.26, Sergey Bronnikov wrote:
>> Hi, Sergey,
>>
>> thanks for the patch! LGTM with a minor comment.
>>
>> Sergey
>>
>> On 2/25/26 15:11, Sergey Kaplun wrote:
> <snipped>
>
>>> +
>>> +local checkers = {}
>>> +
>>> +-- Called twice for the pseudo-type that aliases base Lua type via
>>> +-- checkers map.
>>> +local function checks(expected_type)
>>> + -- Value expected to be `checks_tab()` or `checks_obj()`
>>> + -- argument. It is always a table.
>>> + local _, value = debug_getlocal(2, 1)
>>> + -- Simple stitching function. Additional arguments are needed to
>>> + -- occupy the corresponding slot.
>> It is not clear for me why this corresponding slot is needed.
>>
>> The bug can be reproduced without double nil's passed to math_modf().
> Not for all builds (i.e. GC64 and non-GC64).
ok, thanks for the answer!
LGTM then
<snipped>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20260310/bd6fb1be/attachment.htm>
More information about the Tarantool-patches
mailing list