question about arithmetic exceptions
Andrew Haley
aph@pasanda.cygnus.co.uk
Mon Nov 29 08:46:00 GMT 1999
> From: Godmar Back <gback@cs.utah.edu>
> Date: Mon, 29 Nov 1999 09:36:12 -0700 (MST)
>
> Let me add a meta-comment to my comment regarding how I think
> libgcc should be structured:
>
> I think that gcc's premise to be able (and apparently being forced to) to
> share a single run-time library among all languages might be flawed.
Surely it would be better to override some libgcc functions in
language libraries. That way, the default versions in gcc could stay
as they are and not bother other languages that aren't affected by
this problem.
> For instance, I am convinced that the exception delivery path in Java
> could be sped up substantially if exceptions didn't have to be delivered
> out-of-band via thread-specific data.
Surely if this is true of Java it is also true of any other language
that uses exceptions.
> if languages could override/customize libgcc, gij didn't have to
> resort to the gnu.gcj.runtime.MethodInvocation hack --- you could
> just handle the delivery of exceptions back to the interpreter
> specially.
I don't quite understand what you mean by this. Surely _Jv_Throw
could be changed to do this without touching libgcc.
Andrew.
More information about the Java
mailing list