[jdom-interest] cost of throwing an exception

Joseph Bowbeer jozart at csi.com
Mon Jul 10 10:27:04 PDT 2000


Dennis Sosnoski has performance timings on his site. Looks like
constructing a new exception, including filling-in the stack
trace, is expensive.

  http://www.sosnoski.com/Java/Timings.html#Exceptions

Here are some relative comparisons, from the same source:

  http://www.sosnoski.com/Java/Session/Specifics2.html
  http://www.sosnoski.com/Java/Session/Specifics3.html

--
Joe Bowbeer






More information about the jdom-interest mailing list