Tracing the Meta-Level: PyPy's Tracing JIT Compiler
Tracing the Meta-Level: PyPy's Tracing JIT Compiler
Tracing the Meta-Level: PyPy's Tracing JIT Compiler
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Tracing</strong> <strong>JIT</strong> compilers<br />
<strong>Tracing</strong> <strong>JIT</strong> Phases I<br />
◮ interpretation/proling<br />
◮<br />
◮ tracing<br />
◮<br />
establish frequently run loops by counting backward jump<br />
instructions<br />
record history of all operations executed during one iteration of<br />
a hot loop<br />
◮ code generation<br />
◮<br />
use trace to generate ecient machine code<br />
◮ code execution<br />
◮<br />
use generated code in <strong>the</strong> next iteration