Unusually high polymorphic dispatch costs?

Charles Oliver Nutter headius at headius.com
Sat Apr 30 00:34:45 PDT 2011


On Sat, Apr 30, 2011 at 2:27 AM, Charles Oliver Nutter
<headius at headius.com> wrote:
> I have pushed a change to JRuby master that fails over to a simple
> inline cache after one failed GWT. This is not how I would want to do
> it long-term, but it does bring some benchmarks back in line with
> non-indy JRuby. Specifically, bench_richards 1000000 now runs in a
> normal amount of time...but it's not faster than non-indy just yet (it
> was *much* slower before). The simple bimorphic benchmark I posted
> earlier also performs well...and runs slightly faster than non-indy.

Just to clarify...I meant that indy WITH my fix is slightly slower
than normal JRuby, but indy WITHOUT my fix was *really* slow.

- Charlie


More information about the mlvm-dev mailing list