[Tarantool-patches] [PATCH luajit 0/2] Fix unsinking TNEW with huge asize
Igor Munkin
imun at tarantool.org
Thu Feb 15 16:45:47 MSK 2024
Sergey,
I've checked the patchset into all long-term branches in
tarantool/luajit and bumped a new version in master, release/3.0 and
release/2.11.
On 24.01.24, Sergey Kaplun via Tarantool-patches wrote:
> The first patch isn't necessary for the problem reproducer, but it
> simplifies it a lot. Plus, it's an easy optimization, so whatever.
> The second patch fixed the mentioned problem.
>
> Branch: https://github.com/tarantool/luajit/tree/skaplun/lj-1132-bad-snap-refs
>
> The Tarantool's CI is broken for macOS for now, so just ignore these red
> crosses.
>
> Tarantool PR: https://github.com/tarantool/tarantool/pull/9618
> Related issues:
> * https://github.com/tarantool/tarantool/issues/9595
> * https://github.com/LuaJIT/LuaJIT/issues/1128
> * https://github.com/LuaJIT/LuaJIT/issues/1132
>
>
> Mike Pall (2):
> Optimize table.new() with constant args to (sinkable) IR_TNEW.
> Only emit proper parent references in snapshot replay.
>
> src/lj_ffrecord.c | 9 ++
> src/lj_snap.c | 12 +-
> .../lj-1128-table-new-opt-tnew.test.lua | 112 ++++++++++++++++++
> .../lj-1132-bad-snap-refs.test.lua | 36 ++++++
> 4 files changed, 165 insertions(+), 4 deletions(-)
> create mode 100644 test/tarantool-tests/lj-1128-table-new-opt-tnew.test.lua
> create mode 100644 test/tarantool-tests/lj-1132-bad-snap-refs.test.lua
>
> --
> 2.43.0
>
--
Best regards,
IM
More information about the Tarantool-patches
mailing list