From b00fde468486f7e168fdfe4181da8cf5250b3fbc Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Mon, 15 Oct 2012 21:06:59 +0100 Subject: [PATCH] Convert "address" and "copying" figures to svg. Copied from Perforce Change: 179889 ServerID: perforce.ravenbrook.com --- mps/manual/source/diagrams/address.svg | 296 +++++++++++++++++ mps/manual/source/diagrams/copying.svg | 427 +++++++++++++++++++++++++ mps/manual/source/glossary/a.rst | 2 +- mps/manual/source/glossary/c.rst | 2 +- 4 files changed, 725 insertions(+), 2 deletions(-) create mode 100644 mps/manual/source/diagrams/address.svg create mode 100644 mps/manual/source/diagrams/copying.svg diff --git a/mps/manual/source/diagrams/address.svg b/mps/manual/source/diagrams/address.svg new file mode 100644 index 00000000000..7945f141574 --- /dev/null +++ b/mps/manual/source/diagrams/address.svg @@ -0,0 +1,296 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + 0xFFFFFFFF + 0xFFFFFFFE + 0xFFFFFFFD + + + + + + + + + + + + + + + + + + + + 0x7AE4074B + 0x7AE4074B + location + + + + + + + 0x00000002 + 0x00000001 + 0x00000000 + + diff --git a/mps/manual/source/diagrams/copying.svg b/mps/manual/source/diagrams/copying.svg new file mode 100644 index 00000000000..da59fbb33bd --- /dev/null +++ b/mps/manual/source/diagrams/copying.svg @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + root + root + + + + live object + unreachable (dead) object + broken heart + Beforecollection + Aftercollection + + diff --git a/mps/manual/source/glossary/a.rst b/mps/manual/source/glossary/a.rst index e2bb2ba905d..cabf79ce28c 100644 --- a/mps/manual/source/glossary/a.rst +++ b/mps/manual/source/glossary/a.rst @@ -70,7 +70,7 @@ Memory Management Glossary: A :term:`physical memory (2)` device (such as a :term:`RAM`) or some :term:`memory-mapped ` resource. - .. figure:: ../diagrams/address.png + .. figure:: ../diagrams/address.svg :align: center :alt: Diagram: A simplified view of addresses, address space, and locations on a 32-bit architecture. diff --git a/mps/manual/source/glossary/c.rst b/mps/manual/source/glossary/c.rst index da744eeedce..67ade635806 100644 --- a/mps/manual/source/glossary/c.rst +++ b/mps/manual/source/glossary/c.rst @@ -583,7 +583,7 @@ Memory Management Glossary: C A copying garbage collection relies on being able to find and correct all :term:`references ` to copied objects. - .. figure:: ../diagrams/copying.png + .. figure:: ../diagrams/copying.svg :align: center :alt: Diagram: Copying garbage collection.