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: Loaded pdump Date: Tue, 14 May 2024 20:49:59 +0300 Message-ID: <86le4cuvug.fsf@gnu.org> References: <87bk5fp0km.fsf@gmail.com> <87seyrni6f.fsf@gmail.com> <87msoygkb5.fsf@gmail.com> <86seyq3qvr.fsf@gnu.org> <87v83g79rw.fsf@gmail.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="7620"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 Tue May 14 19:51:12 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 1s6wIy-0001jL-FD for ged-emacs-devel@m.gmane-mx.org; Tue, 14 May 2024 19:51:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6wIK-0004lK-Dg; Tue, 14 May 2024 13:50:32 -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 1s6wHu-0003wX-6T for emacs-devel@gnu.org; Tue, 14 May 2024 13:50:09 -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 1s6wHq-0006gQ-5x; Tue, 14 May 2024 13:50:03 -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=fTUH9CdzXBE5Sk71w1n+mTFT9A93nyqBo8mJNDOES9Q=; b=Ywhq5rfmS5TG3e+UeFjI KDXFT1ES9yXQe5WB5grXH68a7bDSwiHj/hhUov6FaBdnscpS1ox+6rllonc7OAYA2dzck60rQP85T gw86p3cpEb7POp8u6boPAxrP9NG4C/Yrwx5dnlWZvr6S27askbCLU0544UZF5D4lKnisnQ0ZzUUiW 85IAENsl0PoIcALJG9leUVbBkCRhOd3U9CysLenMNZVMiM6s7n3vPF/KjpLAWPppMbhOD6NPDf81l WWEtkdWsVRZViLYBcLDdNigMf3ofuqsVGyTV225SPD3MVvUilZCoCGkwA+n3rjEx5lYttUBqrhKnw RRW9x3SwgIKXDQ==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Tue, 14 May 2024 17:46:49 +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:319230 Archived-At: > From: Gerd Möllmann > Cc: Eli Zaretskii , emacs-devel@gnu.org > Date: Tue, 14 May 2024 17:46:49 +0200 > > It's more that nothing in pdumper enforces objects to be contiguous. If > O1 and O2 are pointers to adjacent objects in the dump, then nothing > enforces that O1 + O1.size == O2. I didn't want to assume that is the > case if nothing makes it sure. Isn't that how pdumper.c works? After dumping an object, it moves pointer to immediately after it. No?