[Tarantool-patches] [PATCH luajit 0/2] Fix unsinking TNEW with huge asize
    Sergey Kaplun 
    skaplun at tarantool.org
       
    Wed Jan 24 17:11:07 MSK 2024
    
    
  
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
    
    
More information about the Tarantool-patches
mailing list