作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (1): 47-49. doi: 10.3969/j.issn.1000-3428.2008.01.015

• 博士论文 • 上一篇    下一篇

即时编译器中的代码消极生成机制

史晓华,金茂忠   

  1. (北京航空航天大学计算机学院,北京 100083)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-01-05 发布日期:2008-01-05

Lazy Code Selector in a Just-in-time Compiler

SHI Xiao-hua, JIN Mao-zhong   

  1. (Department of Computer Science and Technology, Beijing University of Aeronautics and Astronautics, Beijing 100083)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-01-05 Published:2008-01-05

摘要: 提出一种应用于即时编译器中的代码生成优化技术——代码消极生成机制,结合Intel微处理器研究院的XORP虚拟机对该项技术进行了阐述。介绍了XORP中实现的其他轻量级优化算法,并采用EEMBC对不同虚拟机和不同优化进行了科学评估。采用该项技术的XORP虚拟机的运行速度为KVM的15倍以上,超过其他商用高性能虚拟机。

关键词: 代码生成器, 即时编译器, JVM虚拟机

Abstract: This paper introduces an optimization technology of code generation, namely lazy code selector, in just-in-time compiler, and demonstrates the details of designation and implementation of this technology in Intel’s high-performance J2ME JVM, XORP. Other lightweight optimizations in XORP have also been introduced. EEMBC is used to evaluate the performance of XORP with other JVMs, and the impact of different optimizations in XORP. With the lazy code selector, XORP is more than fifteen times faster than KVM, and faster than other commercial high-performance JVM.

Key words: code selector, JIT compiler, JVM

中图分类号: