home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!mcsun!sunic!dkuug!daimi!lynbech
- From: lynbech@daimi.aau.dk (Christian Lynbech)
- Subject: Re: GC idea
- Message-ID: <1992Nov10.085034.21556@daimi.aau.dk>
- Sender: news@daimi.aau.dk
- Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
- References: <9211060256.AA08035@thymus.synaptics> <9211060517.AA05701@thalidomide.lucid> <GRUNWALD.92Nov8212721@foobar.cs.colorado.edu> <asdglha3298ghsdgh-1@xcf>
- Date: Tue, 10 Nov 92 08:50:34 GMT
- Lines: 39
-
- One important feature of an improved Memory Mangament system would be the
- ability to return storage to the system. A better GC that keeps stuff swapped
- out is really just a hack (but certainly an improvement). Lucid emacs has an
- unfortunate tendence to become VERY large.
-
- Onto the GC ideas.
-
- I have also toyed with the idea of improving GC in emacs.
-
- My intentions were more modest than generational GC's, but I'll state it here,
- just in case someone could find some inspiration.
-
- The idea is to implement a one bit reference count, giving each object 2
- states. If more than two pointers points to the object, it must later be
- reclaimed by some other mechanism, either the builtin mark/sweep or some other
- scheme.
-
- I know that this is not as advanced as some of the more recent develoments, but
- it should be pretty easy to implement, and I suspect that a large amount of
- objects (e.g. cons cells) only has one pointer to them. It has also been
- demonstrated that garbage tends to be generated in chunks or peaks.
-
- I haven't references in my head, but I can dig it up if somebody is interested.
-
-
-
- ------------------------------------------------------------------------------
- Christian Lynbech
-
- DAIMI office: R0.32 phone: 5034
- University of Aarhus,DK-Denmark email: lynbech@daimi.aau.dk
- ------------------------------------------------------------------------------
- EMACS, The One True Editor
-
-
- Hit the philistines three times over the head with the Elisp reference manual.
-
- - petonic@hal.com (Michael A. Petonic)
-
-