Message370
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. |
|
Date |
User |
Action |
Args |
2008-02-20 17:16:52 | admin | link | issue448398 messages |
2008-02-20 17:16:52 | admin | create | |
|