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 0984B99FA13; Wed, 24 Jan 2024 17:15:26 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 0984B99FA13 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1706105726; bh=4aewuw61l4jzyobZc60ojL5Z4GHOW+QTvcP1uhHFpg4=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=ZFdyzY2RtdtCU+h6OM183ownPcWC4anQEaOequNg8JqcMuw+E092MXo3kPmLt9QwB q3l/KS6Lu68BDnTbsFSOpqPhCFmu0jNjMhDWj6kF0rdJX64vUvbCUHMVmlQC+ORD8X fHfvk7KW6tar0XBGkHrwxyK1FNpjxN8iXYhr3k9A= Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [95.163.41.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E051F32B7C1 for ; Wed, 24 Jan 2024 17:15:24 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E051F32B7C1 Received: by smtp40.i.mail.ru with esmtpa (envelope-from ) id 1rSe2G-00F816-00; Wed, 24 Jan 2024 17:15:24 +0300 To: Maxim Kokryashkin , Sergey Bronnikov Date: Wed, 24 Jan 2024 17:11:07 +0300 Message-ID: X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD96A58C36AA2E996498065D321F2FD018AEFC0421552190AD0182A05F538085040E8EC40A4F5AF129A5F80F8888DDCBA2B71ACF374FE5E8A07DBBF9DFD3A90B350 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7CE4525FFB91B9BBCEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006372094AD700861FA748638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8A73762C2E1646E0ABE93CF2CF692362B117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC8883BAB8B32E402CA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F44604297287769387670735201E561CDFBCA1751FF04B652EEC242312D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EE4B6963042765DA4BB341D7040ADD27A2D8FC6C240DEA76429C9F4D5AE37F343AA9539A8B242431040A6AB1C7CE11FEE3B5C78E0E843E24DA2D242C3BD2E3F4C6C4224003CC836476E2F48590F00D11D6E2021AF6380DFAD1A18204E546F3947C1D471462564A2E192E808ACE2090B5E1725E5C173C3A84C3C5EA940A35A165FF2DBA43225CD8A89F616AD31D0D18CD5C57739F23D657EF2BB5C8C57E37DE458BEDA766A37F9254B7 X-C1DE0DAB: 0D63561A33F958A552F19E98A9FBB3E59CA07F7D11ADFBAA0B432602D7606328F87CCE6106E1FC07E67D4AC08A07B9B0BC0ADEB1C81BB3629C5DF10A05D560A950611B66E3DA6D700B0A020F03D25A09062BEEFFB5F8EA3ECB5012B2E24CD356 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF77DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CFA3A5F4EE4FB7AF11F39CA2519070E83205B6482CE699C1843F58AB91B29EDB7A3066587AC4ADAE824BEAD515961AA0A7CFAA700343C5BFAD251760E3775EE6E9A74DFFEFA5DC0E7F02C26D483E81D6BE5EF9655DD6DEA7D65774BB76CC95456EEC5B5AD62611EEC62B5AFB4261A09AF0 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojjPo90oGNxwJ0Mg6f37szRw== X-Mailru-Sender: 11C2EC085EDE56FAC07928AF2646A76971D968936EDA4AA25F80F8888DDCBA2B9FD6E2B231121C05DEDBA653FF35249392D99EB8CC7091A70E183A470755BFD208F19895AA18418972D6B4FCE48DF648AE208404248635DF X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit 0/2] Fix unsinking TNEW with huge asize 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" 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