On Mon, Feb 1, 2010 at 2:41 AM, Christian Thalinger <[email protected]> wrote: > This patch adds a command line option (-XX:+TrustFinalNonStaticFields) > to turn on for user classes what we already do for system classes in > {java,sun}.dyn: treat final non-static fields as constants. > > This enables to inline MethodHandle chains completely that e.g. have a > GuardWithTest in between.
Ok, then it is the work I discussed with John and Tom Rodriguez some time ago. I'll have to play with it; in JRuby's normal mode (non-indy) there are a number of final accesses that could potentially go away with this. I think Tom ran some numbers and didn't see improvement, but he did not have any of JRuby's more experimental flags turned on. - Charlie _______________________________________________ mlvm-dev mailing list [email protected] http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
