[1]武建平,时龙兴,凌明,等.Unicore架构下的Dalvik虚拟机优化[J].东南大学学报(自然科学版),2013,43(1):17-23.[doi:10.3969/j.issn.1001-0505.2013.01.004]
 Wu Jianping,Shi Longxing,Ling Ming,et al.Optimization of Dalvik virtual machine based on Unicore architecture[J].Journal of Southeast University (Natural Science Edition),2013,43(1):17-23.[doi:10.3969/j.issn.1001-0505.2013.01.004]
点击复制

Unicore架构下的Dalvik虚拟机优化()
分享到:

《东南大学学报(自然科学版)》[ISSN:1001-0505/CN:32-1178/N]

卷:
43
期数:
2013年第1期
页码:
17-23
栏目:
电子科学与工程
出版日期:
2013-01-20

文章信息/Info

Title:
Optimization of Dalvik virtual machine based on Unicore architecture
作者:
武建平时龙兴凌明曹闻世
东南大学国家专用集成电路系统工程技术研究中心, 南京 210096
Author(s):
Wu Jianping Shi Longxing Ling Ming Cao Wenshi
National ASIC System Engineering Research Center, Southeast University, Nanjing 210096, China
关键词:
Dalvik虚拟机 Unicore Android 本地方法调用桥 解释器
Keywords:
Dalvik virtual machine Unicore Android native interface Callbridge interpreter
分类号:
TN302
DOI:
10.3969/j.issn.1001-0505.2013.01.004
摘要:
基于Unicore架构,对Dalvik虚拟机进行了移植优化.通过分析Unicore架构下应用程序二进制接口与Dalvik虚拟机的平台相关性,设计实现了jniArgInfo变量字段的布局以及与Dalvik虚拟机平台相关的本地方法调用桥.在设计完成Unicore架构下的快速型解释器入口函数、别名寄存器、汇编宏定义以及汇编版本快速型解释器架构等组件的基础上,结合虚拟机快速型解释器的混合实现机制对Dalvik虚拟机进行了优化,并对优化后Dalvik虚拟机的兼容性、功能、性能进行了测试验证.实验结果表明,优化后的Dalvik虚拟机符合Android系统规范,虚拟机核心部件及Dalvik解释器性能稳定,与优化前相比,系统每秒执行的字节码数目提升达147%.与同类平台的对比测试结果验证了Dalvik虚拟机性能提升的合理性.
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 native 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.

参考文献/References:

