Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. Computer Science and Artificial Intelligence Lab (CSAIL)
  3. Artificial Intelligence Lab Publications
  4. AI Memos (1959 - 2004)
  5. Phantom Stacks: If You Look Too Hard, They Aren't There

Phantom Stacks: If You Look Too Hard, They Aren't There

Thumbnail Image
Download
Name

AIM-556.pdf

Size

2.37 MB

Format

Adobe PDF

Checksum (MD5)

cf1817d0727f6c9587b788c976bd63de

Thumbnail Image
Download
Name

AIM-556.ps

Size

3.04 MB

Format

PostScript

Checksum (MD5)

220e45630b67f6f426f62175662094ee

Author(s)
Stallman, Richard M.
Date Issued
July 1, 1980
Series/Report no.
AIM-556
Abstract
A Stack is a very efficient way of allocating and deallocating memory, but it works only with a restricted pattern of usage. Garbage collection is completely flexible but comparatively costly. The implementation of powerful control structures naturally uses memory which usually fits in with stack allocation but must have the flexibility to do otherwise from time to time. How can we manage memory which only once in a while violates stack restrictions, without paying a price the rest of the time? This paper provides an extremely simple way of doing so, in which only the part of the system which actually uses the stack needs to know anything about the stack. We call them Phantom Stacks because they are liable to vanish if subjected to close scrutiny. Phantom Stacks will be used in the next version of the Artificial Intelligence Lab's Scheme microprocessor chip.
Persistent DSpace Link
http://hdl.handle.net/1721.1/6331
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.