Ractor profiling not working in Ruby 3.0
gerrywastaken opened this issue · comments
Gerry commented
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
Charlie Savage commented
Haven't tried. Reading that issue, not optimistic it would work.