计算机应用 ›› 2012, Vol. 32 ›› Issue (06): 1727-1729.DOI: 10.3724/SP.J.1087.2012.01727

• 计算机软件技术 • 上一篇    下一篇

基于混合并发模式的Dalvik虚拟机性能优化

李茜1,肖萍2   

  1. 1. 沈阳医学院 计算机与数理基础教学部,沈阳 110034
    2. 中国刑事警察学院 计算机犯罪侦查系,沈阳 110854
  • 收稿日期:2011-11-16 修回日期:2012-01-19 发布日期:2012-06-04 出版日期:2012-06-01
  • 通讯作者: 李茜

Dalvik virtual machine performance improvement based on hybrid concurrent model

LI Qian1,XIAO Ping2   

  1. 1. Department of Computer and Basic Mathematical Education, Shenyang Medical College, Shenyang Liaoning 110034, China
    2. Department of Computer Crime Investigation, China Criminal Police College, Shenyang Liaoning 110854, China
  • Received:2011-11-16 Revised:2012-01-19 Online:2012-06-04 Published:2012-06-01
  • Contact: LI Qian

摘要: 为了改进Dalvik虚拟机的性能,提出了一种基于多线程调度机制的Java虚拟机混合并发模式。该模式利用多线程并发调度和热方法表,通过将Java字节码的编译与执行过程相重叠来提高程序的执行效率,进而提升Dalvik虚拟机的处理速度;并对该模式设计与实现的关键技术进行了分析。实验结果表明,混合并发模式能够有效地提高Dalvik虚拟机中Java程序的执行速度。

关键词: Dalvik虚拟机, 多线程, 混合并发, 性能优化

Abstract: To improve Dalvik virtual machine performance, a hybrid concurrent model based on multi-thread mechanism for Java virtual machine was proposed. This model implemented performance optimization by overlapping the production of native code with program execution through multi-thread control and hot-function table, and some critical issues in the design and implementation were also discussed. The experimental results show that this model can improve the Java execution speed efficiently in Dalvik.

Key words: Dalvik virtual machine, multi-thread, hybrid concurrent, performance optimization

中图分类号: