TODO Dex2oat - ART’s Multi-Purpose On-Device Compiler

  • multi purpose: compile apps, system services, boot.oat
  • reason: efficiency: battery, computation
  • flexible: different backends with IRs, per-architecture code generators
  • just a binary with libraries
  • state of the art optimizations
  • multiple modes: from jitting to full compilation (enforced with ARTist)
  • optimizing backend: default since 6, clean single IR
  • one method at a time, no hollistic view
  • we exploit the optimization framework by adding own “passes”

  • details about IR!!! Reference from making module to here