[kaffe] More mipsel jit3

Timothy Stack stack at cs.utah.edu
Tue Mar 9 08:12:02 PST 2004


> You might want to remove the boolean_exception() method from
> the ControlFlowMethods class (or move it to the end of the
> class). It instantiates a new Throwable Object which causes
> a whole bunch of methods to be translated and executed.

Yeah, that kinda sucks, the old kaffe Throwable was pretty lightweight, so
this did not happen.  The classpath one has a static initializer which
calls System.getProperty(), which runs the giant System static 
initializer, and so on...

> On arm and alpha this lead to a crash while creating a new thread
> (the deleteHelper of java.io.File). This happens because the
> java.lang.Thread constructor tries to access the ThreadGroup
> of the current Thread which isn't created by the jit_stub.

If I get around to it, I'll probably just write a stub Throwable for the 
test/internal directory that is not as demanding on the system.

> Regards,
> Helmer

thanks,

tim




More information about the kaffe mailing list