Skip to main content

Memory Management

  • Chapter
  • First Online:
Programming Languages: Principles and Paradigms

Part of the book series: Undergraduate Topics in Computer Science ((UTICS))

  • 8151 Accesses

Abstract

An important component of an abstract machine’s interpreter is the one dealing with memory management. If this component can be extremely simple in a physical machine, memory management for an abstract machine for a high-level language is fairly complicated and can employ a range of techniques. In this chapter we will see both static and dynamic management and will examine activation records, the system stack and the heap. One section in particular is dedicated to the data structures and mechanisms used to implement scope rules. Conceptually, garbage-collection techniques, techniques for the automatic recovery of memory allocated in a heap, are included in memory management. To make the presentation more coherent, these techniques will be explained in Chap. 8, after having dealt with data types and pointers.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.95
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. A. V. Aho, R. Sethi, and J. D. Ullman. Compilers: Principles, Techniques, and Tools. Addison-Wesley, Reading, 1988.

    Google Scholar 

  2. R. P. Cook and T. J. LeBlanc. A symbol table abstraction to implement languages with explicit scope control. IEEE Trans. Softw. Eng., 9(1):8–12, 1983.

    Article  Google Scholar 

  3. B. Randell and L. J. Russell. Algol 60 Implementation. Academic Press, London, 1964.

    MATH  Google Scholar 

  4. C. Shaffer. A Practical Introduction to Data Structures and Algorithm Analysis. Addison-Wesley, Reading, 1996.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Maurizio Gabbrielli .

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag London

About this chapter

Cite this chapter

Gabbrielli, M., Martini, S. (2010). Memory Management. In: Programming Languages: Principles and Paradigms. Undergraduate Topics in Computer Science. Springer, London. https://doi.org/10.1007/978-1-84882-914-5_5

Download citation

  • DOI: https://doi.org/10.1007/978-1-84882-914-5_5

  • Published:

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-84882-913-8

  • Online ISBN: 978-1-84882-914-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics