Re: Performance problem with invoke dynamic

2011-07-28 Thread Christian Thalinger
On Jul 28, 2011, at 2:20 AM, Ola Bini wrote: Hi, I've hit a very annoying performance problem with invoke dynamic/method handles that makes certain benchmarks about 3 times slower for identical operations. This code is related to to variable lookup and the basic idea is that I have a

Re: Performance problem with invoke dynamic

2011-07-28 Thread Ola Bini
On 2011-07-28 10.11, Christian Thalinger wrote: On Jul 28, 2011, at 6:10 PM, Ola Bini wrote: The bad performance sounds like something is not inlined at all. How are you invoking valueMH? Via invokedynamic or a direct MH call? valueMH is combined with an exactInvoker and then chained