节点文献

YJVM-一种运行在嵌入式Linux内核中的Java虚拟机的设计与实现

YJVM-Yet Another JVM Inside Linux Kernel

【作者】 陈熹

【导师】 陈英;

【作者基本信息】 上海交通大学 , 计算机软件与理论, 2007, 硕士

【摘要】 嵌入式系统通常对于资源和执行效率有严格的约束,导致了应用于嵌入式系统中的操作系统通常都提供非常有限的编程接口和系统支持。因此对于传统的嵌入式系统开发人员来说,开发难度相对较大,开发效率也相对较低。Java的出现缓解了这一情况。由于Java的跨平台特性,大批应用程序开发人员可以脱离硬件平台,在桌面的虚拟环境中开发嵌入式应用程序。与传统的Java虚拟机不同,YJVM(Yet another JVM)是运行在嵌入式Linux内核中的Java虚拟机。实现了解释执行Java字节码、线程管理、执行环境管理、集成Classpath核心类库等基本功能。它可以使Linux在内核层次上支持Java的字节码,从而减少了软件层次、为提高效率留下空间。另外,YJVM中还构造了Java的进程管理,为在嵌入式环境中运行Java程序提供了更安全的环境。不同于纯粹用Java来实现的操作系统的尝试,这个方案更充分利用了现有的操作系统的实践成果,在不牺牲Java跨平台特性的前提下,更有实用价值。本文从对嵌入式操作系统的讨论入手,结合Java虚拟机的原理和研究状况阐述了YJVM的设计和实现要点,体现了YJVM相比现有的嵌入式Java解决方案和Java操作系统的优势。本文的主要研究内容及成果包括:作为一种嵌入式操作系统,嵌入式Linux的基本结构和与传统嵌入式操作系统相比的特点和优势。嵌入式Java的传统解决方案和Java操作系统的基本结构。以及他们对于YJVM设计的影响和异同。Java虚拟机的工作原理和结构。在YJVM中Java虚拟机的结构和实现方案之间的具体映射。YJVM中程序装载、解释器、进程管理、垃圾收集和对Classpath核心类库集成的具体实现要点.测试方案的制定的依据和结果;测试例程的构造和选择;测试结果的分析和在此基础上提出的改进和发展方向。

【Abstract】 Embedded system normally has critical restrictions on resource and efficiency. It leads to the fact that embedded operating systems often provide limited programming interface and system support. As for the developers of embedded systems, it is more difficult and less efficient to implement the software. Java has thrown a light on this issue. Application developers can avoid tackling the hardware problems and program in a desktop development environment because of the cross platform personality of Java.Unlike traditional Java virtual machine implementations, YJVM is a kernel-mode Java virtual machine, enabling kernel-level Java support. It maps Java threads to Linux native threads and presents processes to refine the protection mechanism. Unlike Java operating system built with Java, YJVM incorporates the assets of traditional operating systems and provides better backward compatibility and usability.This thesis begins with the discussion of embedded operating systems. It represents the design policy and keys of implementation of YJVM, along with the theory and current research of Java virtual machine. What’s more, the advantages over traditional embedded Java solutions and Java operating systems are also shown. The main content and research result of this thesis include:As a kind of embedded operating system, embedded Linux has its unique features and advantages in technology and developing model.Traditional embedded Java solutions and Java operating system is discussed, as well as the influence they bring to YJVM and the differences from YJVM.The theory and the structure of Java virtual machine and the mapping from these aspects to the design of YJVM.Inside the YJVM, the implementation of class loading, interpreter, process management and essential classes in Classpath are described in detail.Test plan, test routines and test result of YJVM are discussed and the

  • 【分类号】TP316.81;TP311.11
  • 【被引频次】2
  • 【下载频次】214
节点文献中: 

本文链接的文献网络图示:

本文的引文网络