[Mono-dev] 3 questions about AOT and the JIT

"Andrés G. Aragoneses" knocte at gmail.com
Fri Jan 31 21:00:45 UTC 2014


Hi!

Just 3 quick questions:

a) This full-AOT limitation about using interfaces with generics
(http://www.mono-project.com/AOT#Limitation:_Generic_Interface_Instantiation)
is it only a problem when using value types, or any type?

b) Why the above limitation is not listed here?
http://docs.xamarin.com/guides/ios/advanced_topics/limitations/

c) Would it be possible to instruct the JIT to do a whole compilation of
all the methods of all the types of all the assemblies currently loaded
by the runtime, at startup? (To prevent them to be lazy loaded.)

(I ask the last question because I'm not sure I will be able to achieve
FullAOT for certain codebase due to its restrictions, and in this case I
would want at least to have the full compilation at startup, which is
worse than at compilation time, but better than slowing down the app for
all first times that a certain feature is used.)

Thanks



More information about the Mono-devel-list mailing list