hg: mlvm/mlvm/hotspot: dynopt, trustfinal: update to match JDK7 pushes
Christian Thalinger
Christian.Thalinger at Sun.COM
Mon Feb 1 00:41:01 PST 2010
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
More information about the mlvm-dev
mailing list