unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* mark_stack () vs GCPROn
@ 2012-12-06  9:00 Sergey Mozgovoy
  2012-12-06 10:13 ` Dmitry Antipov
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey Mozgovoy @ 2012-12-06  9:00 UTC (permalink / raw)
  To: Emacs-devel

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-06 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-06  9:00 mark_stack () vs GCPROn Sergey Mozgovoy
2012-12-06 10:13 ` Dmitry Antipov
2012-12-06 14:07   ` Stefan Monnier

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).