building libgcj on irix 6.5
Andrew Haley
aph@pasanda.cygnus.co.uk
Thu Dec 9 07:59:00 GMT 1999
> Date: 1999年12月09日 11:15:10 -0500
> From: Jeff Sturm <jsturm@sigma6.com>
>> Andrew Haley wrote:
> > > You might get a successful build with --disable-sjlj-exceptions.
> >
> > It looks as though you've got my libgcj changes in but not my gcj
> > changes. Here's the patch.
>> Thanks Andrew. I had previously searched for "Sjlj" in gcc/java and
> came up empty.
>> Out of curiousity... why are setjmp/longjmp exceptions important, and
> why does libgcj only use them on non-Intel, non-SPARC machines by
> default? I don't remember seeing it recently on java-discuss. I'm
> concerned about the extra overhead incurred with setjmp/longjmp on
> platforms where a range-table implementation is available.
That's your choice, and it depends on your application.
Range based exception handling is preferred on many targets because
there's no inline cost when exceptions aren't thrown. On some
machines other choices are preferable, and we simply don't have range
based exception handling for other targets.
So, whatever floats your boat: with gcj we give you the choice.
Andrew.
More information about the Java
mailing list