[Tarantool-patches] [PATCH luajit] Respect jit.off() on pending trace exit.
Igor Munkin
imun at tarantool.org
Thu Feb 15 16:43:50 MSK 2024
Sergey,
I've checked the patchset into all long-term branches in
tarantool/luajit and bumped a new version in master, release/3.0 and
release/2.11.
On 22.01.24, Sergey Kaplun via Tarantool-patches wrote:
> From: Mike Pall <mike>
>
> Thanks to Sergey Kaplun.
>
> (cherry-picked from commit 7dbe545933485849977d50384f2f20f2cccf0cf9)
>
> Before this commit, the JIT engine didn't check the status of JIT flags
> when compiling the side trace. Hence, after calling `jit.off()` the side
> traces are still recorded. This patch adds the aforementioned check.
>
> Sergey Kaplun:
> * added the description and the test for the problem
>
> Part of tarantool/tarantool#9595
> ---
>
> Branch: https://github.com/tarantool/luajit/tree/skaplun/lj-1134-hotside-jit-off
> Tarantool PR: https://github.com/tarantool/tarantool/pull/9607
> Related issues:
> * https://github.com/tarantool/tarantool/issues/9595
> * https://github.com/LuaJIT/LuaJIT/issues/1134
>
> src/lj_trace.c | 2 +-
> .../lj-1134-hotside-jit-off.test.lua | 44 +++++++++++++++++++
> 2 files changed, 45 insertions(+), 1 deletion(-)
> create mode 100644 test/tarantool-tests/lj-1134-hotside-jit-off.test.lua
>
<snipped>
> --
> 2.43.0
>
--
Best regards,
IM
More information about the Tarantool-patches
mailing list