Difference between dexopt and dex2oat?
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 method lookup during execution. The result of dexopt is an odex (optimized dex) file. This is … Read more