comp.lang.ada
 help / color / mirror / Atom feed
From: "Jean-Pierre Rosen" <rosen.adalog@wanadoo.fr>
Subject: Re: Dummy
Date: 2000/02/05
Date: 2000-02-06T09:57:00+00:00	[thread overview]
Message-ID: <87jghc$oj5$3@wanadoo.fr> (raw)
In-Reply-To: wcc66w4rcy5.fsf@world.std.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 825 bytes --]


Robert A Duff <bobduff@world.std.com> a �crit dans le message :
wcc66w4rcy5.fsf@world.std.com...
> Florian Weimer <someone@deneb.cygnus.argh.org> writes:
>
> > Does this mean that that the finalization of local variables is
> > non-deterministic in Java?  Ugh.
>
> Yes.  Finalization happens in Java whenever the garbage collector gets
> around to noticing that it's needed.
>
It's even worse. The finalization routine is allowed to resurect the object
(for example, by assigning it to some live variable), however it is
guaranteed that in that case, finalization will *not* be invoked again, when
the object becomes inaccessible for the second time.

--
---------------------------------------------------------
           J-P. Rosen (Rosen.Adalog@wanadoo.fr)
Visit Adalog's web site at http://pro.wanadoo.fr/adalog






  reply	other threads:[~2000-02-05  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-02  0:00 Dummy Simic_10111
     [not found] ` <3898C380.BC01EC03@earthlink.net>
2000-02-03  0:00   ` Dummy Hyman Rosen
2000-02-03  0:00     ` Dummy Tucker Taft
2000-02-04  0:00       ` Dummy Robert A Duff
2000-02-04  0:00       ` Dummy Florian Weimer
2000-02-04  0:00         ` Dummy Robert A Duff
2000-02-05  0:00           ` Jean-Pierre Rosen [this message]
2000-02-10  0:00             ` Dummy Geoff Bull
2000-02-07  0:00         ` Dummy Hyman Rosen
2000-02-07  0:00           ` Dummy Florian Weimer
2000-02-07  0:00             ` Dummy Hyman Rosen
2000-02-03  0:00     ` Dummy Larry Kilgallen
2000-02-03  0:00       ` Dummy Hyman Rosen
2000-02-03  0:00         ` Dummy Larry Kilgallen
2000-02-03  0:00     ` Dummy Gautier
2000-02-03  0:00       ` Dummy Hyman Rosen
     [not found] ` <389c50a6.14707859@news.flash.net>
2000-02-04  0:00   ` Dummy Marin D. Condic
  -- strict thread matches above, loose matches on Subject: below --
2000-01-11  0:00 Dummy Simic_10111
2000-01-11  0:00 ` Dummy Ehud Lamm
2000-01-11  0:00 ` Dummy Gautier
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox