Spread problem with > 10 arguments
Charles Oliver Nutter
headius at headius.com
Sun Jul 5 09:38:41 PDT 2009
I'll give it a try in a bit.
I suspect that method handles will need to know about large numbers of
arguments, since you often need to pass in the same large signature to
a given adapter for all its component handles to receive them. For
example, guardWithTest; the test and fast path may not need all
arguments, and test may need different/additional ones, but the
arguments passed to them must be the same long list. Add to that a
language like Clojure, which has unboxed paths for up to 20
arguments...
Thanks for the find and fix :)
On Sat, Jul 4, 2009 at 4:36 PM, John Rose<John.Rose at sun.com> wrote:
> Good guess, Remi; thanks. I just pushed a fix. -- John
>
> On Jul 4, 2009, at 8:49 AM, Rémi Forax wrote:
>
>> The code is different if there is less than 10 argument of more :
>> If this the first line of the else is wrong,
>> it should be :
>> MethodType gtype = MethodType.makeGeneric(0, true);
>>
>> It's just a guess, sorry,
>> I've currently no time to compile because I am not at home and just in
>> front of a browser.
>
> _______________________________________________
> 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