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: Forwording symbols Date: Tue, 18 Jun 2024 21:55:56 +0200 Message-ID: References: <87jziod6yc.fsf@gmail.com> <874j9rcuf6.fsf@gmail.com> <87y173bda9.fsf@gmail.com> <87plsfbcd5.fsf@gmail.com> <87iky6boz7.fsf@gmail.com> <878qz2bh3u.fsf@gmail.com> <87le3282mh.fsf@gmail.com> 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="33955"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel , Eli Zaretskii To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 18 21:56:49 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 1sJewj-0008it-I6 for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Jun 2024 21:56:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJew3-00031z-Jw; Tue, 18 Jun 2024 15:56:08 -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 1sJevy-00030Q-2N for emacs-devel@gnu.org; Tue, 18 Jun 2024 15:56:04 -0400 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sJevw-0006O9-BK; Tue, 18 Jun 2024 15:56:01 -0400 Original-Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4217c7eb6b4so51608525e9.2; Tue, 18 Jun 2024 12:55:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718740557; x=1719345357; 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=/mDh7rGIYG54XdFSVeat8ZocDZ6K509Z0R0X3LAJm0k=; b=eI5KicFmNHAao7Jb2tT6pRj+7lzeZAx7t7tDXu4C0yPwC+7mDClznz2E3PItANcpNf ou8YPq0uYqdJIBN5pKyXlZeJggG3FgOYDN67MDRgeB2omVPbiM+eG9Fg2Z3o+oh1ZTtV htda0jtfYqRDI5Fjy1/vSPozPAyZ6vtd1EnRjs6T7qDWDF5CucQbmkxa65kkH2pbYQiN nPv1yBOTRKQwlGG3LjmtbOst8zrTKFnyQawGh4GmDaS/1rH5KxDeeJdQocH+KiiXHN2p oH/180lVfYhb3OEqwws7DQO/DyRjKsJb0lCKnfrNhloCK4QVQQMHTimXbD22N6PfvO6R WTig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718740557; x=1719345357; 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=/mDh7rGIYG54XdFSVeat8ZocDZ6K509Z0R0X3LAJm0k=; b=FNe4Oi2A/NT6StqsN8A3cNKAQF1uXUZH9Hmo6dKcy11VQqmnRnbFSCSMiaE4sVoPwR W3f+XE/zzbE1LCyTqSWwdu6C2gdJggfC0p94erULl4BzakD492UCx0hSyibgOG4Nzfkl Rq3ccS9bRGkdz8Kb/CQ3gx33pqOiOjsprDWjXwywOl2cMF2ehTNY/aCW9Kpanas815bJ OdlJwoHYy8ABkcjO2/p+J8p5UpG1z7oerhBSSDnn4zMIHfPgXK6fZmsZ0+Y8wpJuqJ7H b4212s0phe23D9VO4aqkmz3R4VqrzEAsZ2mJTXYK7Kx7uDTn78sUofakP3xrgXsI5X97 x0gw== X-Forwarded-Encrypted: i=1; AJvYcCWEdau4wmHe+AzP12+XUEcEHh3UXa01icpyrZkT2VRAXxzXAhWIm6iVoKl2Prl7Bjzzbq51wVeRiFQO7wQ= X-Gm-Message-State: AOJu0YwFIVeb4S8cbBkTpThJJmGxw/nwCe2joTbXXSvRt+5wJoT/RvDh 85TP2cTd2kV/tgzAV5Mz0r/2ufDRfiHiW++8Z8yZ9C0lygLYuZmKaSrMiA== X-Google-Smtp-Source: AGHT+IFbXKX+TnhrBDEyz0xsAn3YsjCas3zhP88wUN1TL3N3L7WTRkWLIH7sHlpOn4VuIdr1a47B4w== X-Received: by 2002:a5d:6443:0:b0:360:73b0:e58e with SMTP id ffacd0b85a97d-363178982bfmr462619f8f.26.1718740557182; Tue, 18 Jun 2024 12:55:57 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36c2f.dip0.t-ipconnect.de. [217.227.108.47]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3609aa60a59sm4313042f8f.84.2024.06.18.12.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 12:55:56 -0700 (PDT) In-Reply-To: <87le3282mh.fsf@gmail.com> (Helmut Eller's message of "Tue, 18 Jun 2024 21:36:22 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x330.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, T_SCC_BODY_TEXT_LINE=-0.01 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:320272 Archived-At: Helmut Eller writes: > On Tue, Jun 18 2024, Gerd M=C3=B6llmann wrote: > >> I meant the mirroring code. I find it still funny that I completely >> overlooked the idea of simply loading the dump into an area allocated >> from MPS :-). Instead: here's a object graph, or graph(s), - and wee >> let's copy them :-). Really strange :-). > > All the examples in the documentation for mps_reserve, allocate a single > object. That was probably the reason why I didn't even consider the > possibility that it can also be used to allocate many objects or an > array of objects. I only noticed that MPS makes a distinction between > blocks and objects, when I was re-reading the documentation to see if > what MPS calls object formats is the same as what I called layout in the > codegen. Yes, good catch :-).=20 > BTW, MPS also has a pool for stacks. Maybe prstack etc. could use that. Yeah. I would also find using allocation frames interesting. Alas the best usage example of dumping which allocates lots of objects that are dead after dumping doesn't happen very often :-).