From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS signals and Emacs Date: Mon, 22 Apr 2024 09:49:29 +0200 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36941"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , eller.helmut@gmail.com, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 22 09:50:03 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 1ryoR8-0009Of-UA for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Apr 2024 09:50:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryoQq-0008Lx-PX; Mon, 22 Apr 2024 03:49:45 -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 1ryoQj-0008Lf-BT for emacs-devel@gnu.org; Mon, 22 Apr 2024 03:49:40 -0400 Original-Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryoQh-0000HQ-1X; Mon, 22 Apr 2024 03:49:36 -0400 Original-Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a4715991c32so417846266b.1; Mon, 22 Apr 2024 00:49:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713772171; x=1714376971; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A12JDhB4jwCDez4GOp8QP5nxhTpMSSsLQS750JkXXvU=; b=A644dCzmm07EOIl7dFBQS6HbRJUsbpBJ9ZwGNYTUBP51uiaGPnEEg/EmMiQ22hsLHD 8CKIIbXdmVV8ZUv0KnTQ4mPZbq8VdRsbCJ9RtJsW2yciny8zqLSU3/8Igif/C6UnE7Vo ExGzSgD8Nt9MWlngIuc7MkfjLlD5bEud0kHw5hEgaA37sXTQbXPA5sdX5OZg/cNfqPzJ 4ZLQE/6aZRzU5vSvr1h3TX2b+fTHB2EDLaGxoqqVIYkW/5PQURe1hUCjv7rrP9y++fKQ oFSBCDSgYYokHMlvXezMzAYBNv2/DWKSDwtrOVw7f+k4L/r9rAGfZ7YstvMDBVuwSB9F AhYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713772171; x=1714376971; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=A12JDhB4jwCDez4GOp8QP5nxhTpMSSsLQS750JkXXvU=; b=Ie1s7Ebm8YCXgrnpbj2t1gHW+t36frjngK85U/fmBTsG4IYOdJPNvemcObN5lcy0tG PI5K0EIGRtPUMG2f3EKz3fABwCrI//i75cSqgGJ4oFo8uGMOIdEe0TylSlWcBamvjBon ilHBS6zco7gsx38VSMcLEQy8XQRUri66LNegJPAPl+S+gEwQNqK3Ze2JjujncunqV6PC nK8p0e2YCQ87w6gDghp4Z3awAD+gaUlPoAuq3c0yZ0wy9VLt3r2t8pcFDsqcb+WV/euN AyvyCMZROCe/NpEonTMqO5dU5lHlLT5LtNurBJ/yZeHBg+Aat4LvJDiFCBY4A67AuxgK kwpA== X-Forwarded-Encrypted: i=1; AJvYcCUrb6HSz+/Wpv0HrR6uQakpdSPlFeAzvssSlHkBTttLahgDiv4g0gEM0mYXBW6BcLt1eNSxQHCVYibMbk/XrYsGeMME X-Gm-Message-State: AOJu0Yx1BKUvgH06VlYU+Aiztx5DEvDrd3WP79Wx+Ii5IMNMXvZ0TNi9 BnIRME+5njRbd03L/YupDSIuRMl7XWFyv9bklTN+3hIoMh+Da31eADgynw== X-Google-Smtp-Source: AGHT+IFkJS/mDftxmMf4qw6Fy9NCGjdGU7ZjPidSdZ6+2Y4d3xlCTRKtb7YxWiaijBb3OyQNmyXRig== X-Received: by 2002:a17:906:66da:b0:a54:c130:21fd with SMTP id k26-20020a17090666da00b00a54c13021fdmr5146724ejp.13.1713772171443; Mon, 22 Apr 2024 00:49:31 -0700 (PDT) Original-Received: from Pro.fritz.box (p4fe3af79.dip0.t-ipconnect.de. [79.227.175.121]) by smtp.gmail.com with ESMTPSA id h2-20020a170906398200b00a4df061728fsm5412968eje.83.2024.04.22.00.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 00:49:30 -0700 (PDT) In-Reply-To: <00fec231-a625-406e-a51b-cb66710c6482@cs.ucla.edu> (Paul Eggert's message of "Mon, 22 Apr 2024 00:40:38 -0700") Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x633.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:317960 Archived-At: Paul Eggert writes: > On 2024-04-22 00:19, Gerd M=C3=B6llmann wrote: >>> I assume that MPS is not being used to allocate any of Emacs's own >>> objects, as copying collectors are incompatible with Emacs's habit of >>> squirreling away pointers inside integers. >> It's excactly that, a (mostly) copying collector for Emacs :-). > > Since Emacs uses a conservative collector, how can MPS move Emacs > objects? MPS can't know which words are pointers and which are not, so > it can't update pointers when Emacs objects move. There are ambigupus and there are exact referenes. An object references from at least one ambiguos reference cannot be moved, others can. Where exact and where ambigous references are (or areas of these), one has to tell MPS, of course. It's not like Boehm's collector where everything is ambiguous.