From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: please help about garbage collector. Date: Thu, 02 Dec 2010 18:15:06 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291331731 16306 80.91.229.12 (2 Dec 2010 23:15:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Dec 2010 23:15:31 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org To: Alin Soare Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 03 00:15:27 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1POIN4-0002mo-Ao for ged-emacs-devel@m.gmane.org; Fri, 03 Dec 2010 00:15:27 +0100 Original-Received: from localhost ([127.0.0.1]:58026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POIN3-00024f-77 for ged-emacs-devel@m.gmane.org; Thu, 02 Dec 2010 18:15:25 -0500 Original-Received: from [140.186.70.92] (port=57499 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POIMr-00022s-PC for emacs-devel@gnu.org; Thu, 02 Dec 2010 18:15:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POIMq-0007fq-Gg for emacs-devel@gnu.org; Thu, 02 Dec 2010 18:15:13 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:48293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POIMq-0007fX-Cs for emacs-devel@gnu.org; Thu, 02 Dec 2010 18:15:12 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id oB2NF6l2014177; Thu, 2 Dec 2010 18:15:06 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 0E123A8785; Thu, 2 Dec 2010 18:15:06 -0500 (EST) In-Reply-To: (Alin Soare's message of "Thu, 2 Dec 2010 17:49:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3697=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133329 Archived-At: >> > Could you explain me what kind of Lisp Objects are keps on the stack ? >> Anything in automatic varables that the compiler puts there. > How can you detect that at a given address on the stack there is a lisp > object, and not something else ? You can't, but we do it anyway. It's called "conservative stack scanning". Stefan