unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dave Love <d.love@dl.ac.uk>
Subject: new GC
Date: Mon, 16 Jun 2003 22:55:24 +0100	[thread overview]
Message-ID: <rzqptld662b.fsf@albion.dl.ac.uk> (raw)

There's work on a new GC system installed on CVS branch `Boehm-GC'
which anyone interested in GC and fairly knowledgeable about GC might
like to look at.  It still needs significant work, and I probably
won't have enough time to devote to it for a while.  There are some
disorganized and probably incomplete notes in the top-level README.GC.

It uses Boehm's fully conservative GC, which should be able to perform
better than the current system, at least in time, if not in space.
[People have said it won't work, but I've never seen any good
arguments why, as for conservative stack scanning.]  The code isn't in
a state to measure and tune, but there doesn't seem to be any
fundamental problem.

Emacs basically works if you configure with --enable-boehm-gc, but
leaks badly.  That's at least because of buffer marker chains not
getting swept, though there may be other causes.  Changes can be
enabled which should fix this, but that currently causes a crash after
GC which I haven't been able to debug yet.  It could do with a second
set of eyes on the result of enabling the #ifdef'ed out clause for
GC_MARK_OBJECT in lisp.h.  (Boehm said the basic technique is sound,
so it's likely to be a stupid mistake making it fail, but the tagging
scheme Emacs uses means that the GC debugging hooks won't work
currently.)

If anyone does start working on it, please send me mail.  I'll try to
answer specific questions, but I don't have time to explain the GC
generally.

                 reply	other threads:[~2003-06-16 21:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rzqptld662b.fsf@albion.dl.ac.uk \
    --to=d.love@dl.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).