This is the mail archive of the
mailing list for the Java project.
RE: Speed Impact experiment on GCJ
>It would be of interest to know what JVM you're using for the non compiled case. Is it the
>gij interpreter or a Sun Java 1.5, or something else?
I am using Sun Java 1.4.2, my understanding is that libgcj is implemented based Sun Java 1.4.2,
thus, I would imagine that using 1.5 will cause a problem. Please correct me if I am wrong.
> Without -O2 (or higher) the compiler tries to produce native code as
> fast as possible without even looking for some simple tricks to get fast
> code. It doesn't know this is just a very small program (you might link
> it with hundreds of files later) and it tries to get you code as soon as
> possible in the most naive way. If you tell it you want optimized code
> (-O2) it actually tries to give that to you, but it might take longer to
> generate it.
Will post the new results with the old ones late today. Thanks.