JITCompiler

Douglas Campos edited this page Feb 2, 2011 · 2 revisions

JIT Compiler Specification

The JIT compiler in JRuby runs when executing interpreted code.

  • The default threshold for a method body to compile is 50 invocations.
  • Compilation of a method includes compilation of all contained closures.
  • Closure bodies will not compile alone; the containing method must compile.
  • JITted methods are single-method transient classes, loaded into their own classloaders using unique class names and thrown away when the method that references the class instance goes away.
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.