[sgen] Enqueue finalizers after update the pointer.
commit67ebb6a4989c7ac234e6346d2413f94590babc68
authorMark Probst <mark.probst@gmail.com>
Thu, 4 Aug 2011 10:04:50 +0000 (4 12:04 +0200)
committerMark Probst <mark.probst@gmail.com>
Thu, 4 Aug 2011 10:04:50 +0000 (4 12:04 +0200)
tree02507b18efa45d33256abb7157f9fc7734fab34e
parentd9e839c91b37592abc70b4d3759d7b1351309584
[sgen] Enqueue finalizers after update the pointer.

If the object was forwarded we read a bogus vtable and hence a bogus
klass.
mono/metadata/sgen-gc.c