1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-19 12:30:47 -07:00

Remove note "theoretically, the only roots are the registers..." because that's also only an approximation to liveness.

Copied from Perforce
 Change: 180084
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2012-10-25 19:14:16 +01:00
parent b8789739c0
commit 954648652e

View file

@ -22,18 +22,6 @@ assume that all references stored in static data are roots; the Memory
Pool System is more flexible, but requires the client program to
declare which references are roots.
.. note::
Theoretically, the only roots are the :term:`registers
<register>`; that is, a program can only use values that can be
referenced from the registers. This is the logical way of thinking
about the problem; however, in practice it's tricky. For example,
it requires complete knowledge of the layout of static data.
Another difficulty is that a multi-threaded program has multiple
sets of registers that the operating system kernel keeps track of,
and that the garbage collector, running as a user program, can't
access.
Registering roots
-----------------