Implementation and Performance Analysis of the EVM`s Java Dynamic Memory Manager and Garbage Collector


The KIPS Transactions:PartA, Vol. 13, No. 4, pp. 295-304, Aug. 2006
10.3745/KIPSTA.2006.13.4.295,   PDF Download:

Abstract

Java has been established as one of the most widely-used languages owing to its support of object-oriented concepts, safety, and flexibility. Garbage collection in the Java virtual machine is a core component that relieves application programmers of difficulties related to memory management. In this paper, we propose a memory manager and a garbage collector that is implemented on a embedded java virtual machine. The memory manager divide a heap into various-sized cells and manages it as blocks of same-sized cells. So it is possible to allocate and free memory fast. We adopted the 3-color based Mark & Sweep garbage collector as our base algorithm and we propose 4-color based Mark & Sweep garbage collector for supporting multi-threaded program. The proposed garbage collector occurs memory fragmentation but we show through a experiment that the fragmentation ratio is almost fixed according as we create objects continuously.


Statistics
Show / Hide Statistics

Statistics (Cumulative Counts from September 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article
[IEEE Style]
S. Y. Lee, H. S. Won, B. U. Choi, "Implementation and Performance Analysis of the EVM`s Java Dynamic Memory Manager and Garbage Collector," The KIPS Transactions:PartA, vol. 13, no. 4, pp. 295-304, 2006. DOI: 10.3745/KIPSTA.2006.13.4.295.

[ACM Style]
Sang Yun Lee, Hee Sun Won, and Byung Uk Choi. 2006. Implementation and Performance Analysis of the EVM`s Java Dynamic Memory Manager and Garbage Collector. The KIPS Transactions:PartA, 13, 4, (2006), 295-304. DOI: 10.3745/KIPSTA.2006.13.4.295.