[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mark_stack () vs GCPROn
From: |
Sergey Mozgovoy |
Subject: |
mark_stack () vs GCPROn |
Date: |
Thu, 6 Dec 2012 01:00:59 -0800 (PST) |
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.
- mark_stack () vs GCPROn,
Sergey Mozgovoy <=