From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Hahnfeld via "Developers list for Guile, the GNU extensibility library" Newsgroups: gmane.lisp.guile.devel Subject: Re: GC + Java finalization Date: Sun, 10 Oct 2021 18:22:15 +0200 Message-ID: References: <9ce77d5e08d50456eddc575179b68ac17afc9bf6.camel@hahnjo.de> Reply-To: Jonas Hahnfeld Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-GfQzFPeawEvsVkgro4vR" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31540"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.40.4 Cc: Maxime Devos To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sun Oct 10 18:22:44 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 1mZbb2-00080c-Mk for guile-devel@m.gmane-mx.org; Sun, 10 Oct 2021 18:22:44 +0200 Original-Received: from localhost ([::1]:47062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZbb1-0004p1-Go for guile-devel@m.gmane-mx.org; Sun, 10 Oct 2021 12:22:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZbao-0004oo-86 for guile-devel@gnu.org; Sun, 10 Oct 2021 12:22:32 -0400 Original-Received: from backus.hahnjo.de ([193.30.122.186]:50490 helo=mail.hahnjo.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZbam-0006PR-Az for guile-devel@gnu.org; Sun, 10 Oct 2021 12:22:29 -0400 Original-Received: from [IPv6:2a01:cb15:40c:c100:cf0a:528a:fee7:c993] (unknown [IPv6:2a01:cb15:40c:c100:cf0a:528a:fee7:c993]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hahnjo.de (Postfix) with ESMTPSA id F416051D2C13; Sun, 10 Oct 2021 18:22:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hahnjo.de; s=default; t=1633882942; bh=31T9GSh32dgQySX1WEVeakkGzffdzZ9NTzEktl70pdE=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=AJJ8+6r+QlSZW2YhqTEA8qNhoX3dsyS7ksVgRiO78hh7xI9UvxJBBRlEwRJC2BogP 1p/08M5KE0eLDfBSet8nhdE5AHtYkmK2HjQKNmJm3RzKEwsOhvWW8EKrtcBbUfwuVA v6XUvN4s4AmKRNZhysA9ONShg9DCqzLsXWwbAclnZhpxHjv7dX//dDTJs0RDMMhlZB ceiVCvYd1bQE4Pv3jG/9uGDr9tpmbTmramZRhwnUt4lbegQu6LeRMLLCefSHixJbdK ULEXrXX6jO3u0q3ve0iTncGnQhvX4uzMeLcgGv9Tt0pTJ2kMeDOnawTrKlUgVddImj S5bru4SSqXXUw== In-Reply-To: <9ce77d5e08d50456eddc575179b68ac17afc9bf6.camel@hahnjo.de> Received-SPF: pass client-ip=193.30.122.186; envelope-from=hahnjo@hahnjo.de; helo=mail.hahnjo.de 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, 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:20909 Archived-At: --=-GfQzFPeawEvsVkgro4vR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Donnerstag, dem 15.07.2021 um 20:44 +0200 schrieb Jonas Hahnfeld via Developers list for Guile, the GNU extensibility library: > Am Samstag, dem 03.07.2021 um 14:05 +0200 schrieb Jonas Hahnfeld via > Developers list for Guile, the GNU extensibility library: > > Hi Guile devs, > >=20 > > I'm hacking on GNU LilyPond and recently wondered if Guile could run > > without Java finalization that prevents collection of chains of > > unreachable objects. I found that the functionality is only needed once > > the first guardian is created, so it's possible to delay enabling the > > mode until then. This required some fixes to free functions that > > assumed dependent objects to be freed only later (see first two > > patches). > > The third patch delays ensuring Java finalization to scm_make_guardian, > > but doesn't disable it explicitly (it's on by default in bdwgc). This > > could now be done right after GC_INIT(), but it's not clear (at least > > to me) whether client applications actually rely it, so I think it's > > better if that's not done in Guile itself. > >=20 > > Please consider applying, the fixes potentially also to stable-2.2. >=20 > I didn't receive other comments than those by Maxime, so here is an > updated version of the first patch. Ping, is there anybody looking at patches sent to the mailing list? --=-GfQzFPeawEvsVkgro4vR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEXw/5YGpL6H9VOgO2kcnDPSxhrNsFAmFjEzcACgkQkcnDPSxh rNvJhAf/c8eFa92Li+Beo9uLXv2cbYqF7hkTi/f1Zc2AJrOiBixYDHDp7lKzlRCG QHkfjOwx0YkGlIfEdcyFhiucfkZK1nGFcUWn6PSJhYO1XElYOkeW3Wi6LTWvWbB8 xkdaF3Cy72JamaJEhwSWsOLyL58KayHtcSIW0nHkI2zsN9yvofq5mvtRb1c0ke3a 2VbbSapSiBb6OsLf5tkljS0qWrd74l4SYr9PKc89R0Tcm6BbPScAyiMatKFI1J1l WcKGJFa59Bl5NLEba9T3P/y/O1B3ufj5cMY9Coz7SKwOlKqSvZFOKL60GwoE+VW6 NYLL9vGAbcx5pst6fucrTqzpSXWxeg== =cVQJ -----END PGP SIGNATURE----- --=-GfQzFPeawEvsVkgro4vR--