期刊文献+

嵌入式Java虚拟机实现中的代码优化 被引量:6

A Optimization for Byte-codes in Embedded Java Virtual Machine
在线阅读 下载PDF
导出
摘要 代码优化是提高Java虚拟机执行速度的重要手段之一。本文提出了一种基于预处理的代码优化方法。预处理模块与嵌入式Java虚拟机并行工作 ,为其标注基本块、循环等结构 ,并通过数据流分析收集各方法、各变量的引用次数。Java虚拟机利用预处理模块所收集的信息 ,判定各块程序的执行频率 ,对高频部分进行内联、寄存器分配等优化处理。 The optimization of code is an important approach to improve the performance of embedded Java virtual machine, i.e. Kilos Virtual Machine.In the paper, a kind of the pretreatment-based optimization technology is presented (KVM). The pretreatment module concurrently works with Kilos Virtual Machine(KVM).The optimization can search and label some program structures such as block and circle.It also counts the number of times for methods and variants to be referenced.Making using of the result of pretreatment, KVM can find the most frequently executed blocks,and optimize them.Optimization includes inline and register assigning and the like.
出处 《河南科技大学学报(自然科学版)》 CAS 2003年第1期55-58,共4页 Journal of Henan University of Science And Technology:Natural Science
基金 洛阳工学院科研基金资助项目 (2 0 0 10 7)
关键词 嵌入式JAVA虚拟机 代码优化 预处理 KVM 解释器 JIT算法 内联 寄存器分配 Java virtual machine Optimization Pre-treatment Attribute Inline Register assigning
  • 相关文献

参考文献6

  • 1丁宇新,梅嘉,程虎.国产开放系统平台Java及时编译器的设计与实现[J].计算机学报,1999,22(12):1295-1299. 被引量:4
  • 2蒋立源.编译原理[M].西安:西北工业大学出版社,2001.4.
  • 3Sun Microsystems Inc. CLDC Specificationl .O[ R] .2000.
  • 4Geetha Manjunath, Venkatesh Krishnan. A Small Hybrid JIT for Embedded Systems[J]. ACM SIGPLAN Notices, 2000,35(4):44-49.
  • 5John Whaley. Partial Method Compilation Using Dynamic Profile Information[J]. ACM SIGPLAN Notices, 2001, 36( 11 ): 166- 179.
  • 6Timothy Cramer,Iehard Friedman R,Terrenee Miller. Compiling Java Just in Time[J]. IEEE Micro, 1997, :36- 43.

二级参考文献1

  • 1Chang P P,Software Practice Experience,1991年,21卷,12期,1301页

共引文献6

同被引文献21

  • 1李允,罗蕾,雷昊峰,熊光泽.嵌入式Java虚拟机的性能优化技术[J].计算机工程,2004,30(18):46-48. 被引量:12
  • 2VENNERSB 曹晓刚 蒋靖 译.深入Java虚拟机[M](第2版)[M].北京:机械工业出版社,2003..
  • 3VENNERS B. Inside the Java Virtual Machine[M]. 2nd edition.New York: MeCraw-Hill, 2000.27 -98.
  • 4LINDOLM T, YELLIN F. The Java Virual Machine Specification[M]. 2nd edition. Boston, MA: Addison Wesley, 1999.21 - 104.
  • 5DOYLE JK, MOSS JEB, HOSKINGS AL. When are Bytecodes Faster than Direct Execution[DB/OL].ftp://ftp.cs. umass.edu/pub/osl/papers/oopsla97a.ps. gz, 1997.
  • 6IUMARTA I, RICCARDI F. Optimizing direct threaded code by selective inlining[J]. ACM SIGPLAN Notices archive, 1998, 33(5).
  • 7ADL-TABATABAI AR, CIERNAK M, LUEH GY, et al. Fast, effective code generation in a justin-time Java compiler[J]. Conference on Programming Language Design and Implementation, 1998,33(6).
  • 8GREGG D, ERTL MA, KRALL A. A Fast Java Interpreter[A].JOSES Workshop at ETAPS'01 [C], 2001.
  • 9GAGNON EM, HENDREN LJ. SableVM: A Research Framework for the Efficient Execution of Java Bytecode[A]. Proceedings of the Java Virtual Machine Research and Technology Symposium[C].Monterey, California, 2001.2740.
  • 10Piumarta I,Riccardi F.Optimizing Direct Threaded Code by Selective Inlining[C]//Proc.of SIGPLAN Conference on Programming Language Design and Implementation,1998.

引证文献6

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部