Kaffe much slower than JDK

Marcel Ammerlaan marcel at ch.twi.tudelft.nl
Sun Nov 30 11:32:59 PST 1997


> Can anybody suggest any factors which could cause this behaviour? My
> code is highly recursive with large numbers of different objects being
> created and then discarded (simple tests indicate this shouldn't be
> a problem per se). There is a great deal of string manipulation and also
> a lot of floating point arithmetic.
> 
I 'solved' this by disabling garbage collection. This helps a lot. Also
compiling kaffe with -O3 helped. Ofcourse this trick will not work if your
program is supposed to run for a long time because you'll run out of
memory.

Anyway it's a temporary measure until the garbage collector gets faster.

marcel




More information about the kaffe mailing list