Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
RubyVM::YJIT.code_gc
() -> void
code_gc
yjit.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/yjit.rb, line 278
def self.code_gc
Primitive.rb_yjit_code_gc
end
Discard existing compiled code to reclaim memory and allow for recompilations in the future.