Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ractor profiling not working in Ruby 3.0 #299

Open
gerrywastaken opened this issue Feb 10, 2021 · 1 comment
Open

Ractor profiling not working in Ruby 3.0 #299

gerrywastaken opened this issue Feb 10, 2021 · 1 comment

Comments

@gerrywastaken
Copy link

Is there a simple way of getting ruby-prof working inside a Ractor?

It seems that something is trying to call require and this is resulting in a non sharable object being accessed:

ensure in require'can not access non-shareable objects in constant Kernel::RUBYGEMS_ACTIVATION_MONITOR by non-main ractor.: : <internal:~/.asdf/installs/ruby/3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:164

I'd guess it's related to this: https://bugs.ruby-lang.org/issues/17420

@cfis
Copy link
Member

cfis commented Feb 11, 2021

Haven't tried. Reading that issue, not optimistic it would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants