[Mono-dev] System.Threading.Monitor::Exit fails in latest trees
Zoltan Varga
vargaz at gmail.com
Tue May 3 09:45:22 EDT 2011
Hi,
> Q1: Besides the monitor enter/exit trampolines, there
> are other trampoline types which might not end up
> in a C-function (and use, for example, optimized code
> instead)?
>
>
All trampolines are hand written assembly code, but most of them has an
associated C function which they call or which they can fall back to.
> Q2: Do unbox trampolines do any kind of patching, i.e.,
> modifying native code? As I understood, unbox trampolines
> are only needed when a method of a value type is going to
> be called but the instance of the value is boxed (e.g., casted
> to object in C#). And unbox trampolines are only handled/
> inserted by the magic trampoline. Do I understand it correct?
>
>
They don't do patching.
Zoltan
>
> With kind regards,
> Martin Däumler
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/System-Threading-Monitor-Exit-fails-in-latest-trees-tp1578116p3492472.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110503/5bc0a23a/attachment.html
More information about the Mono-devel-list
mailing list