Affiliation:
1. Iowa State University, Ames, IA
2. University of Nebraska-Lincoln, Lincoln, NE
Abstract
This paper presents a detailed design and implementation of a power-efficient garbage collector for Java embedded systems. The proposed scheme is a hybrid between the standard mark-sweep-compact collector available in Sun's KVM and a limited-field reference counter. There are three benefits resulting from the proposed scheme. (a) the proposed scheme reclaims memory more efficiently and this results in less mark-sweep garbage collection invocations, (b) reduction in garbage collection invocations improves cache locality and reduces the number of main memory accesses, and (c) reduction in memory access ultimately results in lower energy consumption, since a memory access can consume a large amount of energy when compared with an instruction execution. The proposed scheme has been implemented into Sun's KVM, and has been shown to reduce the number of mark-sweep garbage collection invocations by up to 100% in some cases, and the number of level-1 cache misses by as much as 87% when compared to the default garbage collector. We also find that in some applications, the proposed scheme can reduce the power consumption by as much as 27% when compared to the default Sun's KVM.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
7 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. A Survey on Automatic Source Code Transformation for Green Software Generation;Encyclopedia of Sustainable Technologies;2024
2. A Surrogate Optimization Method for Automatically Generating Greener Software Using LLVM;2023 3rd International Conference on Electrical, Computer, Communications and Mechatronics Engineering (ICECCME);2023-07-19
3. Analysing and Predicting Energy Consumption of Garbage Collectors in OpenJDK;Proceedings of the 19th International Conference on Managed Programming Languages and Runtimes;2022-09-14
4. One Process to Reap Them All;Proceedings of the 13th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments;2017-04-08
5. Don't race the memory bus: taming the GC leadfoot;Proceedings of the 2015 International Symposium on Memory Management;2015-06-14