mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 05:01:02 -08:00
Prefer "boehm–demers–weiser" following http://hboehm.info/gc/.
Copied from Perforce Change: 186252 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
47a812da4b
commit
e67e3a585b
2 changed files with 11 additions and 11 deletions
|
|
@ -22,7 +22,7 @@ garbage collection>` for :term:`C` exist as add-on libraries.
|
|||
|
||||
.. link::
|
||||
|
||||
`Boehm–Weiser collector <http://hboehm.info/gc/>`_.
|
||||
`Boehm–Demers–Weiser collector <http://hboehm.info/gc/>`_.
|
||||
|
||||
|
||||
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 <http://hboehm.info/gc/>`_.
|
||||
`Boehm–Demers–Weiser collector <http://hboehm.info/gc/>`_.
|
||||
|
||||
|
||||
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 <http://hboehm.info/gc/>`_.
|
||||
`Boehm–Demers–Weiser collector <http://hboehm.info/gc/>`_.
|
||||
|
||||
|
||||
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 <http://hboehm.info/gc/>`_,
|
||||
`Boehm–Demers–Weiser collector <http://hboehm.info/gc/>`_,
|
||||
`GC-LIST FAQ <http://iecc.com/gclist/GC-faq.html>`_.
|
||||
|
||||
|
||||
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 <http://hboehm.info/gc/>`_.
|
||||
`Boehm–Demers–Weiser collector <http://hboehm.info/gc/>`_.
|
||||
|
||||
|
||||
Why does my program use so much memory?
|
||||
|
|
|
|||
|
|
@ -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 <http://hboehm.info/gc/>`_,
|
||||
`Boehm–Demers–Weiser collector <http://hboehm.info/gc/>`_,
|
||||
`C standardization <http://www.open-std.org/jtc1/sc22/wg14/>`_,
|
||||
`comp.lang.c Frequently Asked Questions <http://c-faq.com/>`_.
|
||||
|
||||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue