JSR 292 x86 C1 support
Christian Thalinger
Christian.Thalinger at Sun.COM
Mon Feb 1 04:33:18 PST 2010
On 01/28/10 02:07 PM, Christian Thalinger wrote:
> It should also work as final non-static field and using -XX:
> +TrustFinalNonStaticFields. That switch does for user classes what
> happens per default for {java,sun}.dyn classes: we trust final
> non-static to be effectively final. But it does not work and I don't
> know yet why.
My fault. It does work but the MH chain has to start with a MH that the
compiler can guarantee to be a constant. Then final non-static fields
in user classes in the chain can also be inlined.
-- Christian
More information about the mlvm-dev
mailing list