[Mono-devel-list] Trampolines...

Zoltan Varga vargaz at gmail.com
Tue Feb 22 12:47:53 EST 2005


                                           Hi,

On Mon, 21 Feb 2005 21:26:20 +0100, Willibald Krenn
<Willibald.Krenn at gmx.at> wrote:
> (While I can see the benefits of doing this, it also means leaving any
> further possibilities of avoiding the stub-jump by inlining the new
> method's address in other callers unused..)
> 

The patching of the trampoline is done to optimize cases when the caller address
cannot be patched (as in the case with delegates). You are right that
it means other
calls to the method will not get the caller address patched. So this
is a tradeoff.
We might change this if it is a problem. In the meantime, you can
disable this in
your working copy.

                   Zoltan



More information about the Mono-devel-list mailing list