ANSI fake VM

author David Jones
date 1996-11-07
index terms pair: ANSI fake VM; design
revision //info.ravenbrook.com/project/mps/version/1.114/design/vman.txt#1
status incomplete document
tag design.mps.vman

.intro: The ANSI fake VM is an implementation of the MPS VM interface (see design.mps.vm) using only services provided by the ANSI C Library (standard.ansic.7).

.page.size: The VM uses a fake page size, given by the constant VMAN_PAGE_SIZE in config.h.

.align: The VM is aligned to the arena grain size by adding the grain size to the requested size, allocating a block that large using malloc(), then rounding the pointer to the block up to a multiple of the grain size and storing the result in vm->base. The block is stored in vm->block, which is passed to free() in VMFinish().

Document History

  • 1996-11-07 David Jones. Incomplete document.
  • 2002-06-07 RB Converted from MMInfo database design document.
  • 2013-05-23 GDR Converted to reStructuredText.
  • 2014-06-18 GDR Bring up to date.