You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening the issue, Kemal! I need to refresh my understanding of how actors and threads work under the hood, but I think the naming I picked might be wrong. I think that using main_ractor is more correct, as we want to fetch the stack of the currently executing code (no matter if it's the ractor or thread that was created first or not).
The best way to check this, besides inspecting CRuby's implementation might be to write a reproducer with multiple threads and ractors and checking which stack we are reading
I have discovered that >= 3.0.0 the
main_thread_offset
is wrongrbperf/src/ruby_versions/ruby_3_0_0.yaml
Line 13 in fc31fb4
It was supposed to be
40
, but it's been calculated as32
.I have no idea how things are not broken 🤔
I've opened the issue here to track it down. I'll report it back if I find something else.
The text was updated successfully, but these errors were encountered: