Bytecode-to-C Ahead-of-Time Compilation for Android Dalvik Virtual Machine
被引:0
|
作者:
Oh, Hyeong-Seok
论文数: 0引用数: 0
h-index: 0
机构:
Seoul Natl Univ, Dept Elect & Comp Engn, Seoul, South KoreaSeoul Natl Univ, Dept Elect & Comp Engn, Seoul, South Korea
Oh, Hyeong-Seok
[1
]
Yeo, Ji Hwan
论文数: 0引用数: 0
h-index: 0
机构:
Seoul Natl Univ, Dept Elect & Comp Engn, Seoul, South KoreaSeoul Natl Univ, Dept Elect & Comp Engn, Seoul, South Korea
Yeo, Ji Hwan
[1
]
Moon, Soo-Mook
论文数: 0引用数: 0
h-index: 0
机构:
Seoul Natl Univ, Dept Elect & Comp Engn, Seoul, South KoreaSeoul Natl Univ, Dept Elect & Comp Engn, Seoul, South Korea
Moon, Soo-Mook
[1
]
机构:
[1] Seoul Natl Univ, Dept Elect & Comp Engn, Seoul, South Korea
来源:
2015 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE)
|
2015年
关键词:
D O I:
暂无
中图分类号:
TP3 [计算技术、计算机技术];
学科分类号:
0812 ;
摘要:
Android employs Java for programming its apps which is executed by its own virtual machine called the Dalvik VM (DVM). One problem of the DVM is its performance. Its just-in-time compiler (JITC) cannot generate high-performance code due to its trace-based compilation with short traces and modest optimizations, compared to JVM's method-based compilation with ample optimziations. This paper proposes a bytecode-to-C ahead-of-time compilation (AOTC) for the DVM to accelerate pre-installed apps. We translated the bytecode of some of the hot methods used by these apps to C code, which is then compiled together with the DVM source code. AOTC-generated code works with the existing Android zygote mechanism, with corrects garbage collection and exception handling. Due to off-line, method-based compilation using existing compiler with full optimizations and Java-specific optimizations, AOTC can generate quality code while obviating runtime compilation overhead. For benchmarks, AOTC can improve the performance by 10% to 500%. When we compare this result with the recently-introduced ART, which also performs ahead-of-time compilation, our AOTC performs better.