| Java is the next popular commercial language after C and C++, which is used widely in various fields. The architecture of Java can help the programmer adapt to hardware platform, owing to the ability Java Virtual Machine provides: security, platform independence, and network-mobility. Java is becoming more and more important for this reason. How to get a good-performance Java Virtual Machine is the goal of the platform manufacturer. Under the background, this paper deeply researches the Kaffe Virtual Machine, the Open Source Software, and improves the VM in some modules.This paper researches the organization of Kaffe's modules, and analyses other modules of Kaffe through the drive module which is the core.This paper studies the implementation principle of Kaffe's Just-In-Time. Mainly studies Trampoline's principle and intermediate code, and proposes the improvement on JIT called concurrent running model.This paper studies the memory management of Kaffe, and researches the principle of free lists of segregated storage. Moreover, this paper studies the tri-color model of the conservative garbage collection algorithm, and proposes the improvement of this module.This paper studies the model of DTV middleware, designs and implements this model by porting Kaffe to the graphic library Qt/E and reduction of Kaffe in our embedded system.By the research and improvement of Kaffe, this thesis could be a good reference for embedded platform development and porting. |