pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Remove usage of finalizers ?
Date: Wed, 23 Oct 2013 00:22:46 -0700
Message-ID: <52677946.4090907@hogranch.com> (raw)
In-Reply-To: <CABWW-d0A73dsyfu44gJ5o2K1bHHxAUXWWsrCGTnj779QamK1gA@mail.gmail.com>
References: <9E5438C0-0A2E-4543-BE06-1E7A6D0E3B83@pilhuhn.de>
	<CABWW-d2rT-dGEh-hrtemgo2z6dm5H2VUz86y-xmgs3p_6Hv+_w@mail.gmail.com>
	<E177372F-3F90-4F1D-9A34-84B3A678A988@pilhuhn.de>
	<CABWW-d2EfWuCV7ZDGoWpz1GiFEM_zNX6rq1PHdHNm_HbZ3EM2w@mail.gmail.com>
	<B86EB807-F8DF-4F2A-BBC9-6CAB925FCDE9@pilhuhn.de>
	<CADK3HH+CaUF3gG-D3fTZn4OeKdP+39=iqgww1Wp7hYBiypKidg@mail.gmail.com>
	<CAPPfruy+mPWfg9WmWQGaRVTAQS9kBgF1pi9oJB4ZcgRyZ87few@mail.gmail.com>
	<CABWW-d1iMgM9-fs2uJ2Vk5rTQnN29nvUvfhQUg0k=jxao-T_KA@mail.gmail.com>
	<4EFCA605-80FE-4D6F-90CE-C124984C95AB@pilhuhn.de>
	<CABWW-d0A73dsyfu44gJ5o2K1bHHxAUXWWsrCGTnj779QamK1gA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On 10/23/2013 12:06 AM, Vitalii Tymchyshyn wrote:
> I am not big fan of finalizes. But you propose to remove mechanism 
> that works most times, without introducing anything else.
> You are saying that as in my incorrect application (and I am 95% sure 
> you've got incorrect application if you are getting finalizing objects 
> piled up) it does not work, let's remove it altogether and make driver 
> also wrong.

as an outsider to this stuff, with only a superficial understanding of 
these finalizers, it seems to me they should log a warning if anything 
leaks to them.  you don't get rid of them entirely, they provide backup 
sweeping up of neglected debris..


-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (26+ messages)  latest in thread

Message-ID: <52677946.4090907@hogranch.com>
Permalink:  ../52677946.4090907@hogranch.com/
Also on:    postgresql.org/message-id/52677946.4090907@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: Remove usage of finalizers ?
  In-Reply-To: <52677946.4090907@hogranch.com>
  References: <9E5438C0-0A2E-4543-BE06-1E7A6D0E3B83@pilhuhn.de> <CABWW-d2rT-dGEh-hrtemgo2z6dm5H2VUz86y-xmgs3p_6Hv+_w@mail.gmail.com> <E177372F-3F90-4F1D-9A34-84B3A678A988@pilhuhn.de> <CABWW-d2EfWuCV7ZDGoWpz1GiFEM_zNX6rq1PHdHNm_HbZ3EM2w@mail.gmail.com> <B86EB807-F8DF-4F2A-BBC9-6CAB925FCDE9@pilhuhn.de> <CADK3HH+CaUF3gG-D3fTZn4OeKdP+39=iqgww1Wp7hYBiypKidg@mail.gmail.com> <CAPPfruy+mPWfg9WmWQGaRVTAQS9kBgF1pi9oJB4ZcgRyZ87few@mail.gmail.com> <CABWW-d1iMgM9-fs2uJ2Vk5rTQnN29nvUvfhQUg0k=jxao-T_KA@mail.gmail.com> <4EFCA605-80FE-4D6F-90CE-C124984C95AB@pilhuhn.de> <CABWW-d0A73dsyfu44gJ5o2K1bHHxAUXWWsrCGTnj779QamK1gA@mail.gmail.com> <52677946.4090907@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox