From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergey Mozgovoy Newsgroups: gmane.emacs.devel Subject: mark_stack () vs GCPROn Date: Thu, 6 Dec 2012 01:00:59 -0800 (PST) Message-ID: <1354784459583-271770.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354784475 14600 80.91.229.3 (6 Dec 2012 09:01:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2012 09:01:15 +0000 (UTC) To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 06 10:01:28 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TgXKi-0006ND-3E for ged-emacs-devel@m.gmane.org; Thu, 06 Dec 2012 10:01:28 +0100 Original-Received: from localhost ([::1]:58702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgXKV-0006VW-RG for ged-emacs-devel@m.gmane.org; Thu, 06 Dec 2012 04:01:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgXKN-0006T2-Lp for Emacs-devel@gnu.org; Thu, 06 Dec 2012 04:01:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgXKG-0005su-JX for Emacs-devel@gnu.org; Thu, 06 Dec 2012 04:01:07 -0500 Original-Received: from sam.nabble.com ([216.139.236.26]:52966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgXKG-0005sp-EV for Emacs-devel@gnu.org; Thu, 06 Dec 2012 04:01:00 -0500 Original-Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TgXKF-0003S7-JV for Emacs-devel@gnu.org; Thu, 06 Dec 2012 01:00:59 -0800 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.139.236.26 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155316 Archived-At: 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.