On invoke dynamic and method handles

Rémi Forax forax at univ-mlv.fr
Thu Dec 18 01:13:31 PST 2008


John Rose a écrit :
> On Dec 18, 2008, at 1:06 AM, Rémi Forax wrote:
>
>   
>> Iulian Dragos a écrit :
>> ...
>>     
>>> One last question: does mlvm currently recognize the
>>> BootstrapInvokeDynamic classfile attribute?
>>>       
>> It's another part of the spec that is outdated.
>> I don't know exactly why.
>> Perhaps john or charles can explain why ?
>>     
>>> My tests were
>>> unsuccessful, so I'm wondering if my code generator is wrong, or I
>>> need to resort to static initializers.
>>>       
>
> The EG decided to get rid of the classfile attribute, since there  
> seemed to be little reason to have two ways to do the same thing,  
> where the less general way is only slightly more compact than the  
> more general way.
>   
It allows optimasation too, at least for the backport, knowing the 
bootstrap method
during bytecode weaving can help to produce dedicated bytecodes.
But I don't know if it worth it.
> -- John
>   
Rémi



More information about the mlvm-dev mailing list