From e67e3a585b13c13ddaaa166ce22a598bebe52f3f Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 22 May 2014 18:09:00 +0100 Subject: [PATCH] =?UTF-8?q?Prefer=20"boehm=E2=80=93demers=E2=80=93weiser"?= =?UTF-8?q?=20following=20http://hboehm.info/gc/.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Copied from Perforce Change: 186252 ServerID: perforce.ravenbrook.com --- mps/manual/source/mmref/faq.rst | 16 ++++++++-------- mps/manual/source/mmref/lang.rst | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/mps/manual/source/mmref/faq.rst b/mps/manual/source/mmref/faq.rst index 7203ff27288..a484fdcf3bd 100644 --- a/mps/manual/source/mmref/faq.rst +++ b/mps/manual/source/mmref/faq.rst @@ -22,7 +22,7 @@ garbage collection>` for :term:`C` exist as add-on libraries. .. link:: - `Boehm–Weiser collector `_. + `Boehm–Demers–Weiser collector `_. Why do I need to test the return value from ``malloc``? Surely it always succeeds? @@ -130,7 +130,7 @@ semi-conservative garbage collectors for C++. .. link:: - `Boehm–Weiser collector `_. + `Boehm–Demers–Weiser collector `_. Why is ``delete`` so slow? @@ -163,12 +163,12 @@ In :term:`C++`, it may be that class libraries expect you to call Failing this, if there is a genuine :term:`memory leak` in a class library for which you don't have the source, then the only thing you -can try is to add a :term:`garbage collector`. The Boehm–Weiser +can try is to add a :term:`garbage collector`. The Boehm–Demers–Weiser collector will work with C++. .. link:: - `Boehm–Weiser collector `_. + `Boehm–Demers–Weiser collector `_. Can't I get all the benefits of garbage collection using C++ constructors and destructors? @@ -400,7 +400,7 @@ Where can I find out more about garbage collection? Many modern languages have :term:`garbage collection` built in, and the language documentation should give details. For some other languages, garbage collection can be added, for example via the -Boehm–Weiser collector. +Boehm–Demers–Weiser collector. .. seealso:: :term:`garbage collection` @@ -408,14 +408,14 @@ Boehm–Weiser collector. .. link:: - `Boehm–Weiser collector `_, + `Boehm–Demers–Weiser collector `_, `GC-LIST FAQ `_. Where can I get a garbage collector? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -The Boehm–Weiser collector is suitable for C or C++. The best way to +The Boehm–Demers–Weiser collector is suitable for C or C++. The best way to get a garbage collector, however, is to program in a language that provides garbage collection. @@ -423,7 +423,7 @@ provides garbage collection. .. link:: - `Boehm–Weiser collector `_. + `Boehm–Demers–Weiser collector `_. Why does my program use so much memory? diff --git a/mps/manual/source/mmref/lang.rst b/mps/manual/source/mmref/lang.rst index 4860089f580..31a22cc0717 100644 --- a/mps/manual/source/mmref/lang.rst +++ b/mps/manual/source/mmref/lang.rst @@ -53,7 +53,7 @@ Memory management in various languages library functions for :term:`memory (2)` management in C, :term:`malloc` and :term:`free (2)`, have become almost synonymous with :term:`manual memory management`), although - with the Boehm-Weiser :term:`collector (1)`, it is now + with the Boehm–Demers–Weiser :term:`collector (1)`, it is now possible to use :term:`garbage collection`. The language is notorious for fostering memory management @@ -86,7 +86,7 @@ Memory management in various languages .. link:: - `Boehm-Weiser collector `_, + `Boehm–Demers–Weiser collector `_, `C standardization `_, `comp.lang.c Frequently Asked Questions `_. @@ -173,7 +173,7 @@ Memory management in various languages abstraction level of C++ makes the bookkeeping required for :term:`manual memory management` even harder. Although the standard library provides only manual memory management, with - the Boehm-Weiser :term:`collector (1)`, it is now possible to + the Boehm–Demers–Weiser :term:`collector (1)`, it is now possible to use :term:`garbage collection`. :term:`Smart pointers` are another popular solution.