Message370

Author pedronis
Recipients
Date 2002-03-18.15:16:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=61408

Oops, You're right. 

We probably should use a mixed
approach using both finalizers and a registration
mechanism.
If we use weak refs we should use:
System.gc()
System.runFinalization()

[Although from my experiments it seems that gc implies
runFinalization, but the doc does not confirm this]

in order to be sure that we do not have
cleared weak refs was referent finalizer will
not be called because we will just exit then soon.
History
Date User Action Args
2008-02-20 17:16:52adminlinkissue448398 messages
2008-02-20 17:16:52admincreate