Author:
Diwan Amer,Moss Eliot,Hudson Richard
Abstract
We consider the problem of supporting compacting garbage collection in the presence of modern compiler optimizations. Since our collector may move any heap object, it must accurately locate, follow, and update all pointers and values derived from pointers. To assist the collector, we extend the compiler to emit tables describing live pointers, and values derived from pointers, at each program location where collection may occur. Significant results include identification of a number of problems posed by optimizations, solutions to those problems, a working compiler, and experimental data concerning table sizes, table compression, and time overhead of decoding tables during collection. While gc support can affect the code produced, our sample programs show no significant changes, the table sizes are a modest fraction of the size of the optimized code, and stack tracing is a small fraction of total gc time. Since the compiler enhancements are also modest, we conclude that the approach is practical.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference19 articles.
1. PS-algol
2. G. Nelson ed. Systems Programming in Modula-3. New Jersey: Prentice Hall 1991. G. Nelson ed. Systems Programming in Modula-3. New Jersey: Prentice Hall 1991.
3. J.E.B. Moss "Implementing persistence for an object oriented language " COINS Technical Report 87-69 University of Massachusetts Amherst MA 01003 Sept. 1987. J.E.B. Moss "Implementing persistence for an object oriented language " COINS Technical Report 87-69 University of Massachusetts Amherst MA 01003 Sept. 1987.
4. A.L. Hosking "Main memory management for persistence " Oct. 1991. Position paper for OOPSLA '91 Workshop on Garbage Collection. A.L. Hosking "Main memory management for persistence " Oct. 1991. Position paper for OOPSLA '91 Workshop on Garbage Collection.
Cited by
19 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. A fast in-place interpreter for WebAssembly;Proceedings of the ACM on Programming Languages;2022-10-31
2. From folklore to fact: comparing implementations of stacks and continuations;Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation;2020-06-06
3. Closure conversion is safe for space;Proceedings of the ACM on Programming Languages;2019-07-26
4. Fast conservative garbage collection;ACM SIGPLAN Notices;2014-12-31
5. Evaluating the accuracy of Java profilers;ACM SIGPLAN Notices;2010-06-12