libjava status on Tru64 UNIX V5.1
Jeff Sturm
jsturm@one-point.com
Thu Mar 21 06:50:00 GMT 2002
On 2002年3月21日, 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
More information about the Java
mailing list