2000 · 24 citations · 11 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureProgramming LanguagesData-flow AnalysisMemory ManagementAutomatic Memory ManagementCompiler DesignHeap AnalysisMemory AllocationMemory Allocation OverheadMemory Leak DetectionMemory ReclamationPerformance Bottleneck Detection
Memory is the performance bottleneck of modern architectures. Keeping memory consumption as low as possible enables fast and unobtrusive applications. But it is not easy to estimate the memory use of programs implemented in functional languages, due to both the complex translations of some high level constructs, and the use of automatic memory managers.To help understand memory allocation behavior of Scheme programs, we have designed two complementary tools. The first one reports on frequency of allocation, heap configurations and on memory reclamation. The second tracks down memory leaks1. We have applied these tools to our Scheme compiler, the largest Scheme program we have been developing. This has allowed us to drastically reduce the amount of memory consumed during its bootstrap process, without requiring much development time.Development tools will be neglected unless they are both conveniently accessible and easy to use. In order to avoid this pitfall, we have carefully designed the user interface of these two tools. Their integration into a real programming environment for Scheme is detailed in the paper.
11
Susan L. Graham, Peter B. Kessler, Marshall Kirk McKusick · 1982 · 978 citations
Revised5 Report on the Algorithmic Language Scheme
Hal Abelson, R. Kent Dybvig, Christopher T. Haynes et al. · LISP and Symbolic Computation · 1998 · 414 citations
Space efficient conservative garbage collection
Hans‐Juergen Boehm · 1993 · 173 citations