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

Igor Munkin imun at tarantool.org
Thu Jun 30 15:11:27 MSK 2022


Sergey,

I've checked the patches into all long-term branches in tarantool/luajit
and bumped a new version in master, 2.10 and 1.10 (only the first one).

On 09.09.21, Sergey Kaplun wrote:
> 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
> 

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list