[sgen] Store the destination's vtable before CASing the forwarding pointer.
authorMark Probst <mark.probst@gmail.com>
Mon, 7 Mar 2011 18:05:46 +0000 (19:05 +0100)
committerMark Probst <mark.probst@gmail.com>
Tue, 8 Mar 2011 00:02:44 +0000 (01:02 +0100)
commitb04dc7f8d6f6d59ec0a7188e96e556286ef8b8d6
treea2fe0dc1c0b197c8d268e680ac7bd1f6c2fb6047
parent33f087d73254291a75b42af3b13efa8b64a8e711
[sgen] Store the destination's vtable before CASing the forwarding pointer.

Sometimes the binary protocol crashed because we were not doing this
before.  It should not be strictly necessary if the binary protocol
is turned off, though.
mono/metadata/sgen-major-copy-object.h
mono/metadata/sgen-marksweep.c