Loopy CallSite

2014-07-12 Thread Remi Forax
It seems that the JIT is lost with whe there is a loopy callsite and never stabilize (or the steady state is after the program ends). import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import java.lang.invoke.MutableCallSite; public

Re: Loopy CallSite

2014-07-12 Thread Charles Oliver Nutter
I played with this some years ago. Doesn't it just become recursive, because it won't inline through the dynamicInvoker? - Charlie (mobile) On Jul 12, 2014 9:36 AM, "Remi Forax" wrote: > It seems that the JIT is lost with whe there is a loopy callsite and never > stabilize (or the steady state i

Re: Loopy CallSite

2014-07-12 Thread Remi Forax
On 07/12/2014 08:08 PM, Charles Oliver Nutter wrote: I played with this some years ago. Doesn't it just become recursive, because it won't inline through the dynamicInvoker? - Charlie (mobile) It's clearly recursive. I don't think it's a good idea to try to fully inline it anyway, it will