Thursday, March 19, 2015

Android Runtime (ART) Feature

Android Runtime (ART) Feature

1. Ahead-of-time compilation
- At install time, ART compiles apps using the on-device dex2oat tool.

Instead of being JIT, AOT compiles application code (byte) and generates native code in ELF File. Subsequent execution happens from compiled native code (that is ELF)
ELF - Executable and Linkable Format.

2. Improved garbage collection
- One GC pause instead of two



0 comments:

Post a Comment