I've updated the backport (1.3) to be in sync with the current mlvm status. http://code.google.com/p/jvm-language-runtime/downloads/list
It supports lightweight CallSite, invokeExact, invokeGeneric but the support of new ldc is not ready (I need a new version of ASM and currently some regression tests failed). invokeGeneric does a real invokeGeneric or at least I think it does :) invokeExact is an alias for invokeGeneric. Rémi Le 25/03/2010 03:03, John Rose a écrit : > The JSR 292 EG has decided to simplify some aspects of the API. I have just > pushed updated patches to mlvm which embody these changes. > > CallSite is more streamlined. The only field it has is the target method > handle. The caller class, type, and name have gone away. It is simple to > create a CallSite subclass that remembers this information if you need it. > Here's an example usage: > > http://hg.openjdk.java.net/mlvm/mlvm/file/1c7351d7192f/netbeans/indy-demo/src/GetNameDemo.java > > Also, ldc of method handle constants is now supported. There is a patch in > langtools with a prototype syntax to support this at the source level. > > Note: The updated patches to hotspot are untested on x86/64 and SPARC > systems. > > -- John > _______________________________________________ > mlvm-dev mailing list > [email protected] > http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev > _______________________________________________ mlvm-dev mailing list [email protected] http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
