[Mono-list] JVM performance: JVM as a basis for CLR

Kunle Odutola kunle.odutola@virgin.net
Sun, 22 Jul 2001 21:50:10 +0100


> -----Original Message-----
> From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]On
> Behalf Of Tom
> Sent: 22 July 2001 20:51
> To: Kunle Odutola; mono-list@ximian.com
> Subject: RE: [Mono-list] JVM performance: JVM as a basis for CLR
>
>
> Sun has two JITs, one that generates slow code and
> one that generates fast code.  You need to use the
> "-server" flag to get the fast one.

My Sun JVM rejects the "-server" flag.

>
> Tom.
>
> PS: Keep in mind that "/unsafe+" gives C# an
> advantage you can probably not use in practice.
> I used it merely to show that it didn't help
> in my case.  But you may want to try both.

Compiling with "/unsafe+" should have has no effect on this code since it
has no "unsafe" sections. I included the results with and without "/unsafe+"
in any case.

Kunle

PS	My version of the C# port of convj performs at least 20% better than the
version you supplied. This is a huge difference for a representative
benchmark. Perhaps Jens Backman would be kind enough to re-test against the
IBM JVM....