Projects, which use JSR292

Christian Thalinger christian.thalinger at oracle.com
Mon Feb 21 06:07:49 PST 2011


On Feb 21, 2011, at 2:19 PM, Christian Thalinger wrote:
> On Feb 21, 2011, at 2:14 PM, Charles Oliver Nutter wrote:
>> On Mon, Feb 21, 2011 at 3:19 AM, Christian Thalinger
>> <christian.thalinger at oracle.com> wrote:
>>> I understand that and I also want the performance to be better than before.  I try to find out why HotSpot is inlining the recursive calls indefinitely...
>> 
>> I was dozing this afternoon and wondered if perhaps the indy recursive
>> calls are not reducing the recursive inlining count within Hotspot.
>> Perhaps it could explain why recursive calls are being inlined so
>> heavily, potentially to the exclusion of other calls?
> 
> Yeah, I suspect something like that.

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.

-- Christian


More information about the mlvm-dev mailing list