Optimize bytecode for combination enhanced-for and enums
r.spilker at gmail.com
Wed Mar 28 07:35:59 PDT 2012
Rémi, not if the synthetic inner class is used, what is my proposal.
On Wed, Mar 28, 2012 at 4:13 PM, Rémi Forax <forax at univ-mlv.fr> wrote:
> Hi Roel,
> There are several issues with your template, EDGES is initialized too
> soon, i.e.
> even if you don't call bar() and stay too long, i.e even if you never call
> bar() more than once.
> I think it's better to let the the escape analysis pass done by the JIT to
> values() and remove the call to clone().
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the compiler-dev