unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sergey Mozgovoy <egnartsms@gmail.com>
To: Emacs-devel@gnu.org
Subject: mark_stack () vs GCPROn
Date: Thu, 6 Dec 2012 01:00:59 -0800 (PST)	[thread overview]
Message-ID: <1354784459583-271770.post@n5.nabble.com> (raw)

Hello,

Emacs has a `mark_stack' function in alloc.c, which looks for (potential)
Lisp_Objects located on the current C stack.  Does it mean that GCPROn
mechanism is not necessary for local Lisp_Object variables now ?  It is
quite clear that gcprolist is still necessary for static Lisp_Objects.
What are the relationships between these 2 approaches for marking objects ?
My impression is that mark_stack() was introduced after the GCPRO thing and
partially superseded it, though I feel that I may be overlooking something.

Best regards,
Sergey Mozgovoy.



--
View this message in context: http://emacs.1067599.n5.nabble.com/mark-stack-vs-GCPROn-tp271770.html
Sent from the Emacs - Dev mailing list archive at Nabble.com.



             reply	other threads:[~2012-12-06  9:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06  9:00 Sergey Mozgovoy [this message]
2012-12-06 10:13 ` mark_stack () vs GCPROn Dmitry Antipov
2012-12-06 14:07   ` 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

  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=1354784459583-271770.post@n5.nabble.com \
    --to=egnartsms@gmail.com \
    --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).