Difference between dexopt and dex2oat?
Google is moving from Dalvik to ART (Android Runtime). I was trying to understand, how it is going to improve the performance. The best explanation I found is the below image: One of the main component which has changed is dexopt to dex2oat . Since I don't have much idea about these, can anyone explain the difference and how this is going to improve the performance? dexopt does some optimizations on the dex file. It does things like replacing a virtual invoke instruction with an optimized version that includes the vtable index of the method being called, so that it doesn't have to perform a