[Tarantool-patches] [PATCH luajit 0/2] Correct allocation limit without JIT

Sergey Bronnikov sergeyb at tarantool.org
Wed Mar 4 18:40:44 MSK 2026


Hi, Sergey,

LGTM patch series.

On 3/2/26 11:05, Sergey Kaplun wrote:
> This patch-set fixes the allocation limit for the build with disabled
> JIT. The first commit helps to catch the error early in tests by the
> correct check of the address returned by the allocator.
>
> Branch:https://github.com/tarantool/luajit/tree/skaplun/lj-1430-alloc-limit
> Related issues:
> *https://github.com/LuaJIT/LuaJIT/issues/1430
> *https://github.com/tarantool/tarantool/issues/12134
> Related ML thread:https://www.freelists.org/post/luajit/Provide-error-outputdetails-upon-luaL-newstate-failures
>
> Mike Pall (2):
>    Fix pointer check for non-GC64 mode.
>    x64/!LJ_GC64: The allocation limit is required for a no-JIT build,
>      too.
>
>   src/lj_alloc.c                                |  4 +-
>   src/lj_def.h                                  |  3 +-
>   .../lj-1430-internal-alloc-limit.test.lua     | 39 +++++++++++++++++++
>   3 files changed, 43 insertions(+), 3 deletions(-)
>   create mode 100644 test/tarantool-tests/lj-1430-internal-alloc-limit.test.lua
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20260304/9b828dc5/attachment.htm>


More information about the Tarantool-patches mailing list