ruby-changes:64085
From: Takashi <ko1@a...>
Date: Fri, 11 Dec 2020 07:40:50 +0900 (JST)
Subject: [ruby-changes:64085] 6b1d2de6cc (master): Unfortunately getinstancevariable was still not leaf
https://git.ruby-lang.org/ruby.git/commit/?id=6b1d2de6cc From 6b1d2de6cc2e85fda7885fe77dbd7c99c4eb1ef2 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Thu, 10 Dec 2020 14:40:22 -0800 Subject: Unfortunately getinstancevariable was still not leaf https://github.com/ruby/ruby/runs/1533401436 diff --git a/insns.def b/insns.def index 2bdb2d5..f912b51 100644 --- a/insns.def +++ b/insns.def @@ -210,6 +210,8 @@ getinstancevariable https://github.com/ruby/ruby/blob/trunk/insns.def#L210 (ID id, IVC ic) () (VALUE val) +/* Ractor crashes when it accesses class/module-level instances variables. */ +// attr bool leaf = false; /* has IVAR_ACCESSOR_SHOULD_BE_MAIN_RACTOR() */ { val = vm_getinstancevariable(GET_ISEQ(), GET_SELF(), id, ic); } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/