[Mono-bugs] [Bug 604479] WeakReference doesn't seem to be collected after System.GC.Collect()
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon May 10 19:20:32 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=604479
http://bugzilla.novell.com/show_bug.cgi?id=604479#c2
Rodrigo Kumpera <rkumpera at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |rkumpera at novell.com
Resolution| |WONTFIX
--- Comment #2 from Rodrigo Kumpera <rkumpera at novell.com> 2010-05-10 23:20:31 UTC ---
The boehm GC does conservative scanning of the stack so there is no reliable
way to ensure that all on stack references to a given object have vanished.
Not only that, but the "o = null" store is dead and will be removed by the JIT.
The collector should be able to eventually clean up the reference, but it is by
no mean meant to be deterministic.
The new GC in 2.8 alleviates parts of this problem and will eventually feature
some form of precise stack scanning. But for 2.6 there is nothing that can be
done.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list