[kaffe] x86 JIT bug

Timothy Stack stack at cs.utah.edu
Sat Nov 1 15:28:01 PST 2003

On Oct 31, 2003, at 10:12 PM, Jim Pick wrote:

> This dies with a NullPointerException with jit3 on x86, but it works 
> with the interpreter.
> I'll look deeper tomorrow, but if anybody else wants to take a shot at
> it, be my guest.

Its caused by the jitter not spilling one of the values before the 
exception handler comes into play.  So, the exception gets caught and 
the code reads a bogus value from the stack.  I tweaked it and got it 
working, but I still need to hack it a bit before checking it in.

> In case you're curious, it's from inside ant.  It's preventing
> avalon-logkit from compiling inside the Jakarta Gump regression test 
> I'm
> trying to build.
> Cheers,
>  - Jim



More information about the kaffe mailing list