This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project.


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

Re: Bugs and Optimizations


Mark DePristo <m-depristo@nwu.edu> writes:

> Specifically, Kawa 1.6.66 blows up on the following procedure:
> 
> (define (run)
>   (let loop ((i 0))
>    ....

This turned out to be a problem that had been reported before,
but I neverd got around to fixing.  The problem is the actual
name "run", as the name of a zero-argument procedure.  This got
compiled to a method, and named "run", with zero arguments.
Unfortunately, this method clashed with an internal zero-argument
method named "run".

A work-around is to re-name "run".  However, I decided to bite
the bullet and fix the bug.  The latest check-in contains code that
re-names the generated method when it clashes.  This seems to
fix the problem!  This fix will also be in 1.6.68.

If you run benchmarks on the latest (cvs) version, I would be
interested if you notice a difference between running with or
without the new --static-module flag.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

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