[jdom-interest] cost of throwing an exception
Petri Wessman
orava at termiitti.akumiitti.fi
Mon Jul 10 11:26:14 PDT 2000
On Mon, 10 Jul 2000 11:21:12 -0700 (PDT), Kevin Regan <kevinr at valicert.com> said:
Kevin> I would bet that HotSpot handles this alot better. I noticed
Kevin> that the previous test results did not use HotSpot...
Kevin> --Kevin
Actually, HotSpot seems to make the problem *worse*, according to:
>> http://www.sosnoski.com/Java/Timings.html#Exceptions
It would seem that modern JVMs (1.2 JIT, HotSpot, etc) have a much
bigger penalty on exception throwing than the "traditional" no-JIT 1.1
JVMs.
//Petri
More information about the jdom-interest
mailing list