JIT Compilation vs. Interpretation
JIT compilation
- compile, then run byte code
- good if code reused
- may not be good for applets
- harder to get working
Workload: user playing chess
JIT results in
- 18% less power
- 19% less energy
- more processor idle time
Caveats
- our interpreter very simple
- jit/interpret. can't interoperate
joules
watts