Public Review

Rémi Forax forax at univ-mlv.fr
Tue Mar 8 16:09:44 PST 2011


On 03/09/2011 01:10 AM, Howard Lovatt wrote:
> I am missing something:
>
>> Core methods are in MethodHandle. Others are in MethodHandles.
>> from the implementation point of view, core method can be implemented
>> differently depending on the kind of MethodHandle;
>> Also, having a lot of virtual methods as a cost in memory which can be
>> important if the all method handle kinds are subtype of MethodHandle.
> There is only one copy of the instance method table per class (in this
> case methodHandle type), so I don't see that the overhead of extra
> instance methods is that great.
>
>   -- Howard.

Plus one by subtypes. Knowing there is 30+ kind of method handles ...

Rémi



More information about the mlvm-dev mailing list