Assembly output from JRuby 'fib'

Rémi Forax forax at univ-mlv.fr
Thu Apr 28 12:40:13 PDT 2011


On 04/28/2011 08:15 PM, Charles Oliver Nutter wrote:
> On Thu, Apr 28, 2011 at 11:03 AM, Rémi Forax<forax at univ-mlv.fr>  wrote:
>> On 04/28/2011 03:56 PM, Charles Oliver Nutter wrote:
>>> stack map is invalid. Could be an ASM bug?
>> yes. it could :)
>>
>> Also it could be a bug on your side because to calculate stackmap
>> ASM needs to be able to find the common supertype of two types.
>> I don't know if you provide your own method for doing that but
>> by default it relies on reflection (getSupperClass/isAssignableFrom)
>> which doesn't work if your code use a Class that doesn't exist yet.
> If you're willing, I'll toss you 1.5 and 1.6 ASM-produced bytecode
> off-list and perhaps you can help me figure out if I'm doing something
> wrong or if ASM is choking on our peculiar code structure. I need this
> working to start running tests with invokedynamic.
>

Sure, send it to me.

> - Charlie

Rémi



More information about the mlvm-dev mailing list