Then add one case of:

"Deprecated.?This method is inherently unsafe. It may result in finalizers being
called on live objects while other threads are concurrently manipulating those
objects, resulting in erratic behavior or deadlock."

and you are back where you started.

On Thu, 20 Apr 2000, Scott G. Miller wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > 
> > One thing about this is: the files are deleted in the finalizers, but JVMs
> > often don't run the garbage collection right away, so if you close the node
> > between the time that the objects are removed and it is garabage collected, 
> > you
> > will be left with the files. We should probably clean up the files ourselves
> > (welcome to the java generation)...
> 
> Add System.runFinalizersOnExit(true); to Core.  End of problem.
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.1 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE4/y45pXyM95IyRhURAqBAAJ9xWHBKzPFq65BlR8ipRNwSS1g4+gCfRryy
> bffGgfcSM5FCAdRaCslFeEM=
> =71c/
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Freenet-dev mailing list
> Freenet-dev at lists.sourceforge.net
> http://lists.sourceforge.net/mailman/listinfo/freenet-dev
-- 

Oskar Sandberg

md98-osa at nada.kth.se

#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to