W3cubDocs

/Ruby 3

module RubyVM::MJIT

::RubyVM::MJIT

Provides access to the Method JIT compiler of MRI.
Of course, this module is MRI specific.

Public Class Methods

enabled?() Show source
static VALUE
mjit_enabled_p(VALUE _)
{
    return mjit_enabled ? Qtrue : Qfalse;
}

Returns true if JIT is enabled

resume() Show source
static VALUE
mjit_resume_m(VALUE _)
{
    return mjit_resume();
}

Ruby Core © 1993–2020 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.