hg: mlvm/mlvm/hotspot: dynopt, trustfinal: update to match JDK7 pushes
Christian Thalinger
Christian.Thalinger at Sun.COM
Mon Feb 1 07:19:41 PST 2010
On 02/ 1/10 03:48 PM, Charles Oliver Nutter wrote:
> On Mon, Feb 1, 2010 at 2:41 AM, Christian Thalinger
> <Christian.Thalinger at sun.com> 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.
Right, I remember the discussion. Let me know if I can help.
-- Christian
More information about the mlvm-dev
mailing list