| 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... |