Compiled call version seems to be slower
Ulf.Zibis at gmx.de
Fri Dec 4 12:43:58 PST 2009
>>> It's not something hotspot is creating. A finally is executed on every return path so a copy of that code is needed at every return. Conceivably javac could merge all the return paths through a single return with a single copy of the code but it doesn't do that.
>> So I should file a bug against javac ?
> You could. There's no reason not to. Maybe from their perspective it makes mapping back to the original source harder since mapping the return bytecode back to the original wouldn't work the same. Anyway, I doubt it's a near term path to happiness.
I have filed a bug:
internal review ID: 1665168
More information about the hotspot-compiler-dev