[jdom-interest] cost of throwing an exception

Kevin Regan kevinr at valicert.com
Mon Jul 10 11:21:12 PDT 2000


I would bet that HotSpot handles this alot better.  I noticed
that the previous test results did not use HotSpot...

--Kevin

On Mon, 10 Jul 2000, Joseph Bowbeer wrote:

> 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
> 
> 
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@you
> rhost.com
> 




More information about the jdom-interest mailing list