5 ms·
Does anybody know what it's doing when it's "optimizing" applications?
by spacehome 11y ago
Does anybody know what it's doing when it's "optimizing" applications?
- drewg123 11y agoIt is pre-compiling apps from java to native executables. This comes from the ART runtime which is the default in Lollipop and newer. Google for "android ART" I think this is a HUGE problem, and that somebody is going to die because they're unable to call 911 while the phone is "optimizing"
- zacharytamas 11y agoAllegedly in Android N this will be much faster. When I upgraded my Nexus 9 to N this step was probably less than 30 seconds long. I almost didn't even notice it.
- goldbrick 11y agoShouldn't it be possible to do this as part of the build process, or even by the play store?
- hobarrera 11y agoEven during install time seems to make a lot more sense than after reboots!
- gryph0n 11y agoIt is performing AOT compilation. https://en.wikipedia.org/wiki/Ahead-of-time_compilation https://en.wikipedia.org/wiki/Ahead-of-time_compilation The phone environment is not conducive to JIT'ing, unlike your typical desktop/laptop.
- spacehome 11y agoThen why on Earth is it doing it on restart?????