Tarantool development patches archive
 help / color / mirror / Atom feed
From: Sergey Bronnikov via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Kaplun <skaplun@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit] Respect jit.off() on pending trace exit.
Date: Thu, 25 Jan 2024 10:49:36 +0300	[thread overview]
Message-ID: <3272068e-059a-4e8f-881a-f811df7ea057@tarantool.org> (raw)
In-Reply-To: <Za-7uNO0-gtJ0oT1@root>

On 1/23/24 16:14, Sergey Kaplun wrote:
> Hi, Sergey!
> Thanks for the review!
<snipped>
> +
> +assert(traceinfo(1), 'root trace not compiled')
>> It is not clear what "1" means (here and below). As I got it right, it
>> is a trace number.
>>
>> I would left a comment about magic number or replace constant with
>> variable with self-explained name.
> Added the following comment. Branch is force-pushed.

Thanks!

LGTM as I said before


>
> ===================================================================
> diff --git a/test/tarantool-tests/lj-1134-hotside-jit-off.test.lua b/test/tarantool-tests/lj-1134-hotside-jit-off.test.lua
> index cdee3eb2..080b1e87 100644
> --- a/test/tarantool-tests/lj-1134-hotside-jit-off.test.lua
> +++ b/test/tarantool-tests/lj-1134-hotside-jit-off.test.lua
> @@ -9,6 +9,7 @@ local test = tap.test('lj-1134-hotside-jit-off'):skipcond({
>     ['Disabled on *BSD due to #4819'] = jit.os == 'BSD',
>   })
>   
> +-- `traceinfo()` takes the trace number as an argument.
>   local traceinfo = require('jit.util').traceinfo
>   
>   test:plan(1)
> ===================================================================
>
<snipped>

  reply	other threads:[~2024-01-25  7:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-22  9:32 Sergey Kaplun via Tarantool-patches
2024-01-23  8:33 ` Sergey Bronnikov via Tarantool-patches
2024-01-23 13:14   ` Sergey Kaplun via Tarantool-patches
2024-01-25  7:49     ` Sergey Bronnikov via Tarantool-patches [this message]
2024-01-29 11:39     ` Maxim Kokryashkin via Tarantool-patches
2024-02-15 13:43 ` 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=3272068e-059a-4e8f-881a-f811df7ea057@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=sergeyb@tarantool.org \
    --cc=skaplun@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH luajit] Respect jit.off() on pending trace exit.' \
    /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