This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Exception Handling
Chris Gray writes:
> On Sunday 13 June 2004 14:31, Andrew Haley wrote:
>
> > Yeah, but we can't change the mechanism used by gcj because we use the
> > same mechanism as C++, and this is defined by the ABI of the platforms
> > we run on. It may be that the ratio of try/throw is different in Java
> > programs and C++ programs, of course, so we may suffer because we use
> > the same mechanism.
>
> Ok, if there's really no possibility of changing the mechanism then this
> discussion is indeed somewhat sterile.
Well, it's not such a disaster: we get the ability transparently to
unwind through native C++ and Java code, and this is a win in real
applications. It's perhaps not the sort of win that appears to pay
off in benchmarks.
Andrew.