Post · 21 min read· pp. 56–67

Memory Management Glossary: C

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

C89 : See

code
[C90](#term-C90).

C90 : Also known as

code
*C89*.

A revision of the ANSI/ISO Standard for the [C](/u/884599c4278a5039#term-c)
programming language. Although more than twenty years old, it
remains the only form of Standard C that is supported by all
the major compilers, including Microsoft Visual C.

In the MPS

The public interface conforms to this standard. See
[Interface conventions](https://www.ravenbrook.com/project/mps/master/manual/html/topic/interface.html#topic-interface).

Related publication

[ISO/IEC 9899:1990](https://www.ravenbrook.com/project/mps/master/manual/html/design/stack-scan.html#c1990).

C99 : A revision of the ANSI/ISO Standard for C the C programming language.

code
In the MPS

[Keyword arguments](/u/582bb619f9d3b4b6#term-keyword-argument) can be conveniently passed to
functions using C99’s compound literal syntax. See
[Keyword arguments](https://www.ravenbrook.com/project/mps/master/manual/html/topic/keyword.html#topic-keyword).

Related publication

[ISO/IEC 9899:1999](https://www.ravenbrook.com/project/mps/master/manual/html/design/stack-scan.html#c1999).

cache(1) : Also known as

code
*cache memory*, *memory cache*.

A processor’s memory cache is a small piece of fast, but more
expensive memory, usually [static memory (1)](/u/699ff3e2d070663d#term-static-memory-1), used for
copies of parts of [main memory](/u/367f5f45f9800ccb#term-main-memory). The cache is
automatically used by the processor for fast access to any
data currently [resident](/u/611c5a77bde93a2f#term-resident) there. Access to the cache
typically takes only a few processor clock cycles, whereas
access to [main memory](/u/367f5f45f9800ccb#term-main-memory) may take tens or even hundreds
of cycles.

What part of main memory is resident in a cache, and the
mechanisms by which it is kept consistent, are quite varied.
See [cache policy](#term-cache-policy).

Some systems have more than one level of cache. “Level 1
cache” is the fastest, smallest [storage level](/u/699ff3e2d070663d#term-storage-level), “level
2” the next fastest, and so on.

See also

[cache (2)](#term-cache-2), [storage hierarchy](/u/699ff3e2d070663d#term-storage-hierarchy).

cache(2) : A cache is any small, fast piece of memory (1), used for copies of data that normally reside in a larger, slower piece of storage. The cache is used to speed up access to data resident in the slower storage.

code
In a typical cache, recently used data is [resident](/u/611c5a77bde93a2f#term-resident) in
the cache (although the details of this depend on the
[cache policy](#term-cache-policy)). A [cache (1)](#term-cache-1) is the most common
example of a cache(2).

See also

[storage hierarchy](/u/699ff3e2d070663d#term-storage-hierarchy).

cache memory : See

code
[cache (1)](#term-cache-1).

cache policy : Any cache (3) uses a cache policy to decide which data to store. A cache policy is an attempt to predict the future, so that the cache will provide swift responses to future requests.

code
Cache policy may be implemented in hardware, software, or a
combination of both. Some systems allow programs to influence
cache policy, by giving hints or directions about future use
of data.

There are three main aspects of cache behavior which the cache
policy can affect:

1. Fetch policy. This determines which data is fetched into
   the cache, usually as a result of receiving a request for
   data that isn’t cached.
2. Eviction policy. This determines which data is discarded
   from the cache to provide space for newly fetched data.
3. Write policy This determines how and when modifications to
   cached data are synchronized with the underlying storage.

See also

[cache (1)](#term-cache-1), [cache (2)](#term-cache-2), [cache (3)](#term-caching-3).

Related publications

[Baker (1991)](/u/80406cde1a6844cf#baker91), [Wilson et al. (1992)](/u/80406cde1a6844cf#wlm92), [Zorn (1991)](/u/80406cde1a6844cf#zorn91).

caching(3) : Also known as

code
*memoization*, *tabling*.

*Caching* is a heuristic that stores answers to questions
asked in the past in a *cache* or a *table*, in order that
they may be more quickly answered in the future. This process
is also called memoization and tabling (by the [Prolog](/u/884599c4278a5039#term-prolog)
community).

A “look-ahead cache” attempts to store answers to questions
that will be asked soon. A [cache (2)](#term-cache-2) is a common
example of a cache(3).

cactus stack : Also known as

code
*spaghetti stack*.

A cactus stack is a [stack](/u/699ff3e2d070663d#term-stack) with branches. When
diagrammed, its shape resembles that of a [saguaro cactus](https://en.wikipedia.org/wiki/Saguaro).

In languages that support [continuations](#term-continuation),
[activation records](/u/9b03e2fad7c35ce0#term-activation-record) can have [indefinite extent](/u/7010622dc3b8d8f9#term-indefinite-extent).
One technique for implementing continuations is not to copy
the activation records that are captured, but rather to create
a fork in the stack below the captured [stack frames](/u/699ff3e2d070663d#term-stack-frame),
so that new frames appear as a parallel branch. Often the
process of forking is done lazily: captured frames are only
duplicated if they are modified.

card : A card is a division of memory, all cards being of equal size (in a particular area of discourse). A card is usually bigger than a word and smaller than a page. Cards are used in a technique called card marking whereby dirty bits (which record which portions of old generations have been written into) are maintained for each card. Often the use of cards will also entail the use of a crossing map.

card marking : A technique for managing pointer stores (1) into old generations (which in turn is used to track inter-generational pointers). Each generation is divided into a number of equal-sized cards, and when a generation is written into, the particular card written to is recorded (often by using a bitmap). Subsequently, when scanning an older generation in order to collect a younger generation, only the recorded cards (in the old generation) need to be scanned.

code
See also

[generational garbage collection](/u/9334865be20dfda3#term-generational-garbage-collection).

Related publications

[Azagury et al. (1998)](/u/80406cde1a6844cf#akpy98), [Hosking & Hudson (1993)](/u/80406cde1a6844cf#hh93), [Sobalvarro (1988)](/u/80406cde1a6844cf#sobalvarro88).

cell : See

code
[object](/u/f63e411ec871b42a#term-object).

Cheney collector : Also known as

code
*Cheney scan*.

A Cheney collector uses the [tospace](/u/f992775ea91d0285#term-tospace) of a
[two-space collector](/u/f992775ea91d0285#term-two-space-collector) as a queue of objects remaining to
be [scanned](/u/699ff3e2d070663d#term-scan), thus eliminating the need for
recursion when [tracing](/u/f992775ea91d0285#term-trace) the [graph](/u/9334865be20dfda3#term-graph) of
[objects](/u/f63e411ec871b42a#term-object).

Related publication

[Cheney (1970)](/u/80406cde1a6844cf#cheney70).

Cheney scan : See

code
[Cheney collector](#term-Cheney-collector).

clamped state : In the MPS

code
One of the four states an [arena](/u/9b03e2fad7c35ce0#term-arena) can be in (the
others being the [unclamped state](/u/ced5e8494ccaae80#term-unclamped-state), the
[parked state](/u/5195e3271b5de55e#term-parked-state), and the [postmortem state](/u/5195e3271b5de55e#term-postmortem-state)).
In the clamped state, no object motion occurs and the
staleness of [location dependencies](/u/34ad814de80e6063#term-location-dependency) does not
change. However, a [garbage collection](/u/9334865be20dfda3#term-garbage-collection) may be in
progress. Call [`mps_arena_clamp()`](https://www.ravenbrook.com/project/mps/master/manual/html/topic/arena.html#c.mps_arena_clamp) to put an arena
into the clamped state.

client arena : In the MPS

code
An [arena class](/u/9b03e2fad7c35ce0#term-arena-class) that gets its [memory (2)](/u/367f5f45f9800ccb#term-memory-2)
from the [client program](#term-client-program). See
[Client arenas](https://www.ravenbrook.com/project/mps/master/manual/html/topic/arena.html#topic-arena-client).

client object : In the MPS

code
A [formatted object](/u/b18026a6b8cfa4c8#term-formatted-object) that contains data from the
[client program](#term-client-program). One of three types of formatted
objects, the other two being [forwarding objects](/u/b18026a6b8cfa4c8#term-forwarding-object)
and [padding objects](/u/5195e3271b5de55e#term-padding-object).

client pointer : In the MPS

code
A pointer to the first word in an object that’s not part
of the [in-band header](/u/7010622dc3b8d8f9#term-in-band-header). See
[In-band headers](https://www.ravenbrook.com/project/mps/master/manual/html/topic/format.html#topic-format-headers).

See also

[base pointer](/u/4c6aaf4e0e0b7eb6#term-base-pointer).

client program : See

code
[mutator](/u/367f5f45f9800ccb#term-mutator)

closure : A closure is a function or procedure that is saved along with the current bindings from enclosing blocks for later invocation.

code
Some programming languages, such as [ALGOL](/u/884599c4278a5039#term-algol), permit
nested blocks to access the local variables of enclosing
blocks. [Lisp](/u/884599c4278a5039#term-lisp)-like languages further permit such an
inner block (in particular a function or procedure) to be
saved for later invocation. The act of saving such an inner
block along with the current bindings of variables in the
enclosing blocks that are referenced by the inner block, is
called *closing over* or *capturing* those variables. The
object created is termed *a closure*. A closure is invoked
just like the function from which it was built, passing
whatever parameters the function accepts, but when the
function executes, the variables that belong to enclosing
blocks will have the bindings that were in effect when the
closure was created.

Relevance to memory management

A closure is typically implemented by saving both the
function and any [activation records](/u/9b03e2fad7c35ce0#term-activation-record) that contain
variables referenced by the function. The closure creates
additional implicit [references](/u/611c5a77bde93a2f#term-reference) to the bindings
closed over and hence must be accounted for in any memory
management scheme. The closure itself is an object that
must be managed and may have either [dynamic extent](/u/433f84a577790d37#term-dynamic-extent)
or [indefinite extent](/u/7010622dc3b8d8f9#term-indefinite-extent) depending on whether it is
only used by inner blocks of the creating block or passed
out of the creating block.

See also

[continuation](#term-continuation).

coalesce : Coalescing is the act of merging two adjacent free blocks.

code
Coalescing reduces [external fragmentation](/u/43d7e4de9473d658#term-external-fragmentation), but is not
totally effective.

Coalescing can be done as soon as blocks are freed, or it can
be deferred until some time later (known as [deferred
coalescing](/u/433f84a577790d37#term-deferred-coalescing)), or it might not be done at all.

[Wilson et al. (1995)](/u/80406cde1a6844cf#wil95) has details about
fragmentation, and which coalescing strategies are effective
under what circumstances.

cold end : A control stack has two ends: the oldest items are at the cold end and the newest items are at the hot end. Sometimes the cold end is called the “bottom” of the stack, but that is misleading when the stack grows downwards, as it does on common computing platforms.

code
In the MPS

In order for the MPS to be able to [scan](/u/699ff3e2d070663d#term-scan)
[references](/u/611c5a77bde93a2f#term-reference) on the stack, the [client
program](#term-client-program) must pass the location of the cold end of the
stack (or the part of the stack that might contain
references to memory managed by the MPS) to
[`mps_root_create_thread()`](https://www.ravenbrook.com/project/mps/master/manual/html/topic/root.html#c.mps_root_create_thread).

Opposite term

[hot end](/u/5696710a733ccf6f#term-hot-end)

collect : An object is collected when it is reclaimed by a garbage collector.

code
Similar term

[reclaim](/u/611c5a77bde93a2f#term-reclaim).

collection : See

code
[collection cycle](#term-collection-cycle).

collection cycle : Also known as

code
*collection*.

A collection cycle is a single complete execution of a
[tracing garbage collection](/u/f992775ea91d0285#term-tracing-garbage-collection) algorithm.

Each collection cycle includes (not necessarily in strict
order) choosing a [condemned set](#term-condemned-set); [scanning](/u/699ff3e2d070663d#term-scan) [roots](/u/611c5a77bde93a2f#term-root) and [objects](/u/f63e411ec871b42a#term-object) that have not been
condemned; [tracing](/u/f992775ea91d0285#term-trace) the object graph to find
all condemned objects that are [reachable](/u/611c5a77bde93a2f#term-reachable); and
[reclaiming](/u/611c5a77bde93a2f#term-reclaim) those that were not reachable.

In non-incremental garbage collection, the [mutator](/u/367f5f45f9800ccb#term-mutator)
pauses at the start of a collection cycle and cannot continue
until it is complete. In [incremental](/u/7010622dc3b8d8f9#term-incremental-garbage-collection) and [parallel](/u/5195e3271b5de55e#term-parallel-garbage-collection) garbage collection, a collection cycle can be
interleaved with, or simultaneous to, mutator activity.

collector(1) : See

code
[garbage collector](/u/9334865be20dfda3#term-garbage-collector).

collector(2) : In a garbage-collected system, the part that executes the garbage collection code, which discovers unused memory (1) and reclaims it.

code
For purposes of describing [incremental garbage
collection](/u/7010622dc3b8d8f9#term-incremental-garbage-collection), the system is divided into the [mutator](/u/367f5f45f9800ccb#term-mutator)
and the *collector*. These can be separate threads of
computation, or interleaved within the same thread.

Historical note

This term is due to [Dijkstra et al. (1976)](/u/80406cde1a6844cf#dlmss76).

Opposite term

[mutator](/u/367f5f45f9800ccb#term-mutator).

color

colour : In a tri-color marking scheme, each node has a one of three colors: black, white, or gray. In a treadmill, nodes may also be colored off-white.

commit limit : In the MPS

code
The commit limit is a limit on the [committed](/u/367f5f45f9800ccb#term-mapped) [memory (2)](/u/367f5f45f9800ccb#term-memory-2) that the [arena](/u/9b03e2fad7c35ce0#term-arena) will
obtain from the operating system. It can be changed by
calling [`mps_arena_commit_limit_set()`](https://www.ravenbrook.com/project/mps/master/manual/html/topic/arena.html#c.mps_arena_commit_limit_set).

committed(1) : See

code
[mapped](/u/367f5f45f9800ccb#term-mapped).

committed(2) : In the MPS

code
A block has been *committed* if it is fully initialized
and is under the management of the MPS, as opposed to a
block that is merely *reserved*. See
[Allocation point protocol](https://www.ravenbrook.com/project/mps/master/manual/html/topic/allocation.html#topic-allocation-point-protocol).

compactifying : See

code
[compaction](#term-compaction).

compaction : Also known as

code
*compactifying*.

Compaction is the process of [moving](/u/367f5f45f9800ccb#term-moving-garbage-collector) [live](/u/34ad814de80e6063#term-live) [objects](/u/f63e411ec871b42a#term-object) to eliminate
[dead](/u/433f84a577790d37#term-dead) space between them. Some people call this
*compactifying*, to distinguish it from techniques for
compressing data structures.

Compaction is used to avoid [external fragmentation](/u/43d7e4de9473d658#term-external-fragmentation) and
to increase [locality of reference](/u/34ad814de80e6063#term-locality-of-reference).

composite object : In the PostScript language, composite objects are the boxed objects.

code
Unlike a [simple object](/u/699ff3e2d070663d#term-simple-object), the main data (what PostScript
calls *the value*) in a composite object are stored
separately, in [VM (2)](/u/9b6672e5a107d609#term-vm-2). Several composite objects can
share the same value.

Similar term

[boxed](/u/4c6aaf4e0e0b7eb6#term-boxed).

Opposite term

[simple object](/u/699ff3e2d070663d#term-simple-object).

comprehensive : A collector (1) is comprehensive if all garbage (or, all unreachable objects) is reclaimed in one collection cycle.

code
See also

[garbage collection](/u/9334865be20dfda3#term-garbage-collection).

concurrent garbage collection : See

code
[parallel garbage collection](/u/5195e3271b5de55e#term-parallel-garbage-collection).

condemned set : Also known as

code
*threatened set*.

*Condemned* [objects](/u/f63e411ec871b42a#term-object) are those which are
candidates for [recycling](/u/611c5a77bde93a2f#term-recycle) within a
[collection cycle](#term-collection-cycle).

At the start of a collection cycle, the [collector (1)](#term-collector-1)
may choose to condemn some objects (the *condemned set* or
*threatened set*) but not to condemn others (the [immune
set](/u/7010622dc3b8d8f9#term-immune-set)). Objects that are not condemned are assumed to be
[live](/u/34ad814de80e6063#term-live) and behave as [roots](/u/611c5a77bde93a2f#term-root) for the
purposes of that collection cycle.

Many simple [tracing garbage collection](/u/f992775ea91d0285#term-tracing-garbage-collection) algorithms
begin by condemning all objects, but [generational
garbage collectors](/u/9334865be20dfda3#term-generational-garbage-collection) will
condemn individual [generations](/u/9334865be20dfda3#term-generation) or
combinations of generations. Often young generations are
condemned but older ones are not, because objects in older
generations are less likely to have become
[unreachable](/u/ced5e8494ccaae80#term-unreachable).

In collectors using [tri-color marking](/u/f992775ea91d0285#term-tri-color-marking), at the start of
a collection cycle the condemned set is exactly the set of
objects that the collector colors [white](/u/355fa8e73e689b3a#term-white).

Opposite term

[immune set](/u/7010622dc3b8d8f9#term-immune-set).

connected : Objects are connected if and only if one contains a reference to the other.

code
See also

[graph](/u/9334865be20dfda3#term-graph).

cons(1) : In Lisp, cons is a primitive operation creating a list element (from English “CONStruct”). By extension, a cons is the element created.

code
Related link

[Function CONS in the Common Lisp HyperSpec](http://www.lispworks.com/documentation/lw60/CLHS/Body/f_cons.htm).

cons(2) : See

code
[allocate](/u/9b03e2fad7c35ce0#term-allocate).

conservative garbage collection : In conservative garbage collection, the layout of objects and roots is not known, instead the collector (1) assumes that any field that looks like a pointer might be a reference.

code
Conservative collectors can work with programs where
information about the [memory (2)](/u/367f5f45f9800ccb#term-memory-2) layout is not
available, because, for example, the language doesn’t support
[garbage collection](/u/9334865be20dfda3#term-garbage-collection).

A conservative collector doesn’t need to know the
[format](/u/b18026a6b8cfa4c8#term-format) of the objects, it just needs some idea of
where the object boundaries are. It regards any field value
that looks like a pointer to an object (or, sometimes, into
the middle of one), as preventing the [recycling](/u/611c5a77bde93a2f#term-recycle) of that object. It can’t [move](/u/367f5f45f9800ccb#term-moving-garbage-collector) objects, because then the references to
the moved objects would need to be updated, and such
[ambiguous references](/u/9b03e2fad7c35ce0#term-ambiguous-reference) must not be modified, in case
they weren’t pointers after all. Therefore, conservative
collectors are usually [mark-sweep collectors](/u/367f5f45f9800ccb#term-mark-sweep).

Because references are ambiguous, some objects may be retained
despite being actually [unreachable](/u/ced5e8494ccaae80#term-unreachable). In practice, this
happens rarely, and refinements such as [black-listing](/u/4c6aaf4e0e0b7eb6#term-blacklisting) can further reduce the odds.

Opposite term

[exact garbage collection](/u/43d7e4de9473d658#term-exact-garbage-collection).

See also

[ambiguous root](/u/9b03e2fad7c35ce0#term-ambiguous-root), [interior pointer](/u/7010622dc3b8d8f9#term-interior-pointer), [semi-conservative garbage collection](/u/699ff3e2d070663d#term-semi-conservative-garbage-collection).

Related publications

[Boehm & Weiser (1988)](/u/80406cde1a6844cf#bw88), [Boehm (1993)](/u/80406cde1a6844cf#boehm93).

constant root : In the MPS

code
A [root](/u/611c5a77bde93a2f#term-root) that the [client program](#term-client-program) promises
not change after it is registered, by specifying the
[root mode](/u/611c5a77bde93a2f#term-root-mode) [`MPS_RM_CONST`](https://www.ravenbrook.com/project/mps/master/manual/html/topic/root.html#c.MPS_RM_CONST) when calling a
registration function such as [`mps_root_create()`](https://www.ravenbrook.com/project/mps/master/manual/html/topic/root.html#c.mps_root_create).

constructor(1) : A constructor is a function or method that allocates and initializes an object.

code
Opposite term

[destructor (1)](/u/433f84a577790d37#term-destructor-1).

constructor(2) : In C++, a constructor is a member function that is used to initialize a newly-allocated object.

code
The actual allocation of [memory (2)](/u/367f5f45f9800ccb#term-memory-2) is performed by
`operator new` or the compiler (for [static](/u/699ff3e2d070663d#term-static-allocation) and [stack allocation](/u/699ff3e2d070663d#term-stack-allocation)), and the new
[block](/u/4c6aaf4e0e0b7eb6#term-block) is then passed to the appropriate constructor.

See also

[destructor (2)](/u/433f84a577790d37#term-destructor-2).

continuation : A continuation is the data required to restore an execution context after invocation of another context, typically as a subroutine.

code
Relevance to memory management

If continuations can be represented as first-class
objects, as in [Scheme](/u/884599c4278a5039#term-scheme), the execution contexts can
no longer be stored on a [stack](/u/699ff3e2d070663d#term-stack), instead, (at least
some) [activation records](/u/9b03e2fad7c35ce0#term-activation-record) have
to be [heap-allocated](/u/5696710a733ccf6f#term-heap-allocation).

See also

[closure](#term-closure).

control stack : Also known as

code
*activation stack*, *execution stack*.

A [stack](/u/699ff3e2d070663d#term-stack) that stores [activation records](/u/9b03e2fad7c35ce0#term-activation-record), particularly subroutine return
information, is known as a *control stack*.

Typically the control stack is supported and used by the
hardware architecture and the operating system, limiting the
types and sizes of [objects](/u/f63e411ec871b42a#term-object) that can be stored
on it. Often, only one type of object, a [stack frame](/u/699ff3e2d070663d#term-stack-frame),
is permitted, and the layout of that is defined by the
hardware architecture.

Relevance to memory management

Theoretically, a control stack is simply an array of
activation records, and hence just another object managed
by the [memory manager](/u/367f5f45f9800ccb#term-memory-manager). In practice, the control
stack is central to the performance of the hardware
architecture and may require special treatment. In
particular, it may not be accessible as ordinary
[memory (2)](/u/367f5f45f9800ccb#term-memory-2), or it may have its own [cache
(2)](#term-cache-2) with specific updating requirements.

Similar term

[stack](/u/699ff3e2d070663d#term-stack).

See also

[cold end](#term-cold-end), [data stack](/u/433f84a577790d37#term-data-stack), [hot end](/u/5696710a733ccf6f#term-hot-end).

cool : In the MPS

code
A [variety](/u/9b6672e5a107d609#term-variety) in which most MPS functions
[assert](/u/9b03e2fad7c35ce0#term-assertion) that their data structures are
valid, even functions on the [critical path](#term-critical-path). See
guide-build. Compare [hot](/u/5696710a733ccf6f#term-hot) and [rash](/u/611c5a77bde93a2f#term-rash).

copying garbage collection : Also known as

code
*scavenging garbage collection*.

Copying garbage collection is a kind of [tracing garbage
collection](/u/f992775ea91d0285#term-tracing-garbage-collection) that operates by [relocating](/u/611c5a77bde93a2f#term-relocation)
[reachable](/u/611c5a77bde93a2f#term-reachable) [objects](/u/f63e411ec871b42a#term-object) (this is sometimes called
*scavenging*) and then [reclaiming](/u/611c5a77bde93a2f#term-reclaim) objects
that are left behind, which must be [unreachable](/u/ced5e8494ccaae80#term-unreachable) and
therefore [dead](/u/433f84a577790d37#term-dead).

A copying garbage collection relies on being able to find and
correct all [references](/u/611c5a77bde93a2f#term-reference) to copied objects.

![Diagram: Copying garbage collection.](https://cdn.archive.preserve.ng/img/7f0c3ed711b4f8b9cc71292259ba8d9d5cb9e57bc823b46eb577aaf7f6f25dc6.svg)

*Copying garbage collection.*

Similar term

[moving](/u/367f5f45f9800ccb#term-moving-garbage-collector).

See also

[broken heart](/u/4c6aaf4e0e0b7eb6#term-broken-heart), [forwarding pointer](/u/b18026a6b8cfa4c8#term-forwarding-pointer), [two-space collector](/u/f992775ea91d0285#term-two-space-collector).

In the MPS

The [AMC (Automatic Mostly-Copying)](https://www.ravenbrook.com/project/mps/master/manual/html/pool/amc.html#pool-amc) pool class implements copying garbage
collection (more precisely, [mostly-copying garbage
collection](/u/367f5f45f9800ccb#term-mostly-copying-garbage-collection)).

core : A historical synonym for main memory, deriving from the cores or ferrite rings which were once the main technology used to implement it.

code
Similar term

[main memory](/u/367f5f45f9800ccb#term-main-memory).

creation space : In generational garbage collection, when generations are divided into buckets, the creation space is where new objects are created in each generation.

code
This term is sometimes used as a synonym for [nursery space](/u/79d1d3e473607e01#term-nursery-space).

Opposite term

[aging space](/u/9b03e2fad7c35ce0#term-aging-space).

See also

[generational garbage collection](/u/9334865be20dfda3#term-generational-garbage-collection).

critical path : In the MPS

code
The sequence of operations on which the MPS spends the
majority of its time, consisting of [scanning](/u/699ff3e2d070663d#term-scan), [fixing](/u/b18026a6b8cfa4c8#term-fix), [marking](/u/367f5f45f9800ccb#term-marking) and
[copying](#term-copying-garbage-collection). See
[The critical path through the MPS](https://www.ravenbrook.com/project/mps/master/manual/html/design/critical-path.html#design-critical-path).

crossing map : Where memory (2) has already been divided into some fixed-sized unit (for example, pages or cards), a crossing map records where objects lie across the boundaries of the fixed-sized units. In other words, which fixed-sized units do not start with the beginning of an object.

code
A system which implements [remembered sets](/u/611c5a77bde93a2f#term-remembered-set) by
[page marking](/u/5195e3271b5de55e#term-page-marking) or [card marking](#term-card-marking) needs to scan all
the [pointers](/u/5195e3271b5de55e#term-pointer) in the page or card. If the system can
not [scan](/u/699ff3e2d070663d#term-scan) partial objects (or requires information in
the object [header](/u/7010622dc3b8d8f9#term-in-band-header) in order to scan a
partial object), a crossing map is necessary to find the
beginning of the first object in the unit.

Relevance to memory management

In a sense, a crossing map is an optimization of
[tagged architecture](/u/f992775ea91d0285#term-tagged-architecture). It represents the minimum
information necessary to determine how to interpret any
word of memory.

cyclic data structure : A data structure is cyclic if some of its references form a loop; that is, there’s an object that can be reached by following references from itself.