| From: | John R Pierce <pierce(at)hogranch(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | Re: Remove usage of finalizers ? |
| Date: | 2013-10-23 07:22:46 |
| Message-ID: | 52677946.4090907@hogranch.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Steven Schlansker | 2013-10-23 17:47:58 | Re: Remove usage of finalizers ? |
| Previous Message | Vitalii Tymchyshyn | 2013-10-23 07:06:03 | Re: Remove usage of finalizers ? |