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: weak hash tables Date: Sun, 07 Jul 2024 20:40:53 +0200 Message-ID: References: <7PXYgVu5A8knQy6Q03cbm6FjO7s022nC0cqCRtUDhQBgA8ZrpLqmoVRgxD8moCTJpB_52ngFaJnW5JIflrzpHe09WcmbRqiHIdWQZE9kQgU=@protonmail.com> <87tth1xm4n.fsf@gmail.com> <87msmtxkpy.fsf@gmail.com> <87ed85xj67.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="10858"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Pip Cet , Ihor Radchenko , Eli Zaretskii , emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 07 20:41:58 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 1sQWph-0002gH-Pb for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Jul 2024 20:41:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQWom-0001wL-Hh; Sun, 07 Jul 2024 14:41:00 -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 1sQWok-0001vQ-Ko for emacs-devel@gnu.org; Sun, 07 Jul 2024 14:40:58 -0400 Original-Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQWoj-0006Pj-26; Sun, 07 Jul 2024 14:40:58 -0400 Original-Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a77c0b42a8fso437385766b.1; Sun, 07 Jul 2024 11:40:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720377655; x=1720982455; 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=1QXF9BVzZoNnV3MZmmWaq1GLeoYo+wPbHWDUZI/Noao=; b=nGEqUuTdAFGte5YKiyP0Yb0bh+k+bLH4YCvkVdXvqIo+1H4YgJ8Ksnh1uV5syXz3RD I2KTRFjzCpUfcrKpziKw32VVYYr2Hf8qacERNuDOhu7lr9PPdnn9SwzYcbhQNy10y6v4 mStuKimc7LyZABWSXy1/1asyY9PATt7C14pTVccu0ieu6Sycu7HAQE1m7DRZ7iKYyjQN ifR6IBvgdel6cSL8S3Ew/QeR3ksMhJlpaToZnB6N4Q9CSDmMHvLLZiKvfU0/1cr+10cC Id00ndKUBaeOYl5LXu0ydPBUIy5pH9XbeM1itq9eMsYhvPtzgflmyrI50Tsiowv/VoHS H9gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720377655; x=1720982455; 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=1QXF9BVzZoNnV3MZmmWaq1GLeoYo+wPbHWDUZI/Noao=; b=ikgIL7Vb48JdhaB4lo+0QvKsWn2ATWAhK33H+Xb8UH/ehNL3PUYEngGBhMVdKk4Z1t gUlaKA3P4t3xiUtaibo/gY7dNjgG9PXU3MHB1haXAsn0QHsDyUzo2qJlcXcrKyReUIMP r3zlLx9jEKTacyWjUVnukivKB150XyWyDAvxncxGJTA39Ev/viZBWmk4zr1SdmPq2N1a Vp/raduax4mLnEYR5LnXHxIsKlJ9usNbD/2OE1AL5TgA4EmL41SdqvyGSe0f+PD4Gd7Q amFbFiCV8X1hkK3fSZIThNxVv+hnPmWUhzc9nWoWjljgZYj7etiwkEXCMR/rZ1wfdY8i RJhw== X-Forwarded-Encrypted: i=1; AJvYcCUUtsCIAyGnvug2uOWljJ13v7SkuhfoFvn4ECmZa2fJy1quki4raozAmdKJQ2owpb8kgj0JKhYZehGsHQ3McES8B1i2br343ngMuxmTe8QH8go= X-Gm-Message-State: AOJu0YxBkt2U6e+kwvBw5GYIyx+6IpSBMxKfiKq/WFoCqRCZ0XVbN/D0 2HqIKR76e31G9M3hZsvchZqIOuoFLQ1c45WWGhv5s1Jifz+wrRWfT75ARg== X-Google-Smtp-Source: AGHT+IHJV/mjeyhin1CfjTuUKVtIfvJFPtVqSjLw773f0gCoVfoMtfifIaJyMZ8y2PjBKAOBfWnA8Q== X-Received: by 2002:a17:906:f8d4:b0:a77:ba4d:a4ea with SMTP id a640c23a62f3a-a77bda09b81mr747261866b.23.1720377654593; Sun, 07 Jul 2024 11:40:54 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a778.dip0.t-ipconnect.de. [79.227.167.120]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77c5b0baabsm263574066b.192.2024.07.07.11.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jul 2024 11:40:54 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Sun, 07 Jul 2024 19:03:46 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x630.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:321516 Archived-At: Gerd M=C3=B6llmann writes: > Helmut Eller writes: > >> On Sun, Jul 07 2024, Pip Cet wrote: >> >>>> You mean "stats", which includes results and possibly big objects of t= he >>>> previous tests, is included in the backtrace. And >>>> ert-test-run-tests-batch-expensive prints it with altered printer >>>> settings. Could be. >>> >>> So >>> >>> (cl-defmethod cl-print-object ((object ert--stats) stream)) >>> >>> should help? It appears to... >> >> Good idea! This makes ert-test-run-tests-batch-expensive definitely >> less expensive. > > =F0=9F=91=8D Looking forward to commits I can transfer back home :-). > >> Can we conclude something about igc from this? Maybe that it works as >> it should. But also that it's not particularly good if the heap is >> almost full with live objects. > > I believe it works as expected, yes. When one allocs in such a pattern, > maybe one should use park the arena, or use ramp allocation, or > something.=20 Helmut, I seem to remember that you had 3 points on your list that needed investigation, pi, ert-test, and something else I can't find now and don't remember. Could you please remind me, or am I misremembering?