From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Some experience with the igc branch Date: Sat, 28 Dec 2024 11:29:59 +0200 Message-ID: <86h66oupd4.fsf@gnu.org> References: <87o713wwsi.fsf@telefonica.net> <86ldw2zy6s.fsf@gnu.org> <867c7lw081.fsf@gnu.org> <87seq93uo7.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25664"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, stefankangas@gmail.com, ofv@wanadoo.es, emacs-devel@gnu.org, eller.helmut@gmail.com, acorallo@gnu.org To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 28 10:30:42 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tRT9d-0006Vk-U3 for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Dec 2024 10:30:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRT99-0006TB-7C; Sat, 28 Dec 2024 04:30:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRT92-0006Ss-TN for emacs-devel@gnu.org; Sat, 28 Dec 2024 04:30:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRT91-0003S0-Vc; Sat, 28 Dec 2024 04:30:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=JrYABa/S1MOKBnbMQ93CbfwMRbiuEuHApspCdpgRdXM=; b=sJmiGbh9jyL8GwCccNB4 ydEFaJXq5QVGhs8+9mQHMg0IEUK/SfzPSu2H1MPvF++YOvJ/N/y/WdzOMLVWyp5giQF576//wn5hV D6bQZXtp0L9RocLiY0WUWEGZzb5EzNAvZofRRam3q2kQbm+Xdi/M7dIuwkbJVdwRaQC2pU15qrU6T F1cB7cu153zUaX8K7ryvDvzrVmmrYsNzFdBvgYaXrD7fX+FgQ4/Y+zBlBfVzAtVIufBKDKqUdPKM6 o+6FRHXLpDa432hQKWMFdvE+UwOj9EjUClGsAx32RpS9GBd+Hf0Lv1Cf/HJn3ZwRogmd2vWFNtpWO uRgQkuxAAhy3Kw==; In-Reply-To: <87seq93uo7.fsf@protonmail.com> (message from Pip Cet on Fri, 27 Dec 2024 17:26:04 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327246 Archived-At: > Date: Fri, 27 Dec 2024 17:26:04 +0000 > From: Pip Cet > Cc: Gerd Möllmann , stefankangas@gmail.com, ofv@wanadoo.es, emacs-devel@gnu.org, eller.helmut@gmail.com, acorallo@gnu.org > > "Eli Zaretskii" writes: > > > - Concurrent. The GC runs in its own thread. There are no explicit > > calls to start GC, and Emacs doesn't have to wait for the GC to > > complete. > > > > Pip says this is not true? > > I'm a bit confused. Right now, on scratch/igc, on GNU/Linux, for Emacs > in batch mode, it isn't technically true. Then how do you explain the fact that, when igc does GC (as evidenced by the echo-area messages if you enable garbage-collection-messages), Emacs is not stopped, as it happens with the old GC? If GC is done on the main thread, it means the main thread should stop while GC is in progress, and yet I don't see it stopping. What did I miss?