From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 971356F3F2; Thu, 9 Sep 2021 10:04:45 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 971356F3F2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1631171085; bh=Wy61FUQaacGwcr/DVxsAR3iCEfSuoXTYR9lmCqsYP5Q=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=I5Kku2i/XdJv+spcgRNqO1I5ZRIUmgxSIo09PPq90t6D6Ke7A98qd2/VqAMK132yM XsXut3yUcd0yFzBtMKuJwd9ZaNbWqn6xpSFphPPCzc0pgBrxNLSDga4YaB3vZNNY28 ULKMdb3dFDqnL+K5iWnt+4QdjDuZDyu+2gnp0Agk= Received: from smtp42.i.mail.ru (smtp42.i.mail.ru [94.100.177.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id DFC546EC55 for ; Thu, 9 Sep 2021 10:04:43 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org DFC546EC55 Received: by smtp42.i.mail.ru with esmtpa (envelope-from ) id 1mOE70-0000qt-F8; Thu, 09 Sep 2021 10:04:42 +0300 To: Igor Munkin , Sergey Ostanevich Date: Thu, 9 Sep 2021 10:03:16 +0300 Message-Id: X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD91AE02D33A9C88A2FBA0FFC16CEFBFC694531AE86BFF036DF00894C459B0CD1B94A96DCD151EC6EF1FF40CDC6F08490712D88DA3C501BBACFAF0056C46A67EA41 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7A3DED2DACB82E709C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE76C0A440987CA342D8F08D7030A58E5AD1A62830130A00468AEEEE3FBA3A834EE7353EFBB55337566BF3286B3348795C658041FB8633423E5823EC9F2588EBC72A471835C12D1D9774AD6D5ED66289B5278DA827A17800CE7328B01A8D746D8839FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C3CA5A41EBD8A3A0199FA2833FD35BB23DF004C906525384302BEBFE083D3B9BA71A620F70A64A45A98AA50765F79006372E808ACE2090B5E1725E5C173C3A84C3C5EA940A35A165FF2DBA43225CD8A89F83C798A30B85E16BCE5475246E174218B5C8C57E37DE458BEDA766A37F9254B7 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CBF3286B3348795C658041FB8633423E5823EC9F2588EBC729C2B6934AE262D3EE7EAB7254005DCED92D095E30EE38CFC1E0A4E2319210D9B64D260DF9561598F01A9E91200F654B08D1F0E447259586B93EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34FD9114F69CA58D1E3811B3CEC4B9C2DFFA9DEBD0007C25C6666EC9B6E5D672825F3E8DC1631ED5201D7E09C32AA3244C70B4D2D3746915F804C13368D14B40A93C6EB905E3A8056B927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXhpP9ydiPXMD9GiEgrxx21X X-Mailru-Sender: 3B9A0136629DC91206CBC582EFEF4CB4301AB4FF43E003EC386CBAB42192B67CE23BA72BC693BAABF2400F607609286E924004A7DEC283833C7120B22964430C52B393F8C72A41A89437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit 0/3] Follow-up fixes for full 64-bit lightuserdata interning X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 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