File:Structure and Interpretation of Computer Programs p.764a.gif

From testwiki
Jump to navigation Jump to search
    Original file (575 × 349 pixels, file size: 13 KB, MIME type: image/gif)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    This image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with {{vector version available|new image name}}.
    It is recommended to name the SVG file “Structure and Interpretation of Computer Programs p.764a.svg”—then the template Vector version available (or Vva) does not need the new image name parameter.

    Summary

    Description
    English: (From the description p.761 (733) in the pdf file):

    Stop-and-copy garbage collection: memory is divided in two halves: working memory and free memory. When cons constructs pairs, it allocates these in working memory. When working memory is full, we perform garbage collection by locating all the useful pairs in working memory and copying these into consecutive locations in free memory. (The useful pairs are located by tracing all the car and cdr pointers, starting with the machine registers.) Since we do not copy the garbage, there will presumably be additional free memory that we can use to allocate new pairs. In addition, nothing in the working memory is needed, since all the useful pairs in it have been copied. Thus, if we interchange the roles of working memory and free memory, we can continue processing; new pairs will be allocated in the new working memory (which was the old free memory). When this is full, we can copy the useful pairs into the new free memory (which was the old working memory).

    The description assumes a Lisp architecture. The diagram illustrates the situation right before garbage collection.

    Date
    Source
    image extraction process
    This image has been extracted from another file
    : Structure and Interpretation of Computer Programs (Second Edition).pdf
    p.764 (736)
    original file
    Author Massachusetts Institute of Technology, Harold Abelson and Gerald Jay Sussman with Julie Sussman
    Other versions File:Structure and Interpretation of Computer Programs p.764a.gif * File:Structure and Interpretation of Computer Programs p.764b.gif

    Licensing

    (license inherited from original pdf file:)

    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

    Captions

    green_chenel_tube/cearetive.common.org / pollee_online_fashion

    Items portrayed in this file

    depicts

    30 June 2020

    image/gif

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current13:46, 4 July 2020Thumbnail for version as of 13:46, 4 July 2020575 × 349 (13 KB)wikimediacommons>Jochen BurghardtUploaded a work by Massachusetts Institute of Technology, Harold Abelson and Gerald Jay Sussman with Julie Sussman from File:Structure and Interpretation of Computer Programs (Second Edition).pdf, p.764 (736) with UploadWizard

    There are no pages that use this file.