« Previous day (May 6, 2008) | Main | Next day (May 8, 2008) »
http://blogs.sun.com/jrose/date/20080507 Wednesday May 07, 2008

dynamic invocation in the VM

For several years now, JSR 292 has promised an invokedynamic instruction in one form or another. The problem has been with picking the one form that simultaneously enables a good range of use cases, addresses several architectural challenges in the JVM, and can be optimized by a variety of commercial JVMs. It has been a restless search for “one bytecode to rule them all”.

The EG has decided to propose an answer, providing a hook which refers all important decisions at a dynamic call site out of the JVM and into Java code. This note builds on a previous blog entry, giving more concrete details and use cases. The current design makes heavy use of method handles, which greatly reduces complexity and clarifies the various roles of language implementors and the JVM. [Read More]

Posted by jrose [JVM] ( May 07, 2008 11:59 PM ) Permalink | Comments[1]