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

计算机工程 ›› 2007, Vol. 33 ›› Issue (06): 233-235. doi: 10.3969/j.issn.1000-3428.2007.06.082

• 工程应用技术与实现 • 上一篇    下一篇

Java虚拟机的硬件实现研究

刘 丹1,2,孟令奎1   

  1. (1. 武汉大学遥感信息工程学院,武汉 430079;2. 华中师范大学信息技术系,武汉 430079 )
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-03-20 发布日期:2007-03-20

Research on Hardware Implementation of Java Virtual Machine

LIU Dan1,2, MENG Lingkui1   

  1. (1. School of Remote Sensing and Information Engineering, Wuhan University, Wuhan 430079; 2. Department of Information Technology, Huazhong Normal University, Wuhan 430079)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-03-20 Published:2007-03-20

摘要: Java语言的平台无关性使其正在进入嵌入式系统领域,但Java的性能问题一直是Java应用关注的焦点。JIT技术的运用在一定程度上提高了Java的执行速度,但在对实时性要求高和存储受限的嵌入式等系统的运用中仍然难以满足其要求。文章提出了一种基于硬件的解决方法——Java处理器,它能直接执行Java字节码,从而提高Java的性能,以用于实时及嵌入式系统。

关键词: Java虚拟机, 状态寄存器, 缓存, 流水线

Abstract: In embedded system fields, at present, C and compile language which are based on real time operating system still have the high place. As technology’s development, Java is stepping into embedded system fields, for example mobile phone, PDA and set-top box etc. However, the problem of Java’s performance is always the focus of Java applications because JVM makes Java application execute slowly and need large memory. This paper promotes a Java processor based on hardware which can directly execute Java bytecode and elevate the performance greatly. This method is applicable to real-time and embedded systems.

Key words: JVM, PSW, Cache, Pipeline