* Remi Forax: > Even a simple code like the one below, there is no scalar replacement > (OSR or not), > Float f = new Float(0); > for(int i=0; i<length; i++) { > f = new Float(f + 1.0f); > } > float result = f; > System.out.println(result);
Last time I looked at this, scalar replacement and loop optimizations did not play along at all, and here you need both. Has this changed? _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev