harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Afremov" <pavel.n.afre...@gmail.com>
Subject Re: [drlvm][finalizer] When the java app exits, all unfinished and unstarted finalizers are dumped
Date Fri, 29 Dec 2006 20:49:00 GMT
Agree. References are more better solution. I think, ClassLib developers
should use them instead finalizable objects.



BR

Pavel Afremov


On 12/28/06, Geir Magnusson Jr. <geir@pobox.com> wrote:
>
>
> On Dec 28, 2006, at 1:56 AM, Weldon Washburn wrote:
>
> > I noticed this when running various hacked up versions of Finx.java
> > on Sun
> > JVM.  If for whatever reason a finalizer hangs or goes into an
> > infinite
> > loop, the remaining unexecuted finalizers might never get a chance
> > to run.
> > The Java application must be developed with this possibility in mind.
> >
> > There is really nothing "final" about finalizers.  A better term
> > would be
> > "dead object hint".
>
> Or "really bad feature that people shouldn't use"
>
> geir
>
> >
> > --
> > Weldon Washburn
> > Intel Enterprise Solutions Software Division
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message