[컴] Android N 에서 좀 더 빨라지는 compiler 에 대한 글



대략적인 요점은 아래에 추출해 놨다. ref. 1 의 글에서 추린 글이다.


Lollipop
use of a compiler known as ‘Quick’,
AOT version of the Dalvik JIT compiler.

ARM and Google are working closely
new ‘Optimizing’ compiler for Android
fully optimized support for ARM’s AArch64 backend

optimizes for both AArch32 and AArch64 (32 and 64-bit) separately

ARM work on AArch64
Google is developing the AArch32 backend.

Unlike Quick, Optimizing
rebuilt from scratch
to produce superior code quality

accomplished by changes to the Intermediate Representation (IR), instead of using two levels IR like in Quick, Optimizing uses just one

improved register allocation
Quick targets speed
results in lots of registers being spilled to the stack

Optimizing
Linear Scan Register Allocation,
slightly slower at compile time
better runtime performance

8 percent increase in compilation speed
10 percent increase in file size
these could be reduced in the future.




Reference


  1. Optimizing Compiler – the evolution of ART | AndroidAuthority

댓글 없음:

댓글 쓰기