Bug report: failing to call overridden method

Remi Forax forax at univ-mlv.fr
Wed Oct 10 03:30:44 PDT 2012


On 10/10/2012 02:27 AM, Charles Oliver Nutter wrote:
> I reported this to Christian, but thought I'd toss it here in case
> someone else runs into it.
>
> It appears that C1 (tier 1) is failing to compile a indy + MH virtual
> target into a proper overridden call. In other words, it doesn't honor
> the override, and calls the direct target.
>
> Details are toward the end in this JRuby bug:
> http://jira.codehaus.org/browse/JRUBY-6920
>
> It only fails in tier 1 with indy enabled. Does not fail with -Xint or -Tiered.
>
> Hopefully that's enough to go on :)

Charlie,
I may be wrong, but even if it works (and it should),
I think the VM doesn't profile that call so it will be slower than if 
you use your own inlining cache.

>
> - Charlie

Rémi



More information about the mlvm-dev mailing list