现在的位置: 首页 > 综合 > 正文

在ARM上实现的一种Java虚拟机

2013年12月07日 ⁄ 综合 ⁄ 共 1694字 ⁄ 字号 评论关闭
 

A Java Virtual Machine Implemented On Arm

 

摘要

本文叙述了Java虚拟机(JVM)的概念,ARM体系结构的介绍及如何根据现有代码修改和移植实现一个ARM上的Java虚拟机—ArmJVM。着重介绍了虚拟机的体系结构,实验室已有基于WIN32平台的代码从WindowsLinux再到Arm Linux的修改、移植、优化过程以及对移植后的虚拟机的改进工作。其中详细介绍了ARM LinuxLinuxWindows程序设计的异同、ArmJVM虚拟机具体实现中遇到的难点和解决、gcc的内嵌汇编以及arm汇编简要介绍。最后通过测试ArmJVM来验证其正确性和运行效率。

关键词

ARMLinuxJava虚拟机(JVM),本地方法,动态链接,gcc内嵌汇编

 

 

Abstract

This paper describes the conception of Java Virtual Machine (JVM), the ARM architecture and how to implement the JVM on ARM which modified and ported from the exist codes in WIN32 of my lab. It emphasizes the architecture of JVM and how to port the existed codes from Win32 platform to Linux and then to Arm Linux. It describes the details about the JVM porting, including the differences between Windows, Linux and Arm Linux, the problem with implementing the ArmJVM on Arm machine, the gcc inline asm language and the arm asm language. At last, the correctness and efficiency of the implementation is validated by testing ArmJVM

Keywords

Arm, Linux, Java Virtual Machine (JVM), Native Method, Dynamic Link, Gcc Inline Asm


抱歉!评论已关闭.