Java虚拟机分析

Analysis of a Java Virtual Machine

  • 摘要: 研究 Java平台的核心——虚拟机 .为了使 Java在不同的平台上顺利运行 ,研究 Java虚拟机 (Java virtualmachine,简称 JVM)的组成及运行机制 ,为编程实现 JVM或向各种平台移植 JVM提供参考 .通过对 Kaffe(一种Java虚拟机的实现 )桌面版本的源代码进行分析 ,得出虚拟机运行的整个流程 ,并对流程中的关键部分进行深入研究 ,同时结合 Sun的《Java虚拟机规范》,总结出实现 JVM的一些关键步骤 ,并提出改进 JVM运行效率的建议

     

    Abstract: The Java virtual machine is studied, which is the core of a Java platform. In order that Java can run smoothly on various platforms, the composition and running mechanism of the Java virtual machine are studied and a reference for implementing JVM and porting JVM to other platforms is provided. Through an analysis on the source of Kaffe which shows a case of implementation of the JVM, the flow chart of a running JVM it summarized and in some depth the JVM’s key parts are studied. At the same time, some key steps in implementing JVM are summaried and some advices are given which can be used to improve the running efficiency of JVM.

     

/

返回文章
返回
Baidu
map