ruby-changes:73463
From: Takashi <ko1@a...>
Date: Wed, 7 Sep 2022 10:26:04 +0900 (JST)
Subject: [ruby-changes:73463] f24c65ea7e (master): Skip calling check_unit_queue with mjit_opts.custom
https://git.ruby-lang.org/ruby.git/commit/?id=f24c65ea7e From f24c65ea7e68d97e92e5ccdb0e1a95c017dc5ebf Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Tue, 6 Sep 2022 18:25:16 -0700 Subject: Skip calling check_unit_queue with mjit_opts.custom fixing the behavior of b726c06e7eeafff52e368179dbe79a11b1aff975 --- mjit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mjit.c b/mjit.c index d3e18c112c..04bdf404b7 100644 --- a/mjit.c +++ b/mjit.c @@ -1237,6 +1237,7 @@ static void mjit_wait(struct rb_iseq_constant_body *body); https://github.com/ruby/ruby/blob/trunk/mjit.c#L1237 static void check_unit_queue(void) { + if (mjit_opts.custom) return; if (worker_stopped) return; if (current_cc_pid != 0) return; // still compiling -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/