Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VYsmM-00089B-1R for pgsql-jdbc@arkaria.postgresql.org; Wed, 23 Oct 2013 07:22:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VYsmL-0001yi-Dh for pgsql-jdbc@arkaria.postgresql.org; Wed, 23 Oct 2013 07:22:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VYsmK-0001yc-SH for pgsql-jdbc@postgresql.org; Wed, 23 Oct 2013 07:22:52 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VYsmG-00031l-Em for pgsql-jdbc@postgresql.org; Wed, 23 Oct 2013 07:22:51 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id r9N7Mgl30080 for ; Wed, 23 Oct 2013 00:22:42 -0700 Message-ID: <52677946.4090907@hogranch.com> Date: Wed, 23 Oct 2013 00:22:46 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Remove usage of finalizers ? References: <9E5438C0-0A2E-4543-BE06-1E7A6D0E3B83@pilhuhn.de> <4EFCA605-80FE-4D6F-90CE-C124984C95AB@pilhuhn.de> In-Reply-To: Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.3 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org 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