Move `YJIT` module into `RubyVM::YJIT`
Closed this issue · 4 comments
maximecb commented
This change was requested by upstream and I'm ok with it.
We will need to update scripts in yjit-bench
and yjit-metrics
once this is done. @noahgibbs
Will also want to notify Jean Boussier @casperisfine to make sure our code on the deployments is up to date.
noahgibbs commented
Sounds good. I'm updating yjit-metrics now to accept either :YJIT or RubyVM::YJIT, whichever is defined. I'll do yjit-bench next.
noahgibbs commented
Looks like none of the code in yjit-bench uses the YJIT module -- no stats collected, etc -- with the exception of a random YJIT.reset_stats! in the activerecord benchmark, which I suspect shouldn't be there.
maximecb commented
Good plan 👍
maximecb commented
This is now merged: ruby/ruby#5038