From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit 1/2] Fix maxslots when recording BC_VARG.
Date: Sat, 15 Jul 2023 18:11:55 +0300 [thread overview]
Message-ID: <ZLK3OwLpCeqnrCeQ@root> (raw)
In-Reply-To: <1689336972.626611927@f763.i.mail.ru>
Hi, Maxim!
Thanks for the review!
Fixed your comments! Branch is force-pushed.
On 14.07.23, Maxim Kokryashkin wrote:
>
> Hi!
> Thanks for the patch!
> LGTM, except for a few nits regarding the commit message.
>
> >
> >>From: Mike Pall <mike>
> >>
> >>Analyzed by Sergey Kaplun.
> >>
> >>(cherry-picked from commit 94ada59628dd6ce5d6d2dad1d35a68ad30127f53)
> >>
> >>While recording BC_VARG `J->maxslot` isn't shrunk to the effective stack
> >Typo: s/shrunk/shrinking
I meant the third form shrink/shrank/shrunk here. Ignoring.
> >>top. This leads to dead value stored in the JIT slots and the following
> >Typo: s/value/values/
Fixed.
> >>assertion failure for these slots check in `rec_check_slots()`. Note,
> >>that `rec_varg()` modifies `maxslot` only under the condition that
> >>`maxslot` should be increased, but the dead values are left for the
> >>opposite case.
> >>
> >>This patch removes the condition inside `rec_varg()` only for the case
> >>when varargs are not defined on trace (`framedepth` is 0), but the
> >>similar issue still occurs for the case when vararg are defined on the
> >Typo: s/vararg/varagrs/
> >>trace.
Fixed.
> >>
> >>Sergey Kaplun:
> >>* added the description and the test for the problem
> >>
> >>Part of tarantool/tarantool#8825
<snipped>
> >--
> >Best regards,
> >Maxim Kokryashkin
--
Best regards,
Sergey Kaplun
next prev parent reply other threads:[~2023-07-15 15:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-10 10:46 [Tarantool-patches] [PATCH luajit 0/2] " Sergey Kaplun via Tarantool-patches
2023-07-10 10:46 ` [Tarantool-patches] [PATCH luajit 1/2] " Sergey Kaplun via Tarantool-patches
2023-07-14 12:16 ` Maxim Kokryashkin via Tarantool-patches
2023-07-15 15:11 ` Sergey Kaplun via Tarantool-patches [this message]
2023-07-17 11:00 ` Maxim Kokryashkin via Tarantool-patches
2023-07-18 8:18 ` Igor Munkin via Tarantool-patches
2023-07-18 14:12 ` Sergey Kaplun via Tarantool-patches
2023-07-18 14:23 ` Igor Munkin via Tarantool-patches
2023-07-10 10:46 ` [Tarantool-patches] [PATCH luajit 2/2] Fix maxslots when recording BC_VARG, part 2 Sergey Kaplun via Tarantool-patches
2023-07-14 12:41 ` Maxim Kokryashkin via Tarantool-patches
2023-07-15 15:08 ` Sergey Kaplun via Tarantool-patches
2023-07-17 11:03 ` Maxim Kokryashkin via Tarantool-patches
2023-07-18 8:18 ` Igor Munkin via Tarantool-patches
2023-07-18 14:19 ` Sergey Kaplun via Tarantool-patches
2023-07-18 14:24 ` Igor Munkin via Tarantool-patches
2023-07-20 18:37 ` [Tarantool-patches] [PATCH luajit 0/2] Fix maxslots when recording BC_VARG Igor Munkin via Tarantool-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZLK3OwLpCeqnrCeQ@root \
--to=tarantool-patches@dev.tarantool.org \
--cc=m.kokryashkin@tarantool.org \
--cc=skaplun@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH luajit 1/2] Fix maxslots when recording BC_VARG.' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox