Hi, On Tue, 2004-04-13 at 20:55, Stuart Ballard wrote: > Did you try --aot'ing classpath.dll, IK.VM.NET.dll etc? > > I'd imagine that this particular microbenchmark spends a large > proportion of its time inside classpath itself, suggesting that merely > JITing the mauve part wouldn't help much.
Should have thought about that. Just tried it, but: $ for i in *.dll; do mono --aot -O=all $i; done Mono Ahead of Time compiler - compiling assembly OpenSystem.Java.dll Executing the native assembler: as /tmp/mono_aot_ZNn0Pd -o /tmp/mono_aot_ZNn0Pd.o Executing the native linker: ld -shared -o OpenSystem.Java.dll.so /tmp/mono_aot_ZNn0Pd.o Compiled 12 out of 12 methods (100%) 0 methods contain absolute addresses (0%) 0 methods contain wrapper references (0%) 0 methods contain lmf pointers (0%) 0 methods have other problems (0%) AOT RESULT 0 Mono Ahead of Time compiler - compiling assembly SharpZipLib.dll Executing the native assembler: as /tmp/mono_aot_SVrc0t -o /tmp/mono_aot_SVrc0t.o Executing the native linker: ld -shared -o SharpZipLib.dll.so /tmp/mono_aot_SVrc0t.o Compiled 508 out of 540 methods (94%) 31 methods contain absolute addresses (5%) 1 methods contain wrapper references (0%) 0 methods contain lmf pointers (0%) 0 methods have other problems (0%) AOT RESULT 0 Mono Ahead of Time compiler - compiling assembly awt.dll Executing the native assembler: as /tmp/mono_aot_DbmJ3s -o /tmp/mono_aot_DbmJ3s.o Executing the native linker: ld -shared -o awt.dll.so /tmp/mono_aot_DbmJ3s.o Compiled 320 out of 342 methods (93%) 0 methods contain absolute addresses (0%) 22 methods contain wrapper references (6%) 0 methods contain lmf pointers (0%) 0 methods have other problems (0%) AOT RESULT 0 Mono Ahead of Time compiler - compiling assembly classpath.dll Executing the native assembler: as /tmp/mono_aot_NrbGZa -o /tmp/mono_aot_NrbGZa.o Executing the native linker: ld -shared -o classpath.dll.so /tmp/mono_aot_NrbGZa.o Compiled 18338 out of 18766 methods (97%) 0 methods contain absolute addresses (0%) 428 methods contain wrapper references (2%) 0 methods contain lmf pointers (0%) 0 methods have other problems (0%) AOT RESULT 0 Mono Ahead of Time compiler - compiling assembly ik.vm.jni.dll ** ERROR **: file object.c: line 466 (mono_class_vtable): assertion failed: (fklass->byval_arg.type == MONO_TYPE_PTR) aborting... Aborted Mono Ahead of Time compiler - compiling assembly ik.vm.net.dll Executing the native assembler: as /tmp/mono_aot_PGuh22 -o /tmp/mono_aot_PGuh22.o Executing the native linker: ld -shared -o ik.vm.net.dll.so /tmp/mono_aot_PGuh22.o Compiled 1067 out of 1092 methods (97%) 0 methods contain absolute addresses (0%) 25 methods contain wrapper references (2%) 0 methods contain lmf pointers (0%) 0 methods have other problems (0%) AOT RESULT 0 [EMAIL PROTECTED]:~/src/mauve] $ time echo gnu.testlet.java.lang.Character.unicode | mono mauve.exe -debug Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for java.io.File ---> System.TypeInitializationException: An exception was thrown by the type initializer for java.lang.System ---> System.TypeInitializationException: An exception was thrown by the type initializer for gnu.java.io.EncodingManager ---> System.TypeInitializationException: An exception was thrown by the type initializer for java.lang.Class ---> System.ArrayTypeMismatchException: Source array type cannot be assigned to destination array type. in <0x000dc> MethodDescriptor:FromMethodBase (System.Reflection.MethodBase) in <0x00011> CompiledTypeWrapper:CreateMethodWrapper (System.Reflection.MethodBase) in <0x000c9> CompiledTypeWrapper:LazyPublishMembers () in <0x00041> LazyTypeWrapper:Finish () in <0x0004d> NativeCode.java.lang.VMClass:CreateClassInstance (TypeWrapper) in <0x00063> NativeCode.java.lang.VMClass:getClassFromWrapper (TypeWrapper) in <0x00022> NativeCode.java.lang.VMClass:getClassFromType (System.Type) in <0x00025> java.lang.Object:instancehelper_getClass (object) in <0x000cd> java.security.Permissions:add (java.security.Permission) in <0x00055> java.lang.Class:.cctor () --- End of inner exception stack trace --- in <0x00429> gnu.java.io.EncodingManager:.cctor () --- End of inner exception stack trace --- in (unmanaged) gnu.java.io.EncodingManager:getEncoder (java.io.OutputStream) in <0x0003a> java.io.OutputStreamWriter:.ctor (java.io.OutputStream) in <0x0003c> java.io.PrintWriter:.ctor (java.io.OutputStream) in <0x00019> java.io.PrintWriter:.ctor (java.io.OutputStream,bool) in <0x00073> java.io.PrintStream:.ctor (java.io.OutputStream,bool) in <0x0006d> java.lang.VMSystem:makeStandardOutputStream () in <0x00899> java.lang.System:.cctor () --- End of inner exception stack trace --- in (unmanaged) java.lang.System:getProperty (string) in <0x00010> java.io.File:.cctor () --- End of inner exception stack trace --- in (unmanaged) java.io.File:.ctor (string) in <0x0003e> java.io.FileReader:.ctor (string) in <0x000bf> gnu.testlet.SimpleTestHarness:.ctor (bool,bool,bool) in <0x001fc> gnu.testlet.SimpleTestHarness:main (string[]) real 0m0.519s user 0m0.039s sys 0m0.021s
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath