From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Brett Gilio Newsgroups: gmane.emacs.devel Subject: Re: Return value of finished threads Date: Mon, 23 Jul 2018 13:02:17 -0500 Message-ID: <874lgp3k5y.fsf@posteo.net> References: <87h8kuq7kf.fsf@gmx.de> <87h8kt3hcj.fsf@tromey.com> <87wotphqre.fsf@gmx.de> <87lga44u14.fsf@tromey.com> <874lgsivam.fsf@gmx.de> <87r2jwxl04.fsf@posteo.net> <87y3e42etk.fsf@tromey.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1532368864 4927 195.159.176.226 (23 Jul 2018 18:01:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2018 18:01:04 +0000 (UTC) User-Agent: mu4e 1.0; emacs 27.0.50 Cc: Michael Albinus , emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 23 20:00:59 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhf8l-0001Ag-7k for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 20:00:59 +0200 Original-Received: from localhost ([::1]:35898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhfAs-0008M3-1k for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 14:03:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhfAl-0008Ly-Rh for emacs-devel@gnu.org; Mon, 23 Jul 2018 14:03:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhfAi-0005m0-Pb for emacs-devel@gnu.org; Mon, 23 Jul 2018 14:03:03 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:60666) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fhfAi-0005lJ-E7 for emacs-devel@gnu.org; Mon, 23 Jul 2018 14:03:00 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 9125320EDC for ; Mon, 23 Jul 2018 20:02:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1532368978; bh=3o9fCowVsHQkz4ebgx3V1qCrBWrhuEUn7mqvX8RXC30=; h=From:To:Cc:Subject:Date:From; b=a9BOv+NigodTcIZjVqGGe6TYruAF69dhPSW3qGkiUZWjjfvXbH8EypUL4pI4Rp358 UI7Kx3lp/r/OpmcImpDfIRcbn0UXdTZ1WJYNjy2O/X5jQyMGBgKYwOf7Hc+8e1VsCa e+igs6Ju9QXGb4uMLWHHXXYVzVQsLyl1W4dkRYlNE1sZt3kPJhnu89DopQsNbk0pCD t/XsV1L86RkQb0+Huq5D3g6XJiGgwIxVv1KmX4Y4SIKfUG8FIgBKKr1e4NJzCNpNbl 8qE2dCtw9rWX0QWQWhGYeXly35dGXioerKPbSxpdisUV21vpp3L6AKK29zapUrkatV FR4yFUfXMxs/Q== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 41Z8V90Btsz6tmC; Mon, 23 Jul 2018 20:02:56 +0200 (CEST) In-reply-to: <87y3e42etk.fsf@tromey.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.65 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:227739 Archived-At: Tom Tromey writes: >>>>>> "Brett" == Brett Gilio writes: > > Brett> I was wondering of this, myself. Is the garbage collector > of > Brett> emacs lisp similar to the Boehm collector style of Guile? > Does > Brett> anybody have any information to pass along on the emacs > lisp GC? > > The Emacs GC is a fairly ordinary mark/sweep GC. I'd say it is > nearly > the most straightforward garbage collector you could imagine; or > at > least started that way before features like weak hash maps and > finalizers were added :) > > It is vaguely similar to the Boehm GC. The Boehm GC is best > known for > doing conservative marking (but it has several modes and isn't > limited > to this); whereas the Emacs GC conservatively marks the stack > but not > the heap. > > If you want to learn more about the Emacs GC in particular, > alloc.c is > not that hard to read. Start with the function > garbage_collect_1. > > If you need some background in garbage collection in general, > the Jones > & Lins book "Garbage Collection" is very good. > > Tom Thank you Tom, I read through the GC and it is mostly pretty straight forward, with some nice quirks. -- Brett M. Gilio Free Software Foundation, Member https://parabola.nu | https://emacs.org