Advertisement

Memory Management and Garbage Collection

  • John Hunt

Abstract

This chapter describes how Smalltalk manages its memory and how automatic garbage collection is achieved. Automatic garbage collection and memory management are one of the main features lacking from some other object oriented languages (such as C++ ). We therefore begin the chapter by considering why high level object oriented languages should provide automatic memory management and garbage collection. A discussion is then presented of the way in which VisualWorks manages its memory and identifies those objects whose memory can be collected and reused. The process, by which obejcts can be relocated into permanent memory, is described. This can improve the efficiency of the garbage collector. Following this we consider the exception handling facilities in Smalltalk.

Keywords

Virtual Machine Garbage Collection Memory Management Memory Allocation Object Oriented Language 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag London Limited 1997

Authors and Affiliations

  • John Hunt
    • 1
  1. 1.Computer Science DepartmentThe University of Wales, PenglaisAberystwyth, DyfedWales

Personalised recommendations