Research on stack-allocation based JVM garbage collection
Xiaoliang Xu, Shen Jiang
Abstract
Xiaoliang Xu, Shen Jiang
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.
OpenAlex reports 4 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
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.
Key concepts: Garbage collection, Garbage, Computer science, Manual memory management, Java, Heap (data structure), Operating system, Call stack