Abstract
Logic programming systems build the terms on the heap. Then automatic memory management for the heap relies on backtracking and runtime garbage collection to reclaim space on the heap. While efficient implementations of garbage collectors for logic programming languages can reuse more than 90% of the heap space, they introduce performance overhead to the execution of a program.
This work is supported by the project GOA/2003/08 and by FWO Vlaanderen.
Similar content being viewed by others
References
Aiken, A., Fahndrich, M., Levien, R.: Better static memory management: Improving region-based analysis of higher-order languages. In: PLDI (1995)
Cherem, S., Rugina, R.: Region analysis and Transformation for Java. In: ISMM 2004, pp. 85–96 (2004)
Grossman, D., Morrisett, G., Jim, T., Hicks, M., Wang, Y., Cheney, J.: Region-based memory management in Cyclone. In: PLDI 2002, pp. 282–293 (2002)
Henglein, F., Makholm, H., Niss, H.: A direct approach to control-flow sensitive region-based memory management. In: PPDP 2001, pp. 175–186 (2001)
Makholm, H.: A region-based memory manager for Prolog. In: ISMM 2000, pp. 25–34 (2000)
Makholm, H., Sagonas, K.: On Enabling the WAM with Region Support. In: Stuckey, P.J. (ed.) ICLP 2002. LNCS, vol. 2401, p. 163. Springer, Heidelberg (2002)
Mazur, N.: Compile-time garbage collection for the declarative language Mercury. PhD thesis, Computer Science Dept., Katholieke Universiteit Leuven (May 2004)
Tofte, M., Talpin, J.-P.: Region-based memory management. Information and Computation 132(2), 109–176 (1997)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Phan, Q., Janssens, G. (2006). Towards Region-Based Memory Management for Mercury Programs. In: Etalle, S., Truszczyński, M. (eds) Logic Programming. ICLP 2006. Lecture Notes in Computer Science, vol 4079. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11799573_37
Download citation
DOI: https://doi.org/10.1007/11799573_37
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-36635-5
Online ISBN: 978-3-540-36636-2
eBook Packages: Computer ScienceComputer Science (R0)