From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Re: GC + Java finalization Date: Tue, 22 Feb 2022 07:12:59 -0800 Message-ID: References: <9ce77d5e08d50456eddc575179b68ac17afc9bf6.camel@hahnjo.de> <87mtij2oo0.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3851"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jonas Hahnfeld , Maxime Devos , guile-devel@gnu.org To: "Dr. Arne Babenhauserheide" Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Feb 22 17:05:28 2022 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 1nMXfM-0000kk-8p for guile-devel@m.gmane-mx.org; Tue, 22 Feb 2022 17:05:28 +0100 Original-Received: from localhost ([::1]:42870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMXfK-0002lp-B5 for guile-devel@m.gmane-mx.org; Tue, 22 Feb 2022 11:05:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMWqw-00087d-TC for guile-devel@gnu.org; Tue, 22 Feb 2022 10:13:23 -0500 Original-Received: from sonic307-2.consmr.mail.bf2.yahoo.com ([74.6.134.41]:34387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMWqi-000350-La for guile-devel@gnu.org; Tue, 22 Feb 2022 10:13:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1645542786; bh=f1zL8N/cTf9nOlWojMYO8uoy1Kkj3PZuoSHKbEg5LMw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=G9GWFtc+ubVAC7Uq2tZAO+WtyiDaGfBy6hM0kwIFzT8f+SbwjwtPKc5URD1ft5xy2ONnlTKSu6haTEZ06pAvVM5m586FTaS2twDJiavzC9DDKgqnMiVe23msiZwAXelzWok9etqGeHNLaQcMEgcuaHq6ZBxVGsOpa/zd7ZKXzpcnfEegjqp115EbUL4r2dipqqIzdcpS12VsceSO2Ucj+TmlRxCY59ojZTELZ8+MC9Tz8g/ryS2HzLXZ+7ALVhELiVpEPxX1NV3MQ3QAefQ06l2InRYOYH74otYEmQHXoMlOR2U2ffadsWLuWmC6VT7gLpftqB9L5+4qDqkYs+VKcw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1645542786; bh=jAoZUNeNlyXHL2crtpbJOJeXEJjaaAzIg+VGygcVFrb=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=K5Gx8Uo+ymy859kczh2C5W5fA70xgubwI9WIOomRtTXiEX60YUhnQwtnLQV/6P76hrrT/6OWGAj56FOm40TDHCK2EKAFDZVGECnM87AYfpHpj1q3DmhViKewt5hjkNMaN62RJ+kQjs4GVlm7ts2qt8AQoaX9XsZCiRNv8q7Gpi8fX3YGNc8zdq61S17UlBxzLspMC3vMzm3fD+gSwYrWEqC//Bc+bEWSka64YdIBFJew0FU96szs75n7O2sJwQkFXJ2hVFuuOXvPCyu/cKFiXaN6EwvXEvOI3KVJJmXNShy1rgESZ5cNxX5CBP14P8x0t4BN2jRVnDaGMSNFlDKKTQ== X-YMail-OSG: llnCmBUVM1mEYnL_a1RBuQbPF.j8EPTj1oX6_g9UQRhxp89a1JI2HiNjO_BpxOR BOAHKcEybaM43V.vqF.yztvRDHeAvwrnSYQqTWrC1pmN6QJnJNQNPnhw9_2_FREwUF.ZaGyanudC jagjal9_CfdD6kY_rMDd84YRb7UFzkF7gXECijGPk2b2qPguqgHLOwEERxqE3ssMD3Wud0leXLnE ijrNoRd4bE2WyAQn3ztZ2mlRnPDY6v.werxcsmY6pWZvZaMm_R8C870A3rmSMrlIWSwf7oLJwXwu 0yS2dQKA1rOzpIVk.xrb.7yP5jVgA1Wf4lXj_PgpWe_BfTsY_x6XAmF4iFOzXux_BO9OGQfcoOg0 KGUc8gEDqQHcAbN1SeHdGTqO9QddgiYo9S3aZU6YVWgGfSiWf5X6vW_3hXcXYiv3qQSI2.fQ9riH AoO8agM0eeYaESyy3V22pUfxktHIWlLiKS9ftxi5sk19HiCIb.L1U2vN.0AHOygGiEQOt_DC4aX_ wmp367RGSGhNOGWdX7EZcEVvu4SjiRf6RDUjgZCe44GY.vkiNHDPUqlJpnHzNP_AH9A9aNDT844y uoS5QetPDlJ9PXvEIn3DD4AOUoKyp6FHGsOT.f69GNfIKjtO8aNZY9yJg0e1RAVzgh00128nbLNM SvSVumx.WxBArngwGGuZuK8CaaId8DPKaytsIcqh876w.nfYdgF51CTbKy.9AkqhS1dG7wlcT43k uVdsooguvFHmOkc6OwDZxBHmxia0hcq9kVeVN.0.Pz2FlGKInqUb4BTAgYcsFudTBILByTL6HnKx 29AVhJRn6wnvlqgrBvM65QXPOI6u4ef_Z0zxTju6.. X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.bf2.yahoo.com with HTTP; Tue, 22 Feb 2022 15:13:06 +0000 Original-Received: by kubenode512.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 9cc9fc8dbef4a43960e678f41c77396e; Tue, 22 Feb 2022 15:13:02 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87mtij2oo0.fsf@web.de> X-Mailer: WebService/1.1.19797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=74.6.134.41; envelope-from=spk121@yahoo.com; helo=sonic307-2.consmr.mail.bf2.yahoo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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: 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:21144 Archived-At: On Tue, Feb 22, 2022 at 11:14:16AM +0100, Dr. Arne Babenhauserheide wrote: > > Jonas Hahnfeld via "Developers list for Guile, the GNU extensibility library" writes: > > > [[PGP Signed Part:Good signature from 91C9C33D2C61ACDB Jonas Hahnfeld (trust undefined) created at 2021-11-19T13:18:31+0100 using RSA]] > > 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, > >> > > > >> > > 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. > >> > > > >> > > Please consider applying, the fixes potentially also to stable-2.2. > >> > > >> > 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? > > > > Last ping before I give up... > > Did someone now look into the patches? Arne, It is likely that a few people saw the patches, but, no one person with commit access felt like he or she should be the person to fix it or champion it. The maintainers have always seemed amenable to allowing the committers to fix things without a lot of process, but, Guile as a project is not structured to encourage committers to look through the patch and bug backlog. I've seen some e-mail traffic about how to fix it, but, I don't think a consensus had been reached. (I say this as a bystander and former committer; I don't speak for the project.) -Mike > > Best wishes, > Arne > -- > Unpolitisch sein > hei�t politisch sein, > ohne es zu merken. > draketo.de