Kevin J. Jones

invokedynamic

Posted in Dynamic Languages, Java, invokedynamic by abahtowt on January 6, 2007

There has been some interesting comment on the proposed new JVM instruction, invokedynamic. I have been doing some work on an experimental implementation of invokedynamic which I will talk about later but here is a summary of some interesting posts elsewhere.

The Pnuts Addict (as do others) raise the concern that invokedynamic won’t have enough performance advantage. I am not so sure it’s its possible to make a general claim about this but his comment on the need for flexibility in how the dispatch target/methods are identified is very important.

A. Sundararajan has pointed out that there is likely a need for an invokespecialdyanmic. His argument appears pretty solid although it does not look like there would be a major difficulty in providing this type of feature.

And finaly but not least there is a great entry from Charles Oliver Nutter on how usefull invokedynamic might be in a JRuby context. This is something I think we need to explore more via some practical performance experiments.

Leave a Reply