摘要
1 引言 Java是一种编程语言,用其编写的程序具有安全、模块化和可移植等特点。当前Java在Internet有广泛应用,在网站主页的HTML代码中嵌入Java类文件,可以增强界面的动画效果,这种类文件称为小程序(Applet),它是Java源程序的可执行代码。当浏览器访问包含小程序的主页时,相应的类文件从服务器传送到在客户机上运行的Java虚拟机(JVM)上,由JVM生成相应的类对象,并执行相应的方法。Netscape浏览器中就包含这种JVM。
Java virtual machine is a machine architecture for executing programs. It is designed to be secure,modular and portable. However,the object-oriented features of the architecture also have a tremendous impact on the performance of the virtual machine. In order to better understand the performance of instructions in the Java virtual machine,this paper gives a benchmark suite based on Web applets in Order to measure the performance of instructions. Testing results show that most of the execution time in the virtual machine is spent on memory management and garbage collection for objects. Using these results,this paper suggests improvements to be incorporated into future implementations.
出处
《计算机科学》
CSCD
北大核心
2000年第4期5-8,共4页
Computer Science
基金
国家自然科学基金(批准号69803013)
关键词
JAVA语言
指令集结构
编程语言
Java virtual machine,Instruction set architecture,Performance