TODO Work Items
TODO (STOPSHIP until done)
- denylist for AOT artifacts.
DONE
- Fix dexoptanalyzer so it can analyze boot extensions.
- Parse apex-info-list.xml into an apex_info (to make version and location available).
- Timeouts for pathological failures.
- Add a log file that tracks status of recent compilation.
- Metrics for tracking issues:
- Successful compilation of all artifacts.
- Time limit exceeded (indicates a pathological issue, e.g. dex2oat bug, device driver bug, etc).
- Insufficient space for compilation.
- Compilation failure (boot extensions)
- Compilation failure (system server)
- Unexpected error (a setup or clean-up action failed).
- Metrics recording for subprocess timeouts.
- Free space calculation and only attempting compilation if sufficient space.
- Implement back off on trying compilation when previous attempt(s) failed.