Android tool chain and run time improvements in N
summary
Android N replaces the old javac + ProGuard + dx chain with Jack and Jill, an integrated compiler + linker that enables a subset of Java 8 (default/static interface methods, lambdas, some streams) by compiling lambdas down to anonymous classes rather than invokedynamic. Jack is open source (use the ub_jack branch) and supports a server mode to cache compiled libraries for faster team builds (Facebook uses a similar cache). Runtime moves to hybrid JIT/AOT with profile‑guided partial compilation: ART JITs on first use and ahead‑of‑time compiles hot paths when idle, cutting install/optimize pauses.
AI-written summary · about
