On 02/ 1/10 08:31 AM, Charles Oliver Nutter wrote:
> I think I lost track of patches for a while...trustfinal is the
> optimization to not repeatedly access finals, correct? I'll have a
> look at the patch, but perhaps a description of when final accesses
> will be elided?

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.

-- Christian
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to