Interpreter and jit at once ?
abies at pg.gda.pl
Wed Apr 22 05:27:37 PDT 1998
How much changes would it require ?
I suppose that just adding -jit -nojit flags to kaffe would be easy, but
I'm think about being able to freely mix translated and interpreted
methods. This way we could interpret some of the methods (especially
<clinit>) saving time and space. Later we could design more elaborate
mechanism to decide which methods should be translated
(name WarmSpot comes to mind :)
BTW kaffe interpreter in sloooow.
I've written small program testing speed of put/get static opcodes for
tya and tested it - here are the results (linux).
jdk+tya ~0,75 s
kaffe-jit ~0,81 s
Of course this is really bad, normally kaffe-interp is only 2-3 times
slower than jdk.
More information about the kaffe