[Mono-dev] Re: [Mono-devel-list] AOT + Embedding = ?

Jim Purbrick jimpurbrick at yahoo.co.uk
Mon Sep 26 13:35:55 EDT 2005


Hi All,

> This is due to a problem in out embedding
> interface. It is now tracked as: 
> http://bugzilla.ximian.com/show_bug.cgi?id=75194

I've now updated to 1.1.9 on Debian sarge and AOT
assemblies seem to be looked for and loaded properly,
thanks.

However, I'm now oprofiling the server embedding mono
and JIT compilation still seems to be my high nail (if
I'm reading it right). Any idea what's going on here?

Here's my oprofile top 10 for libmono.so.0.0.0:

samples   %       symbol name
268748    7.7870  mono_jit_compile_method_with_opt
225147    6.5237  mono_class_vtable
212785    6.1655  mono_jit_runtime_invoke
173572    5.0293  mono_get_inflated_method
162878    4.7194  EnterCriticalSection
161165    4.6698  mono_marshal_get_runtime_invoke
157151    4.5535  mono_gchandle_get_target
142082    4.1169  anonymous symbol from section .plt
141125    4.0891  do_mono_metadata_type_equal
136419    3.9528  mono_runtime_class_init

MONO_LOG_LEVEL=debug reports "AOT loaded AOT Module"
for each of my assemblies. I double checked by hiding
the AOT output so it wasn't found and got almost
identical profile results, so it doesn't look like AOT
compilation is saving any work.

Also, assuming that AOT loading can be made to work
and is worthwhile is there any way to load AOT modules
from memory? Eventually I'll need to keep them in a
remote server and ship them to the local server when
needed.

Otherwise, the job of moving Second Life to mono is
going very well. More details here:

http://secondlife.blogs.com/babbage/2005/08/second_life_in_.html
http://secondlife.blogs.com/babbage/2005/08/flying_a_mono_b.html

:-)

Cheers,

Jim.


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com



More information about the Mono-devel-list mailing list