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 resuits,this paper suggests improvements to be incorporated into future implementations.
展开▼