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: MPS signals and Emacs Date: Mon, 22 Apr 2024 12:18:29 +0300 Message-ID: <86ttjt69i2.fsf@gnu.org> References: <878r16n5jl.fsf@gmail.com> <87ttjulb16.fsf@gmail.com> <86a5ll7wj9.fsf@gnu.org> <71431fc4-2ab2-4778-88df-25d4e315d737@cs.ucla.edu> <00fec231-a625-406e-a51b-cb66710c6482@cs.ucla.edu> <86wmop6cot.fsf@gnu.org> <86v8496ajl.fsf@gnu.org> 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="33202"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eggert@cs.ucla.edu, eller.helmut@gmail.com, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 22 11:19:37 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 1ryppo-0008Ic-Lg for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Apr 2024 11:19:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rypor-0006vj-Ct; Mon, 22 Apr 2024 05:18:37 -0400 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 1rypom-0006vP-SN for emacs-devel@gnu.org; Mon, 22 Apr 2024 05:18:33 -0400 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 1rypom-0007Uo-1l; Mon, 22 Apr 2024 05:18:32 -0400 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=HPDnVrjacOfFxqWRvyImL0DjV3FXC7nOvnplXLEpeNc=; b=U0S0jt3dVPmDcUgTARk8 mKmSmEjTbe+NVEo4TbTVHRWLv/BXSjXCepGBA1VJ8xApnpI1vxoKSV82sz/rTh38BGSVSwQYWF6nY TkeGdJFzTMw19RvEIt+XP5M4V75zQ8Arg1v7sTSQfb7B7ZizMLLIvNNioGMIubvQ4SnFkSewS8zMI LJ6h1/eMZSL2BR+OvEk13PJGKekzNNu3nEDIER2dMQq79JxzFa7qP60covmW2DYxTXxXn1zsRshWP ar6ftAzjyI4jXdLF8PaIkClOpMJaorpfgWueoeyrOWvFlYAFcCihlyKtU3BrTh5gOVvTheTBHZFl4 WaI79CRX+Wxcgw==; In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Mon, 22 Apr 2024 11:02:56 +0200) 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:317968 Archived-At: > From: Gerd Möllmann > Cc: eggert@cs.ucla.edu, eller.helmut@gmail.com, emacs-devel@gnu.org > Date: Mon, 22 Apr 2024 11:02:56 +0200 > > Eli Zaretskii writes: > > >> An example in Emacs is the control stack marking. > > > > Is that just one example, or is that the _only_ example? If the > > former, what other examples of ambiguous references are there in > > Emacs? > > I think I've also seen at least one other example, but I forget where > that was (maybe specpdl, or bytecode?). I think the function called > is mark_mem or so. So any Lisp object referenced from the C stack or from byte-code will not be copied by MPS? What are the implications of that for Emacs? AFAIU, the current GC considers any such object as live, marks it, and doesn't collect it as garbage during the sweep step, but being unable to copy such an object means something very different for a copying GC, doesn't it? Because AFAIU live objects _are_ copied.