This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Streamtokenizer


OneGuy wrote:
> Hi,
> 
> I was testing a 14 MB file with this benchmark,
> 
> http://shootout.alioth.debian.org/gp4/benchmark.php?test=sumcol&lang=java&id=2
> 
> and it turns out that GCJ is 7 times slower than Java6. Can this be
> called a bug in GCJ 's Streamtokenizer?

That may be so.  On the other hand, perhaps Sun's JIT has discovered
a smart optimization that isn't visible to gcc.  Profililng the 
program may show what is happenining.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]