From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxime Devos Newsgroups: gmane.lisp.guile.devel Subject: Re: GC + Java finalization Date: Sat, 03 Jul 2021 20:49:05 +0200 Message-ID: References: <665d5bf795575a076321e7de74bef00023ae9355.camel@hahnjo.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-S9yG++yTn3y+z779ajgw" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31404"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.34.2 To: Jonas Hahnfeld , guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sat Jul 03 20:49:28 2021 Return-path: Envelope-to: guile-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 1lzkhj-00080b-2l for guile-devel@m.gmane-mx.org; Sat, 03 Jul 2021 20:49:27 +0200 Original-Received: from localhost ([::1]:56742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzkhh-0007oy-3F for guile-devel@m.gmane-mx.org; Sat, 03 Jul 2021 14:49:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzkhU-0007ob-Jv for guile-devel@gnu.org; Sat, 03 Jul 2021 14:49:12 -0400 Original-Received: from andre.telenet-ops.be ([2a02:1800:120:4::f00:15]:59150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzkhR-0006rs-OX for guile-devel@gnu.org; Sat, 03 Jul 2021 14:49:12 -0400 Original-Received: from butterfly.local ([188.189.167.54]) by andre.telenet-ops.be with bizsmtp id Qip6250011AlBsU01ip6JQ; Sat, 03 Jul 2021 20:49:07 +0200 In-Reply-To: <665d5bf795575a076321e7de74bef00023ae9355.camel@hahnjo.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1625338147; bh=B8F0SU7aALMSPgWyLHohtBJMOCo5+6jSznZwtCsury4=; h=Subject:From:To:Date:In-Reply-To:References; b=m8yGbsAzayPRMgLAdMdXfI5irFN7eAaOxpacuT86VCGdN1bRWgGNSOaO3OX2kZV86 Eb/igyzQVlUSOTK0jPrRElCylmGIgTblktTjBYefQ/bNoj9TWOsn4Zbyd/Y8186Ifc eHFgQQJhv1fb3EicPjQSitUcgLmCJpcB+Z5Q8fDctlLz3uLC9rKV1EFHT/s7IonH0E /IHvNOWgfo25sNpwWauknLpjf+CNwe1KTX+l4aQjlYwapiUHmn6M4S9WyNvO1Fepfp TRTqF9OP/WtnfEmj4/2tawwQOEZwz9uk8LmQ77HE0ABzBUlyJathxYH8UVz/r/czco Mra+nn3v8p8lw== Received-SPF: pass client-ip=2a02:1800:120:4::f00:15; envelope-from=maximedevos@telenet.be; helo=andre.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20798 Archived-At: --=-S9yG++yTn3y+z779ajgw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Jonas Hahnfeld schreef op za 03-07-2021 om 19:26 [+0200]: > Sorry, I should have been clearer: Chains don't become uncollectable, > but a chain of N objects takes N collections to be completely reclaimed > (because Java finalization prepares for the possibility that a free > function makes an object live again, as Guile does for guardians). This > leads to unnecessary waste on the heap, and more work for the collector > (even though I haven't been able to measure so far). Disabling Java-style finalization would be an optimisation, ok! --=-S9yG++yTn3y+z779ajgw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYOCxIRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hUlAQDCzMi0xF3xFjFyY9gC1pFEAJcS J6HloXLvyA0cwV/ATAEAu4A+7F9RRBExwRhImfUw9oLEMPgi0MQ3qun1zA1AkgY= =9TJ1 -----END PGP SIGNATURE----- --=-S9yG++yTn3y+z779ajgw--