东南大学学报(自然科学版)2013,Vol.43Issue(1):17-23,7.DOI:10.3969/j.issn.1001-0505.2013.01.004
Unicore架构下的Dalvik虚拟机优化
Optimization of Dalvik virtual machine based on Unicore architecture
摘要
Abstract
Based on the Unicore architecture, the Dalvik VM( virtual machine) is transplanted and optimized. First, the relationships between the application binary interfaces of Unicore and Dalvik VM platform are analyzed, and the layout of jniArglnfo's variable field and JNICallbridge (Java n-ative interface Callbridge) which relates with the Dalvik VM are implemented. After several components of the fast interpreter, which includes the entry functions, alias registers, key assembly macro definitions and architecture in assembly version based on Unicore, are implemented, the Dalvik VM is optimized with the mixed mechanism advantage of the fast interpreter. The compatibility, function and performance of the optimized Dalvik VM are tested and verified. The experimental results show that, compared with the system before optimization, the Dalvik VM based on the Unicore architecture fully complies with the Android system. The core partitions and the whole Dalvik interpreter are robust and run steadily. The number of executed bytecode is speedup by 147% per second, and the rationality of the performance gains are verified by comparing with other similar platforms.关键词
Dalvik虚拟机/Unicore/Android/本地方法调用桥/解释器Key words
Dalvik virtual machine/ Unicore/ Android/ native interface Callbridge/ interpreter分类
信息技术与安全科学引用本文复制引用
武建平,时龙兴,凌明,曹闻世..Unicore架构下的Dalvik虚拟机优化[J].东南大学学报(自然科学版),2013,43(1):17-23,7.基金项目
国家科技重大专项资助项目(2009ZX01031)、江苏省"青蓝工程"资助项目. (2009ZX01031)