megamorphic lambda prevention

Rémi Forax forax at univ-mlv.fr
Thu Jun 21 07:00:08 PDT 2012


On 06/21/2012 03:52 PM, Jochen Theodorou wrote:
> Am 21.06.2012 13:57, schrieb Krystal Mok:
>> That's "the inlining problem" that Cliff Click was talking about [1], right?
> yes, the issue was actually mentioned more than once on this list already
>
>> I wonder how well the new interpreter design in Graal would handle this
>> kind of case, since it's supposed to have picked the good parts from
>> trace-based compilation, but without actually having to do tracing.
>> Can't wait to see more details of it at this year's JVM Language Summit.
> If I understood Thomas right, then Graal doesn't have that problem.
> Afaik hotspot doesn't have to have that problem too. It just was a
> design decision not to make call site caching per execution path. Afaik
> chaning that now would take quite some effort, but is not impossible.

You can create the execution path backward, when it's needed.

>
> bye blackdrag
>

Rémi



More information about the mlvm-dev mailing list