| Home > Publications > Reports > Informatics (CW) |
CW 424
Quan Phan and Gerda Janssens
A proposal for region-based memory management for deterministic Mercury programs
Abstract
This paper presents an approach for region-based memory management for Mercury programs. First, region analysis based on a points-to graph determines the different regions in the program. Second, the liveness of the regions is computed. Finally, a program transformation adds region annotations to the program for the region-based memory management. Some small logic programs are analysed manually and discussed to show the promissing benefits of our approach. While the approach is developed here mainly for deterministic Mercury programs the paper also discusses possible extensions to support non-determinism, module-based region analysis, and most noticeably the combination with compile-time garbage collection in the context of Mercury programs.
report.pdf (223K) / mailto: Q. Phan
