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
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to