[Mono-dev] Full AOT compilation of generics supported?
peter.moberg at gmail.com
Wed Feb 25 23:32:16 EST 2009
I got the latest from SVN and recompiled all of my base libraries again
(mscorlib,System and System.Core) as well as my custom assembly. The base
libraries are taken from the mono/2.1 folder so I am compiling with the
When I try to run my method I get the following assert...
** ERROR **: Attempting to JIT compile method '(wrapper static-rgctx-invoke)
while running with --aot-only.
This is the code that I am trying to run...
public class Class1
/// Cretes a generic list, creates a few items descending order, sorts
/// and returns the first item. The first item should be a "1";
public string SortListAndReturnFirstItem()
List<string> strings = new List<string>();
I guess it is the call to strings.Sort that is causing some issues with the
comparer. Is still one of those rare cases where Mono doesn't JIT-compile or
should this not be happening?
full aot + generics is mostly supported, but it is very hard to
statically determine the
set of generics methods which need to be AOTed so it might not work in
all cases. Try
current SVN HEAD as there were fixes in this area in the past two weeks.
View this message in context: http://www.nabble.com/Full-AOT-compilation-of-generics-supported--tp22204268p22217501.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list