home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!corton!seti!goudurix.inria.fr!edelson
- From: daniel.edelson@inria.fr (Daniel R. Edelson)
- Newsgroups: comp.lang.c++
- Subject: Re: Garbage Collection for C++
- Message-ID: <4094@seti.UUCP>
- Date: 21 Aug 92 07:30:27 GMT
- References: <1992Aug6.014619.2111@ucc.su.OZ.AU> <DAVEG.92Aug20022559@synaptx.synaptics.com>
- Sender: news@seti.UUCP
- Reply-To: Daniel R. Edelson <daniel.edelson@inria.fr>
- Organization: INRIA -- Institut National de Recherche en Informatique et Automatique -- Rocquencourt, France
- Lines: 21
-
- In article <DAVEG.92Aug20022559@synaptx.synaptics.com>, daveg@synaptics.com (Dave Gillespie) writes:
- |> In article <boehm.714158406@siria> boehm@parc.xerox.com (Hans Boehm) writes:
- |>
- |> > Presumably you're really worried about pause times, and frequency of pauses.
- |> > That's usually a valid concern, but in the presence of concurrent or
- |> > incremental collection, things become less clear. Even in the presence
- |> > of generational collection, it may not buy you much if the short-lived
- |> > objects are the ones that are being handled manually.
- |>
- |> Do you really think incremental or generational collectors are
- |> feasible in C++? I've never looked in the guts of one of these
- |> collectors, but as I understand it they tend to depend on the
- |> ability to move data around, and other things that a C++ collector
- |> might not be able to get away with. (C++'s use of pointers is so
- |> unrestricted that it's a minor miracle it's possible to do garbage
- |> collection at all...)
-
- Plain old non-relocating garbage collectors can be
- generational and/or incremental. This is sometimes overlooked
- because of how common copying collectors are, and because most of
- the first generational and incremental collectors were copying collectors.
-