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: Quality of GCC 3.1


Andrew Haley wrote:

Jan Hubicka writes:
> > a) What is the reason of such big decrease in performance especially if
> > exceptions and/or streams are used?
> > The exceptions got slower, because the tables are more compact. Is
> exception delivery performance really problem for C++ programs?

If exceptions are very much slower it's bad news for Java. On the
other hand, our binaries are a good deal bigger than we'd like them to
be...

For most Java applications, I don't think it matters a great deal about the speed of throwing/delivering exceptions. Its generally regarded as bad practice to rely on throws as part of the normal execution of a program, so given the choice between slower exception delivery and significantly smaller binaries, I'd go for the small binaries.

regards

Bryce.




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