skip to main content
article
Free access

A brief introduction to regions

Published: 01 October 1998 Publication History

Abstract

The paper gives an overview of region-based memory management. The emphasis of the paper is on the dynamic aspects of execution, specifically memory management. We illustrate how three static program analyses can be used for inferring memory management directives. They are region inference, physical size inference, and storage mode analysis. We describe these analyses for a skeletal language inspired by Standard ML. We also describe a region-based runtime system for the skeletal language, based on the runtime system of the ML Kit with Regions.

References

[1]
Lars Birkedal, Mads Tofte, and Magnus Vejlstrup. From region inference to von Neumann machines via region representation inference. In Proceedings of the 23rd A CM SIGPLAN- SIGA CT Symposium on Principles of Programruing Languages, pages 171-183. ACM Press, January 1996.
[2]
J. M. Lucassen D. K. Gifford, P. Jouvelot and M.A. Sheldon. Fx-87 reference manual. Technical Report MIT/LCS/TR-407, MIT Laboratory for Computer Science, Sept 1987.
[3]
Martin Elsman and Niels Hallenberg. An optimizing backend for the ML Kit using a stack of regions. Student Project 95-7-8, Department of Computer Science, University of Copenhagen (DIKU), July 5 1995.
[4]
Martin Elsman. Polymorphic equality - no tags required. In Second International Workshop on Types in Compilation, March 1998.
[5]
P. Jouvelot and D.K. Gifford. Algebraic reconstruction of types and effects. In Proceedings of the 18th A CM Symposium on Principles of Programming Languages (POPL), 1991.
[6]
Peter Naur. Revised report on the algorithmic language Algol 60. Comm. ACM, 1:1-17, 1963.
[7]
Mads Torte and Lars Birkedal. A region inference algorithm. Transactions on Programming Languages and Systems (TOPLAS), July 1998.
[8]
Mads Torte, Lars Birkedal, Martin Elsman, Niels Hallenberg, Tommy Hcjfeld Olesen, Peter Sestoft, and Peter Bertelsen. Programming with regions in the ML Kit. Technical Report DIKU-TR-97/12, Dept. of Computer Science, University of Copenhagen, 1997. (http://www.diku.dk/research-groups/ topps/activities/kit2).
[9]
Jean-Pierre Talpin and Pierre Jouvelot. Polymorphic type, region and effect inference. Journal of Functional Programming, 2(3), 1992.
[10]
Mads Torte and Jean-Pierre Talpin. Implementing the call-by-value lambda-calculus using a stack of regions. In Proceedings of the 21st ACM SIGPLA N-SIGA CT Symposium on Principles of Programming Languages, pages 188-201. ACM Press, January 1994.
[11]
Mads Torte and Jean-Pierre Talpin. Regionbased memory management. Information and Computation, 132(2):109-176, 1997.
[12]
Paul R. Wilson. Uniprocessor garbage collection techniques. In Y. Bekkers and J. Cohen, editors, Memory Management, Proceedings, International Workshop IWMM92, pages 1-42. Springer-Verlag, September 1992.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Notices
ACM SIGPLAN Notices  Volume 34, Issue 3
March 1999
195 pages
ISSN:0362-1340
EISSN:1558-1160
DOI:10.1145/301589
Issue’s Table of Contents
  • cover image ACM Conferences
    ISMM '98: Proceedings of the 1st international symposium on Memory management
    October 1998
    200 pages
    ISBN:1581131143
    DOI:10.1145/286860
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 October 1998
Published in SIGPLAN Volume 34, Issue 3

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)84
  • Downloads (Last 6 weeks)13
Reflects downloads up to 24 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media