Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit 0/2] Fix unsinking TNEW with huge asize
@ 2024-01-24 14:11 Sergey Kaplun via Tarantool-patches
  2024-01-24 14:11 ` [Tarantool-patches] [PATCH luajit 1/2] Optimize table.new() with constant args to (sinkable) IR_TNEW Sergey Kaplun via Tarantool-patches
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Sergey Kaplun via Tarantool-patches @ 2024-01-24 14:11 UTC (permalink / raw)
  To: Maxim Kokryashkin, Sergey Bronnikov; +Cc: tarantool-patches

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-02-15 13:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-24 14:11 [Tarantool-patches] [PATCH luajit 0/2] Fix unsinking TNEW with huge asize Sergey Kaplun via Tarantool-patches
2024-01-24 14:11 ` [Tarantool-patches] [PATCH luajit 1/2] Optimize table.new() with constant args to (sinkable) IR_TNEW Sergey Kaplun via Tarantool-patches
2024-01-31  9:20   ` Maxim Kokryashkin via Tarantool-patches
2024-01-31  9:36     ` Sergey Kaplun via Tarantool-patches
2024-02-05 14:39   ` Sergey Bronnikov via Tarantool-patches
2024-01-24 14:11 ` [Tarantool-patches] [PATCH luajit 2/2] Only emit proper parent references in snapshot replay Sergey Kaplun via Tarantool-patches
2024-01-31  9:29   ` Maxim Kokryashkin via Tarantool-patches
2024-02-06  9:46   ` Sergey Bronnikov via Tarantool-patches
2024-02-06 10:07     ` Sergey Kaplun via Tarantool-patches
2024-02-06 11:07       ` Sergey Bronnikov via Tarantool-patches
2024-02-06 11:41         ` Sergey Kaplun via Tarantool-patches
2024-02-08 14:12           ` Sergey Bronnikov via Tarantool-patches
2024-02-15 13:45 ` [Tarantool-patches] [PATCH luajit 0/2] Fix unsinking TNEW with huge asize Igor Munkin via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox