On Tue, Jan 29, 2002 at 08:33:13PM -0500, Gianni Johansson wrote:
> On Tuesday 29 January 2002 19:22, you wrote:
< >
> > I think calling System.runFinalizersOnExit(true) may help (at least for
> > SIGTERM kills).
> 
> Any objections if I set this in freenet.node.Main() ?

Yes:

"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."

It has been deprecated since 1.1 and I think it will be gone soon. It
has been brought up many times before (this project has the memory of
goldfish.)

-- 

Oskar Sandberg
oskar at freenetproject.org

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to