Oclemy Nairobi, Kenya 291 Concepts 108 Examples 0 Best Examples 0 Points View Profile Oclemy Shared a concept on: September 11, 20202020-09-11T04:02:59+00:00 2020-09-11T04:02:59+00:00In: Android Components Android Framework Fundamentals In this piece lets share some fundamental concepts of android framework. Share Facebook Related Concepts Android Routing Android IntentService Android Intent Android ExternalStorage How to load images from File System and render them 1 Example Voted Oldest Recent Oclemy Nairobi, Kenya 291 Concepts 108 Examples 0 Best Examples 0 Points View Profile Oclemy 2020-09-11T04:05:28+00:00Shared on September 11, 2020 at 4:05 am Android ART Runtime Android 5.0(Lollipop) and above have been using ART as the main runtime. ART was introduced experimentally in Android 4.4 KitKat. Before ART Runtime was DVM(Dalvik Runtime). ART runtime utilizes AOT(Ahead Of Time) compilation. This compilation model involves optimizing application performance on startup and application execution. DVM utilizes JIT(Just In Time) compilation model. However, with AOT dex files are compiled during installation. This compilation is done using the dex2oat tool. Advantages of AOT Compilation No. Advantage 1. Removal of delay introduced by JIT compilation during each application execution.This is because Dex2oat will generate system-dependent code for the device it’s run on. 2. Reduction in number of processor cycles used by the application.This is because AOT will remove the time the JIT compiler normally uses to convert code into machine format. 3. Reduction in battery power consumption.This is because of the reasons listed above. 4. Improvements in Garbage Collection and memory allocation.This results in more responsive applications. Disadvantages of AOT compilation No. Disadvantage 1. Larger memory footprint than JIT and DVM Reply Share Share Share on Facebook Share on Twitter Share on LinkedIn Share on WhatsApp Share an ExampleShare an ExampleCancel reply Featured image Select file Browse What is the capital of Egypt? ( Cairo ) Visual Text Save my name, email, and website in this browser for the next time I comment.