This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libjava status on Tru64 UNIX V5.1
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Andrew Haley <aph at cambridge dot redhat dot com>
- Cc: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>, Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>, java at gcc dot gnu dot org
- Date: Thu, 21 Mar 2002 09:48:26 -0500 (EST)
- Subject: Re: libjava status on Tru64 UNIX V5.1
On Thu, 21 Mar 2002, Andrew Haley wrote:
> > But what's the impact of sjlj exceptions on C++ (performance or otherwise)?
>
> Neither are good: I don't know which is worse.
My naive guess that -fcheck-references is worse because it's going to
impact nearly every method, whereas try...catch blocks are relatively
infrequent (at least in my code).
On the other hand, -fcheck-references doesn't require a memory access,
just a test/branch.
It'd be interesting to benchmark each on a real program, something like
the Xerces parser.
Jeff