[freenet-dev] Re: [kaffe] Kaffe and Freenet, round (N+1)

Greg Wooledge devl@freenetproject.org
Thu Jun 5 07:24:01 2003


--iAL9S67WQOXgEPD9
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Helmer Kr=E4mer (hkraemer@freenet.de) wrote:

> this is actually my bad. Kaffe's BigInteger.longValue() gave wrong
> results for negative values. While trying to fix that, I managed
> to get some errors in it that I didn't notice because my testcases
> succeeded :(((=20


Kaffe CVS (cvs-commits@kaffe.org) wrote:

> * libraries/javalib/java/math/BigInteger.java:
> (intValue, longValue): fixed my broken patch


I think it's actually working!  I've got gmp 3.1.1 installed (the
old OpenBSD 3.2 port, since the early-May Kaffe I was using is still
dynamically linked against it).  I built today's CVS Kaffe using
this configuration, and it hasn't crashed or gone comatose yet!

  PID USERNAME PRI NICE  SIZE   RES STATE WAIT     TIME    CPU COMMAND
15010 freenet   59    0   91M   93M run   -        2:45 65.38% kaffe-bin
19688 greg     104   20  752K  616K run   -       19.9H 29.30% dnetc

The unusually high %CPU on the Kaffe process is because I'm hammering
on it, loading several high-number-of-images pages plus an FEC
splitfile download that's already pretty well cached.

Here is it a bit later, closer to "normal":

  PID USERNAME PRI NICE  SIZE   RES STATE WAIT     TIME    CPU COMMAND
19688 greg     103   20  752K  616K run   -       20.0H 92.33% dnetc
15010 freenet    2    0  108M  103M run   -        5:09  3.91% kaffe-bin

At some point I'll probably update back to the newer gmp just to
keep things up to date, then rebuild Kaffe again with that.  But
as far as I'm concerned, it's working!  Ship it! ;-)

--=20
Greg Wooledge                  |   "Truth belongs to everybody."
greg@wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

--iAL9S67WQOXgEPD9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)

iD8DBQE+3ohJkAkqAYpL9t8RAg+qAJ9xeH5Hzo5tARSOqtKT2nsNDRI79QCeNUaQ
FQ/KkSZIkyt5AEuoJUpnVw0=
=Z4WP
-----END PGP SIGNATURE-----

--iAL9S67WQOXgEPD9--
_______________________________________________
devl mailing list
devl@freenetproject.org
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl