Projects, which use JSR292
Charles Oliver Nutter
headius at headius.com
Mon Feb 21 06:19:12 PST 2011
On Mon, Feb 21, 2011 at 8:07 AM, Christian Thalinger
<christian.thalinger at oracle.com> wrote:
> Alright, I know what's going wrong. The recursive inlining logic does not recognize when recursive inlining happens like:
>
> fib_ruby -> invokeExact -> fib_ruby -> ...
>
> I try to add some additional logic there.
I think that makes sense. I am confused why it would be considered
recursive at all if it's not treating it as a direct recursive
invocation. I'd love to know how Hotspot weights various types of
invocations...
Fixing recursive invocation may help, but it seems like somehow the
inlining decisions affect more than just recursive calls based on my
experiment with an intermediate call.
Here's LogCompilation -i results for the intermediate version...
https://gist.github.com/837104
So perhaps there's a priority or size-weighting issue as well? Perhaps
indy calls are being given *too much* preference over a bunch of other
stuff that's actually more important?
- Charlie
More information about the mlvm-dev
mailing list