Performance problem with invoke dynamic

Christian Thalinger christian.thalinger at oracle.com
Thu Jul 28 10:11:56 PDT 2011


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 together with
> another method handle that calls a method on the result of it that
> returns another methodhandle that is set as the target for the call site.

Hard to follow :-)

> 
> Exactly the same thing that was done in the emitted bytecode, actually.

Do you have a test case to run?

-- Christian

> 
> Cheers
> -- 
> Ola Bini (http://olabini.com)
>  Ioke - JRuby - ThoughtWorks
> 
> "Yields falsehood when quined" yields falsehood when quined.
> 
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



More information about the mlvm-dev mailing list