Post · 5 min read· pp. 74–77

Memory Management Glossary: E

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

ecru : See

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

edge : In a graph, an edge is a connection between two nodes.

code
In a directed graph (digraph), edges have a direction;
otherwise the start and end nodes are interchangeable. By
convention, two directed edges between the same two nodes, but
in different directions, are depicted as a bi-directional
edge.

Typically an edge represents some relation between nodes.

Relevance to memory management

In memory management, edges normally represent the fact
that an [object](/u/f63e411ec871b42a#term-object) holds a [reference](/u/611c5a77bde93a2f#term-reference) to
another object.

See also

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

entry table(1) : An entry table is a table of references into a set of objects used to indirect references from the outside.

code
The Lieberman-Hewitt [collector (1)](/u/b107b7d39b75ccb0#term-collector-1) represented
references from older [generations](/u/9334865be20dfda3#term-generation) to younger ones by
indirect pointers through an entry table in the younger
generation that contained the actual [address](/u/9b03e2fad7c35ce0#term-address) of the
young object. This is fairly expensive without special
hardware; other [generational](/u/9334865be20dfda3#term-generational-garbage-collection) collectors generally use [remembered sets](/u/611c5a77bde93a2f#term-remembered-set).

See also

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

Related publication

[Lieberman & Hewitt (1983)](/u/80406cde1a6844cf#lh83).

entry table(2) : An entry table is an implementation of a remembered set, where, for a given generation, there is a list of objects in older generations which contain references into that generation.

code
One could also store the actual [locations](/u/367f5f45f9800ccb#term-memory-location) of the references, which would save time when
[scanning](/u/699ff3e2d070663d#term-scan), but incur other costs.

Similar term

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

See also

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

exact garbage collection : Also known as

code
*precise garbage collection*, *type-accurate garbage collection*.

[Garbage collection](/u/9334865be20dfda3#term-garbage-collection) is exact (or precise) if it deals
only with [exact references](#term-exact-reference).

An exact [collector (1)](/u/b107b7d39b75ccb0#term-collector-1) needs to know the
[format](/u/b18026a6b8cfa4c8#term-format) of the [objects](/u/f63e411ec871b42a#term-object) and the
[roots](/u/611c5a77bde93a2f#term-root), so that it can tell which fields are
references.

Opposite term

[conservative garbage collection](/u/b107b7d39b75ccb0#term-conservative-garbage-collection).

exact reference : Also known as

code
*precise reference*, *sure reference*.

An exact or precise or sure reference is a value the
[collector (1)](/u/b107b7d39b75ccb0#term-collector-1) knows is a [reference](/u/611c5a77bde93a2f#term-reference).

This is the usual sort of reference. The term is used to draw
a contrast with [ambiguous reference](/u/9b03e2fad7c35ce0#term-ambiguous-reference).

Opposite term

[ambiguous reference](/u/9b03e2fad7c35ce0#term-ambiguous-reference).

exact root : Also known as

code
*precise root*.

An exact or precise root is a [root](/u/611c5a77bde93a2f#term-root) that contains only
[exact references](#term-exact-reference).

Opposite term

[ambiguous root](/u/9b03e2fad7c35ce0#term-ambiguous-root).

See also

[exact reference](#term-exact-reference).

In the MPS

An exact root has [rank](/u/611c5a77bde93a2f#term-rank) [`mps_rank_exact()`](https://www.ravenbrook.com/project/mps/master/manual/html/topic/root.html#c.mps_rank_exact).

exact segregated fit : A segregated fit allocation mechanism which has a separate free list for each possible block size. The array of free lists may be represented sparsely. Large blocks may be treated separately.

code
See also

[allocation mechanism](/u/9b03e2fad7c35ce0#term-allocation-mechanism), [segregated fit](/u/699ff3e2d070663d#term-segregated-fit), [segregated free list](/u/699ff3e2d070663d#term-segregated-free-list).

Related publication

[Wilson et al. (1995)](/u/80406cde1a6844cf#wil95).

execution stack : See

code
[control stack](/u/b107b7d39b75ccb0#term-control-stack).

exit table : An exit table is a table of all references from a set of objects to objects outside the set.

code
See also

[entry table (1)](#term-entry-table-1), [entry table (2)](#term-entry-table-2).

Related publication

[Lieberman & Hewitt (1983)](/u/80406cde1a6844cf#lh83).

extent : See

code
[lifetime](/u/34ad814de80e6063#term-lifetime).

external fragmentation : External fragmentation is the inability to use memory (1) because free (3) memory is divided into many small blocks.

code
If [live](/u/34ad814de80e6063#term-live) [objects](/u/f63e411ec871b42a#term-object) are scattered, the
free blocks cannot be [coalesced](/u/b107b7d39b75ccb0#term-coalesce), and hence
no large blocks can be [allocated](/u/9b03e2fad7c35ce0#term-allocate).

Common solutions to external fragmentation include:

1. [Moving garbage collection](/u/367f5f45f9800ccb#term-moving-garbage-collector);
2. [Handles](/u/5696710a733ccf6f#term-handle);
3. Making all your objects the same size.

See also

[internal fragmentation](/u/7010622dc3b8d8f9#term-internal-fragmentation).

Related publication

[Johnstone & Wilson (1998)](/u/80406cde1a6844cf#jw98).