I still have to figure out when exactly I need that, but currently I
have an catchException on each resulting handle for the call site. of
course this is not good by itself, but I wonder if other have comparable
numbers.. According to my tests I see a 50% performance decrease if I
use the exception handler compared to when not.
Now I thought this is something the JIT would be able to optimize away
mostly. At least in Java code this normally has no such big impact. Can
somebody confirm that? Maybe even explain why that is so?
bye Jochen
--
Jochen "blackdrag" Theodorou - Groovy Project Tech Lead
blog: http://blackdragsview.blogspot.com/
german groovy discussion newsgroup: de.comp.lang.misc
For Groovy programming sources visit http://groovy-lang.org
I still have to figure out when exactly I need that, but currently I have an catchException on each resulting handle for the call site. of course this is not good by itself, but I wonder if other have comparable numbers.. According to my tests I see a 50% performance decrease if I use the exception handler compared to when not.
Now I thought this is something the JIT would be able to optimize away mostly. At least in Java code this normally has no such big impact. Can somebody confirm that? Maybe even explain why that is so?