More performance explorations
Christian Thalinger
christian.thalinger at oracle.com
Fri Jun 10 15:25:56 PDT 2011
On Jun 5, 2011, at 7:23 AM, Charles Oliver Nutter wrote:
> OH, and FWIW, here's the LogCompilation -i output roughly around where
> I'd expect to see op_plus and op_lt inlining:
>
> @ 27 java.lang.invoke.MethodHandle::invokeExact (0 bytes)
> @ 27 java.lang.invoke.MethodHandle::invokeExact (17 bytes)
> @ 10 org.jruby.RubyFixnum::op_plus (38 bytes)
> @ 45 java.lang.invoke.MethodHandle::invokeExact (0 bytes)
> @ 45 java.lang.invoke.MethodHandle::invokeExact (17 bytes)
> @ 10 org.jruby.RubyFixnum::op_lt (22 bytes)
>
> Is it lying, or what? And if it's actually inlining, where's the rest
> of op_plus and op_lt, most of which is trivial tiny methods? And why
> doesn't it show up as inlined in the assembly output?
That's interesting. Maybe there is a problem with the method handle compiler which bails out and stops inlining. I have to look into that myself.
-- Christian
More information about the mlvm-dev
mailing list