[Tarantool-patches] [PATCH luajit 0/3] Follow-up fixes for full 64-bit lightuserdata interning

Sergey Kaplun skaplun at tarantool.org
Thu Sep 9 10:03:16 MSK 2021


Branch: https://github.com/tarantool/luajit/tree/skaplun/lj-727-lightuserdata-itern
Tarantool branch: https://github.com/tarantool/tarantool/tree/skaplun/lj-727-lightuserdata-itern
Issue: https://github.com/LuaJIT/LuaJIT/issues/727

The first commit (test-related) is needed to fix test behaviour for
is_deeply function for userdata object.
The second commit (refactoring) is needed to simplify cherry-pick of the
next one (and the last one) without conflicts.

Mike Pall (2):
  Reorganize lightuserdata interning code.
  Avoid conflict between 64 bit lightuserdata and ITERN key.

Sergey Kaplun (1):
  test: fix path storage for non-concatable objects

 src/lj_api.c                                  | 30 +--------
 src/lj_udata.c                                | 28 +++++++++
 src/lj_udata.h                                |  3 +
 test/tarantool-tests/CMakeLists.txt           |  1 +
 .../lj-727-lightuserdata-itern.test.lua       | 48 ++++++++++++++
 .../lj-727-lightuserdata-itern/CMakeLists.txt |  1 +
 .../lightuserdata.c                           | 63 +++++++++++++++++++
 test/tarantool-tests/tap.lua                  |  4 +-
 8 files changed, 148 insertions(+), 30 deletions(-)
 create mode 100644 test/tarantool-tests/lj-727-lightuserdata-itern.test.lua
 create mode 100644 test/tarantool-tests/lj-727-lightuserdata-itern/CMakeLists.txt
 create mode 100644 test/tarantool-tests/lj-727-lightuserdata-itern/lightuserdata.c

-- 
2.31.0



More information about the Tarantool-patches mailing list