Invokedynamic updates for JRuby
Charles Oliver Nutter
headius at headius.com
Tue Jun 14 18:50:54 PDT 2011
I did take your advice and add paths for +- 1 and 2, but did not see an improvement in perf. That's not to say there wasn't one, but it may be lost in the Fixnum object creation...
- Charlie (mobile)
On Jun 14, 2011, at 18:33, Rémi Forax <forax at univ-mlv.fr> wrote:
> On 06/14/2011 05:02 PM, Charles Oliver Nutter wrote:
>> Disabled (for perf or incompleteness):
>> * Math operator invocations with literal fixnum RHS (incomplete: no guards)
>
> I'm working on an example for the cookbook that
> allows integers to overflow to BigInteger and
> has special paths when a constant is involved.
>
> The idea is that x + 1 should just test if x equals Integer.MAX_VALUE,
> and x+0, 0+x, x- 0 and -1- x need no guard at all
> (the last one is due to the way integers are encoded).
>
> Rémi
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
More information about the mlvm-dev
mailing list