Fix a pair of bugs in the gchandle code.
commit9fba74a47b980ec7fb6a70c2a47fa1f9b86c1c3c
authorRodrigo Kumpera <kumpera@gmail.com>
Fri, 29 Jun 2012 21:25:39 +0000 (29 18:25 -0300)
committerRodrigo Kumpera <kumpera@gmail.com>
Mon, 2 Jul 2012 14:22:56 +0000 (2 11:22 -0300)
treea173cf84c9c005ed4acfd2784b2cc3a34f61e64c
parenta1e30ace6fb2723e80a86d107161d664bcc8220c
Fix a pair of bugs in the gchandle code.

* gc.c: Make sure pinned handles actually pin on sgen.
* gc.c: Use gc_memmove and gc_bzero when dealing with memory
that has managed references.
mono/metadata/gc.c