On Mon, 2002-09-09 at 18:23, Holger Arnold wrote: > Hello, > > Some applications require a deterministic method execution time, at least for > certain methods. Is there a mechanism in the Mono JIT to compile a method > including all methods it depends on (i.e. all methods that could possibly be > called by this method)? > > If not, how could such a mechanism be implemented? If someone guides me a bit > I would like to implement this.
methods are compile in mono_compile_method(), which calls mono_jit_compile_method() mono_cfg_new () mono_analyze_stack () mono_analyze_stack () translates the method into a control flow graph (cfg), and you can record and methods called in that method. You must then call mono_compile_method() on all those methods. You have to modify some interfaces in order to get that work, but it should not be that hard. Feel free to ask ;-) - Dietmar _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
