Title :
Research on stack-allocation based JVM garbage collection
Author :
Xu, Xiaoliang ; Shen, Jiang
Author_Institution :
Coll. of Comput. Sci., Hangzhou Dianzi Univ., Hangzhou, China
Abstract :
In order to reduce the costs of Java virtual machine garbage collector, a stack-allocation based on garbage collection algorithm is proposed in this paper. The stack frame is improved to support the object storage, and the stackable objects are identified with expanded byte code when the compiler compiles the Java source code. The stackable objects are allocated to Java stack and released instantly when they leave their scope, and the other objects are still allocated to heap and released by garbage collector. Experimental result shows, compared to traditional garbage collector, that new algorithm improves the performance of memory allocating and releasing, reduces the burden of garbage collector, and runs faster.
Keywords :
Java; program compilers; storage management; virtual machines; JVM garbage collection; Java virtual machine; cost reduction; stack-allocation; Java virtual machine; garbage collection; stack allocation;
Conference_Titel :
Advanced Computer Theory and Engineering (ICACTE), 2010 3rd International Conference on
Conference_Location :
Chengdu
Print_ISBN :
978-1-4244-6539-2
DOI :
10.1109/ICACTE.2010.5579281