27.10.2014 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Applying a <strong>Tracing</strong> <strong>JIT</strong> to an Interpreter<br />

How to Trace <strong>the</strong> User Program<br />

◮ do not trace a single opcode, but a series of several opcodes<br />

by unrolling <strong>the</strong> bytecode dispatch loop<br />

◮ unroll in such a way that <strong>the</strong> trace corresponds to a user loop

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!