This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]