On 26 Feb 2014, at 16:15, Rodrigo Kumpera <[email protected]> wrote:

> This code is wrong, it will fail when the object is moved since the gchandle 
> is not pinning the target.
> 
> Avoid pinning as much as possible since it does hurt performance a lot.
> 
> The solution is to remove the monoObject field and use 
> mono_gchandle_get_target against the GC handle.
> 
Presumably objects are pinned by default when they appear in the stack. Yes?

Jonathan
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to