节点文献
KVM GC优化技术的研究与实现
【作者】 曹军;
【导师】 罗蕾;
【作者基本信息】 电子科技大学 , 计算机应用技术, 2004, 硕士
【摘要】 近几年来,由于移动终端设备的蓬勃发展,各式各样的硬件设备,软件平台都被开发出来.但是程序员如果想要写出能够跨越这么多平台的应用来,不是一件容易的事.因此,本身具有跨平台特性的JAVA程序语言在目前的手机,PDA等嵌入式系统中越来越受欢迎.J2ME(Java 2 Micro Edtion)是Sun公司针对消费电子和嵌入式设备制定的Java 2技术的精简版本。MIDP(Mobile Information Device Profile)是J2ME针对移动通信设备设计的一个子集。J2ME/MIDP为移动通信设备提供了一个统一的开发平台,使得开发人员可以快速为不同的移动通信设备开发完全可移植的增值应用,而无需考虑不同设备的硬件和软件差异。J2ME/MIDP应用的平台无关性是其在移动通信领域取得成功的原因,但它是以牺牲运行性能为代价的。近年来,多种性能优化技术在Java虚拟机中的应用使Java在PC工作站和服务器端的性能已经达到了接近或超过C程序性能的水平,然而嵌入式平台又给Java虚拟机的性能优化提出了新的问题。移动通信设备一般只具备相当有限的计算能力、存储能力和电力供应,这些情况都大大制约了现行的复杂的优化技术在嵌入式设备上的应用。本文分析了应用于Java虚拟机的几种主要的内存管理优化技术,并针对移动通信设备的硬件特点,分析了现有的内存管理优化技术应用于嵌入式Java虚拟机上所面临的困难,提出并实现了一种基于内存分代管理的嵌入式Java虚拟机性能优化方案。该方案可降低嵌入式Java虚拟机因进行内存管理而带来的运行代价,同时具有可移植性好、对系统资源要求较低等特点。随着移动通信市场的高速发展和对增值应用需求的快速增长,在最近的数年内,J2ME/MIDP技术将在移动通信市场中扮演一个举足轻重的角色,而对嵌入式Java虚拟机性能优化的研究工作也将具有重要的实用价值。
【Abstract】 Recent years, as the flourishing development of mobile terminal, more and more hardware and software platforms have been exploited. But it’s difficult for programmers to develop applications which can run on so many different platforms .So JAVA program language as its virtue of platform dependent is very popular in embedded equipment such as cell-phone or PDA. The Java? 2 platform, Micro Edition (J2ME) is the Java platform for consumer and embedded devices such as mobile phones, PDAs or TV set-top boxes. The Mobile Information Device Profile (MIDP), combined with the Connected Limited Device Configuration (CLDC), is a subset of J2ME for today’s mobile information devices (MIDs) such as mobile phones and entry level PDAs. J2ME/MIDP enables developers to develop Java applications for MIDs easily, quickly and with full portabilities.The real success of J2ME/MIDP depends on its performance on MIDs. s Due to resource constraints of MIDs(slow CPU, small memory & limited batteries), the complicated performance techniques developed for desktop PCs and/or servers(such as JIT, adaptive compiling or static compilation) can hardly be applied to J2ME/MIDP.This dissertation describes our work on a small, fast and effective Java garbage collector for J2ME/MIDP. We demonstrates a few simple techniques which make it possible to create highly-portable fast garbage collector, which can easily meet the footprint requirements of low-end MIDs with respectable performance.
【Key words】 CLDC; MIDP; JAVA Virtual Machine; garbage collect; memory mark; memory scan; memory compact; time-sharing; generation; pointer reverse;
- 【网络出版投稿人】 电子科技大学 【网络出版年期】2005年 01期
- 【分类号】TN929.5
- 【被引频次】2
- 【下载频次】134