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 08:32:49 +0200 Message-ID: References: <87jziod6yc.fsf@gmail.com> <874j9rcuf6.fsf@gmail.com> <87y173bda9.fsf@gmail.com> <87plsfbcd5.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="30561"; 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 08:33:48 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 1sJSPb-0007og-EO for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Jun 2024 08:33:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJSOp-00076u-6l; Tue, 18 Jun 2024 02:32:59 -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 1sJSOl-00076Y-SO for emacs-devel@gnu.org; Tue, 18 Jun 2024 02:32:57 -0400 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sJSOk-00069T-6t; Tue, 18 Jun 2024 02:32:55 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a63359aaaa6so752386466b.2; Mon, 17 Jun 2024 23:32:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718692372; x=1719297172; 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=u/AjeEXfExel1aBh4dmKmy9f/lvsUIp/gbAp27mOguk=; b=BBibPRW5+hFUBj1HwPMrCtt1+/2AX2wgumMNjeVq4TqXWdWxhoiPtxoV6AMoJ2l2p6 eD0FttSpgW2fJHbGQSZzJRXbbPxvnoP1xL3YUMAPDWuklWOpkWAQ4+ygf4HNNsO+c9UJ PIK+Wn4s/REu614AIwsEYvnAzlrBA7apRwksg/hbLINTngPeUMnNV9KSLELnaTNzoyrP i0zjoIDJ0wgiHUaxyZibM/DB1VRpg5C8di281cbB1tm+5mbLwFzkTcbj4Qrqry7OfnhL AQ5KIMqyl+368NKgz4RdICTMuZLqFL4zUwqZTMDjcrNwGQ3527brM0xnlfELExaBtWPR bhog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718692372; x=1719297172; 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=u/AjeEXfExel1aBh4dmKmy9f/lvsUIp/gbAp27mOguk=; b=bftckZO3u+LEGLZivnwX+keRGcr+6WoBSkV0vOngA0a4jJ1xsIjY2V3lUpNH77fllO zhGvshIFpCrH3ORsInf5WqIHep24o5fR7rMMk9MmV2CMS2EV1AVaK+qRG69rbFiXB4mx TONHMO4Vc+DG5/QmcBEYLGuD7Uy/3g0YbQSgOiclIoSATQBYyg+hPeEKSLynqhIKszJ9 m7wWyD04kvbiI3xVL4MVUjp3lfC0GoNs4653DDjH0+b+Pt7GR4NvtcQy2FXhi1b8z89O l/lDtJjugarwC4lKYp5Urj9olITnb4olzWPRLVGb9ACghEJbgCwQgoQz5sNOm4ku5JUv x3aA== X-Forwarded-Encrypted: i=1; AJvYcCXOVRQ8hKMJlkixlgRkAVMZ87B+nVQOsITgBhBt5I85na+6cgiS4n7mIwjxMyu4YbnDfUih+hfkNVwfcf4= X-Gm-Message-State: AOJu0YwY8KUBu6aZdlN572HIX3FdWvMGtXlK7mKeSkFc+EMxtI+C4lKF 9mfmGCIPjuqEhAWOMM5JNf2A1sC7OUvQQbUx4fjS7jKmUXUrnPRuXGiVGw== X-Google-Smtp-Source: AGHT+IFrt9H7crSlNMhDPgXgsXqlTNlrfJV9oownHSDfx5qgTdvycBAR10Zi44I+RUvzk++IbK+vVw== X-Received: by 2002:a17:906:2695:b0:a6f:4a42:1976 with SMTP id a640c23a62f3a-a6f60d42748mr720744166b.37.1718692371334; Mon, 17 Jun 2024 23:32:51 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36c2f.dip0.t-ipconnect.de. [217.227.108.47]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f99b67sm583905966b.201.2024.06.17.23.32.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 23:32:50 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Mon, 17 Jun 2024 22:07:03 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x634.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:320229 Archived-At: Gerd M=C3=B6llmann writes: > Helmut Eller writes: > >> On Mon, Jun 17 2024, Gerd M=C3=B6llmann wrote: >> >>> I still get the same assertion because client is not pdumper_object_p. >>> Could it be that we have to use pdumper_cold_object_p? I'll >>> give it a try. Strangely, I can't call that function in LLDB... :-( >> >> dump_cold_buffer uses a dirty trick to get that damn >> IGC_OBJ_DUMPED_BUFFER_TEXT header written out. igc_dump_finish_obj >> could just check the type. That's something for tomorrow. Now it's too >> late. > > Ok. I'll push something that lets me build, and with an optimized build > I get > > .../emacs/savannah/igc % /usr/bin/time src/emacs -batch -f igc--collect > 0.18 real 0.09 user 0.08 sys > > Not too bad :-). Good night! I've now pushed a change that makes IGC_DEBUG optional, which makes the various igc_asserts in igc.c optional, so that one can get a really optimized build. To enable IGC_DEBUG one now has to configure with --enable-checking=3Digc_debug. It's not included in 'all', so one has to do something like --enable-checking=3Dall,igc_debug to get both. Overall, the times when not mirroring are consistently better than before, unsurprisingly. It's itching me to axe the mirroring code...