All Title Author
Keywords Abstract

电子学报  2013 

一种Dalvik虚拟机的自适应编译系统

DOI: 10.3969/j.issn.0372-2112.2013.08.027, PP. 1622-1627

Keywords: Dalvik虚拟机,自适应编译系统,阈值重置,动态自适应阈值

Full-Text   Cite this paper   Add to My Lib

Abstract:

在深入分析Dalvik虚拟机自适应编译系统的瓶颈之后,针对当阈值计数器自减到零时,系统初始化导致本地代码多次等待的情况,提出一种阈值重置策略;在热点代码密集的应用程序中,针对编译线程因积压大量等待处理任务而导致编译滞后情况,提出一种基于结果反馈的动态自适应阈值改进策略,结合阈值最优化理论,最大限度地挖掘动态编译的性能收益.实验结果显示,基于三星GalaxyS平台,经过阈值重置优化后,Dalvik虚拟机的循环执行效率平均提升7%,分支跳转、派发指令执行效率平均提升5%;采用动态自适应阈值优化后,分支跳转、派发指令执行效率平均提升8%.

References

[1]  桂先洲,黄卫东.实时编程语言RTS/Java设计[J].电子学报,2002,30(2):153-157. Gui Xian-zhou,Huang Wei-dong.Design of real-time programming language RTS/Java[J].Acta Electronica Sinica,2002,30(2):153-157.(in Chinese)
[2]  Chien-Wei C,Chun-Yu L,Chung-Ta K,et al.Implementation of JVM tool interface on dalvik virtual machine[A].2010 International Symposium on VLSI Design Automation and Test (VLSI-DAT)[C].Chutung,Hsinchu,Taiwan,2010.143-146.
[3]  韩洪波,倪宏,韩锐,等.一种混合型运行时信息分析方法[J].微计算机应用,2009,29(9):1-2. Han Hong-bo,Ni Hong,Han Rui,et al.A mixed runtime information analysis methed[J].Microcomputer Applications,2009,29(9):1-2.(in Chinese)
[4]  Huang Yao-Chih,Chen Yu-Sheng,Yang Wuu,et al.File-based sharing for dynamically compiled code on dalvik virtual machine[J].ICS,2010,16(18):489-494.
[5]  Andreas Gal,Brendan Eich,Mike Shaver,et al.Trace-based Just-in-time type specialization for dynamic languages[J].ACM,2009,19(8):1-3.
[6]  Evelyn Duesterwald,Vasanth Bala.Software profiling for hot path prediction:less is more[J].Hewlett-Packard Labs,2000,19(6):1-4.
[7]  敖琪,蔡嵩松,王剑.基于硬件cache锁机制的Java虚拟机即时编译器优化[J].计算机研究与发展,2012,49(z1):185-190. Ao Qi,Cai Song-song,Wang Jian.JVM JIT compiler optimization based on cache locking mechanism[J].Journal of Computer Research and Development,2012,49(z1):185-190.(in Chinese)
[8]  王文鼐,赵生妹.基于JVM的分布计算在网络仿真中的应用研究[J].电子学报,2001,29(6):804-807. Wang Wen-nai,Zhao Sheng-mei.On networks simulating by JVM-based distributed processing[J].Acta Electronica Sinica,2001,29(6):804-087.(in Chinese)
[9]  Yan W,Jin-jing Z,Hua C,et al.HotSpotInsight:a java application introspection platform based on JVM[A].2011 1st International Conference on Instrumentation,Measurement,Computer,Communication and Control[C].Beijing,China,2011.843-847.
[10]  史辉辉,管海兵,梁阿磊.动态二进制翻译中热路径优化的软件实现[J].计算机工程,2007,33(23):78-83. Shi Hui-hui,Guan Hai-bing,Liang A-lei.Hot path optimization in software dynamic binary translation[J].Computer Engineering,2007,33(23):78-83.(in Chinese)
[11]  Igor B?hm,Tobias J K Edler von Koch,Stephen Kyle,et al.Generalized just-in-time trace compilation using a parallel task farm in a dynamic binary translator[J].ACM,2008,11(6):7-10.
[12]  Chandra Krintz.Coupling on-line and off-line profile information to improve program performance[J].Code Generation and Optimization,2003,11(9):69-78.

Full-Text

comments powered by Disqus

Contact Us

service@oalib.com

QQ:3279437679

微信:OALib Journal