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: Fri, 19 Nov 2021 13:18:31 +0100 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="=-yzfxothayootTYKtzd2L" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30445"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.42.1 Cc: Maxime Devos To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Fri Nov 19 13:19:24 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 1mo2rS-0007hr-Ea for guile-devel@m.gmane-mx.org; Fri, 19 Nov 2021 13:19:22 +0100 Original-Received: from localhost ([::1]:45056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mo2rO-0001UG-Hp for guile-devel@m.gmane-mx.org; Fri, 19 Nov 2021 07:19:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo2qr-0001Tq-SU for guile-devel@gnu.org; Fri, 19 Nov 2021 07:18:46 -0500 Original-Received: from backus.hahnjo.de ([193.30.122.186]:40346 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 1mo2qp-0008LC-CC for guile-devel@gnu.org; Fri, 19 Nov 2021 07:18:45 -0500 Original-Received: from [IPv6:2001:16b8:1e92:200:6657:51b0:48f8:9366] (unknown [IPv6:2001:16b8:1e92:200:6657:51b0:48f8:9366]) (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 4DA5D5427C07; Fri, 19 Nov 2021 13:18:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hahnjo.de; s=default; t=1637324317; bh=9HcXHLuhIe/DUMJCT3za/XcVxkCT7bJzdW7boGZExNw=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=ge4GxAQ8fedzGN0PfCiEDaE0Hzo4hrcgUVUnijFzh6dJNr+CUglof475rEZR0pzNJ B14/915nLG604Tl/ybFLlZu5hEjcyTlEEdbYf1j2GmEBvnxLlgaO8qtkLx5pwhnsij o2p8YIC+v5Wgv7LNyzUGMgCTjr1z0L3tZcny9StAlOKMIRT3IoDqK620JXl9ufM1Gb vdInGV46/SGGf/FUDfTKgrH/pF59im2AmJRrG2/GAmgsKk95tAsgi+q3ufB8Wu8MJy vJRzs47ih80cioeMYMuyyVg9pO8ElxH91P+vG2X+rCnoOh838YDK6ctyPaMWwtpGOr MZ9BtxSMGCjEA== In-Reply-To: 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.29 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:20955 Archived-At: --=-yzfxothayootTYKtzd2L Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Sonntag, dem 10.10.2021 um 18:22 +0200 schrieb Jonas Hahnfeld via Developers list for Guile, the GNU extensibility library: > 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 on= ce > > > 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_guardia= n, > > > 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. >=20 > Ping, is there anybody looking at patches sent to the mailing list? Last ping before I give up... --=-yzfxothayootTYKtzd2L 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/5YGpL6H9VOgO2kcnDPSxhrNsFAmGXlhcACgkQkcnDPSxh rNsfpgf9FR5hmj7A1ETsWxTxytKdqLlgqJlPR3dv9NFz7Id+u8jYiadyJbhtHRSZ ShPIWLexd2wHePbu+NVuHsvuWOV5wl/k/MrqdKYMAmnkRUAKZWsszqsHF/KwC22i YNYcsCmuKiiFMet8P1qULX3PZ2AEV6pVHWMX4LAyiG1hJkaSnoBFO+3RCN1kn91M 0pF9F+k1OQ98nSEo93jCTZV7Nb6nYwWzsRvActqmmsAAIpRQrjTeO38MbE+lJpl+ qSZxDcToyIOjdAaICg9hl8s815Wjw59xOCZkQ01yE85/i5f/8+BVPsoyI5u3MVOM Ms2LjoBYru4TMGupp+cnAsxJ/v7m9g== =J71c -----END PGP SIGNATURE----- --=-yzfxothayootTYKtzd2L--