[1] Wikipedia. Mobile operating system[EB/OL].(2011-06-10)[2011-11-15]. http://en.wikipedia.org/wiki/Mobile_operating_system.
[2] Wikipedia. Android(operating system)[EB/OL].(2011-06-10)[2012-01-13]. http://en.wikipedia.org/wiki/Android_(operating_system).
[3] Open Handset Alliance. Open handset alliance[EB/OL].(2010-09-20)[2011-12-14]. http://en.wikipedia.org/wiki/Open_Handset_Alliance.
[4] Prochip Corporation. SEP6200设计文档 [EB/OL].(2010-12-11)[2012-01-14]. http://www.prochip.com.cn/product_show.asp?detailid=27.
[5] Lee Y M, Tak B C, Maeng H S, et.al. Real-time Java virtual machine for information appliances[J]. IEEE Transactions on Consumer Electronics, 2000, 46(4): 949-957.
[6] Google Corporation..dex—Dalvik executable format[EB/OL].(2011-06-10)[2011-11-25].http://source.android.com/tech/dalvik/dex-format.html.
[7] Chang C W, Lin C Y, King C T, et al. Implementation of JVM tool interface on Dalvik virtual machine[C]//Proceedings of 2010 International Symposium on VLSI Design Automation and Test(VLSI-DAT). Hsin Chu,Korea, 2010: 143-146.
[8] Vladislav Tcheprasov. Template-generated JNI[J]. Journal of C& C++ Users, 2004, 22(8): 38-39.
[9] Bi Lingyan, Wang Weining, Zhong Haobin, et al. Design and application of remote control system using mobile phone with JNI interface[C]//Proceedings of 2008 International Conference on Embedded Software and Systems Symposia. Beijing, China, 2008: 416-419.
[10] Qi Minglong, Guo Qingping. Implementing and invoking a remote object calling native methods via RMI-IIOP and JNI[C]//Proceedings of 2004 International Symposium on Distributed Computing and Applications to Business, Engineering and Science. Wuhan, China, 2004: 451-456.
[11] Ogata Kazunori, Komatsu Hideaki, Nakatani Toshio. Bytecode fetch optimization for a Java interpreter[C]//Proceedings of the 10th International Conference on Architectural Support for Programming Languages and Operating Systems. New York, USA, 2002: 58-67.
[12] Samsung Corporation. S3C6410 application processor[DB/OL].(2008-04-01)[2011-12-16]. http://www.samsung.com/global/business/semiconductor/product/application.
[13] Pendragon Software Corporation. CaffeineMark 3.0 information[EB/OL].(1997)[2011-11-21]. http://www.benchmarkhq.ru/cm30/info.html#Overview.
[14] Google Corporation. Compatibility test suite[EB/OL].(2011-06-10)[2012-01-11]. http://source.android.com/compatibility/cts-intro.html.
  -《东南大学学报(自然科学版)》
  入选“2012中国最具国际影响力学术期刊”2012年12月26日,“2012中国最具国际影响力学术期刊”发布会在北京国家会议中心隆重召开.《东南大学学报(自然科学版)》入选“2012中国最具国际影响力学术期刊”,进入国际影响力TOP 5%.
  为客观反映我国学术期刊的国际影响力水平,中国学术期刊电子杂志社、清华大学图书馆和中国科学文献计量评价研究中心以我国正式出版的学术期刊为统计对象,以Web of Science 引文数据库为统计源,首次研制了《中国学术期刊国际引证报告(2012版)》.
  该报告按2011年度中国学术期刊被SCI、SSCI收录期刊引用的总被引频次和影响因子排序,经综合计算并经40多位期刊界专家审议,最终遴选出位居TOP 5%的“2012中国最具国际影响力学术期刊”和位居TOP 5%~10%的“2012中国国际影响力优秀学术期刊”.
  在中国最具国际影响力学术期刊中,科技期刊备选3533种,由上述方法选出175种;人文社科类备选680种,选出34种,共计209种.同样,在中国国际影响力优秀学术期刊中,由上述方法选出科技类期刊和人文社科类期刊也分别为175种和34种,共计209种.
  报告还显示,我国不少非SCI、SSCI收录期刊比SCI、SSCI收录期刊具有更高的被引用次数;同时,约占418种上榜期刊75%的中文期刊已成为具有相当影响力的国际化期刊.

相似文献/References:

[1]凌明,武建平,柳琦,等.面向国产Unicore架构的Android图形系统优化[J].东南大学学报(自然科学版),2012,42(6):1069.[doi:10.3969/j.issn.1001-0505.2012.06.009]
 Ling Ming,Wu Jianping,Liu Qi,et al.Optimization for Android graphics system based on domestic Unicore architecture[J].Journal of Southeast University (Natural Science Edition),2012,42(1):1069.[doi:10.3969/j.issn.1001-0505.2012.06.009]

备注/Memo

备注/Memo:
作者简介: 武建平(1977—),男,博士生; 凌明(联系人),男,博士,副教授,trio@seu.edu.cn.
基金项目: 国家科技重大专项资助项目(2009ZX01031)、江苏省"青蓝工程"资助项目.
引文格式: 武建平,时龙兴,凌明,等.Unicore架构下的Dalvik虚拟机优化[J].东南大学学报:自然科学版,2013,43(1):17-23. [doi:10.3969/j.issn.1001-0505.2013.01.004]
更新日期/Last Update: 2013-01-20