[Mono-dev] No tail call optimization for virtual calls

Mark Probst mark.probst at gmail.com
Tue Jun 24 03:34:39 EDT 2008

2008/6/21 Debacker <debackerl at gmail.com>:
> Mono 1.9.1 does no seem to "optimize" tail virtcall's. As a consequence, I
> get a stackoverflow.
> Using Microsoft .NET 2.0 is works as expected.
> I have attached the IL source code (no C# since C# does not support tail
> optimization AFAIK).
> Is it a known problem or shall I fill a bug report?

Our tailcall support is seriously lacking.  We don't support virtual
tail calls, we don't support tail calls in shared generic code, and
even when it comes to non-virtual non-generic calls we only support
calls where the method signatures match exactly.


More information about the Mono-devel-list mailing list