unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Should catchlist elements be marked during GC?
Date: Thu, 13 Jul 2006 23:41:30 +0200	[thread overview]
Message-ID: <m3fyh5w5bp.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <jwv8xmxczi3.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 13 Jul 2006 11:24:15 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> During GC, we don't explicitly go through the catchlist, marking the
>> TAG and VAL member of each element.
>
> What makes you say so?

Since struct catchtag is defined in eval.c, I didn't think alloc.c
would know how to scan the catchlist, so I didn't even bother to check.

> Actually, it is safe to assume so if we use conservative stack marking
> because the catchlist elements are all allocated on the stack, so we
> currently mark them redundantly.

Ah, yes.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2006-07-13 21:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-13 10:09 Should catchlist elements be marked during GC? Kim F. Storm
2006-07-13 15:24 ` Stefan Monnier
2006-07-13 21:41   ` Kim F. Storm [this message]
2006-07-14  4:07 ` Richard Stallman

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=m3fyh5w5bp.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    /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).