Download PDF

International Conference on Logic Programming, Date: 2001/11/26 - 2001/12/01, Location: Paphos, Cyprus

Publication date: 2001-01-01
Volume: 2237 Pages: 105 - 119
ISBN: 9783540429357 ISSN: 0302-9743
Publisher: Springer

Lecture notes in computer science

Author:

Mazur, Nancy
Ross, Peter ; Janssens, Gerda ; Bruynooghe, Maurice ; Codognet, P

Keywords:

cs.PL, D.3.4;I.2.3

Abstract:

© Springer-Verlag Berlin Heidelberg 2001. Compile-time garbage collection (CTGC) is still a very uncommon feature within compilers. In previous work we have developed a compile-time structure reuse system for Mercury, a logic programming language. This system indicates which data structures can safely be reused at run-time. As preliminary experiments were promising, we have continued this work and have now a working and well performing near-to-ship CTGC-system built into the Melbourne Mercury Compiler (MMC). In this paper we present the multiple design decisions leading to this system, we report the results of using CTGC for a set of benchmarks, including a real-world program, and finally we discuss further possible improvements. Benchmarks show substantial memory savings and a noticeable reduction in execution time.