ART世界探险(13) - 初入dex2oat
ART世界探险(13) - 初入dex2oat
dex2oat流程分析
进入整个流程之前,我们先看一下地图,大致熟悉一下我们下一步要去哪里:
主函数
dex2oat的main函数,直接是dex2oat工厂函数的封装。
int main(int argc, char** argv) {
int result = art::dex2oat(argc, argv);
// Everything was done, do an explicit exit here to avoid running Runtime destructors that take
// time (bug 10645725) unless we're a debug build or running on valgrind. Note: The Dex2Oat
