all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Pip Cet <pipcet@gmail.com>
Cc: 24548@debbugs.gnu.org
Subject: bug#24548: 25.2.50; Long GC delays with many non-detached markers (PATCH)
Date: Fri, 23 Mar 2018 09:55:15 -0400	[thread overview]
Message-ID: <jwvd0zusxxh.fsf-monnier+bug#24548@gnu.org> (raw)
In-Reply-To: <CAOqdjBfh+ZTQ24cCGYJ7BPJ7PCfPHtAWTyvLc7FN0DATHhtq1Q@mail.gmail.com> (Pip Cet's message of "Mon, 26 Sep 2016 15:12:10 +0000")

> I thought it would be very easy to modify the code to avoid the problem;
> it was a bit harder than I thought, because the GC mark bit is not
> equivalent to "this object survives the current GC cycle".

Could you give a bit more details about what you mean by that?

During the mark phase, indeed the markbit only says "if true then this
object won't be GC'd but if false than maybe it's only because we
haven't finished marking".  Is that what you're referring to?

But if we call unchain_collected_markers from within the sweep phase
(e.g. on every buffer we find), `gcmarkbit` should be
sufficient/reliable.  Or am I missing something?


        Stefan





  reply	other threads:[~2018-03-23 13:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-26 15:12 bug#24548: 25.2.50; Long GC delays with many non-detached markers (PATCH) Pip Cet
2018-03-23 13:55 ` Stefan Monnier [this message]
2018-03-23 14:22   ` Stefan Monnier
2018-03-23 15:10     ` Pip Cet
2018-03-23 15:11     ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to='jwvd0zusxxh.fsf-monnier+bug#24548@gnu.org' \
    --to=monnier@iro.umontreal.ca \
    --cc=24548@debbugs.gnu.org \
    --cc=pipcet@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.