How do I use the new @BootstrapMethod annotation?
john.r.rose at oracle.com
Tue Nov 16 16:18:57 PST 2010
On Nov 16, 2010, at 1:59 PM, assembling signals wrote:
> 1) Which JSR-292 features will people be able to use with standard (non-customized) JDK7 builds in the future?
All those documented in http://cr.openjdk.java.net/~jrose/pres/indy-javadoc-mlvm/ . That is the leading edge of the JSR 292 Expert Group's work.
> 2) Will there be a possibility to call methods (whose signatures is unknown prior runtime) much faster than
> it is currently the case with reflection (Method.invoke)?
> (Or asked differently: my little dirty benchmarks, posted here before, showed bad results using JSR-292 features:
> it that just because nothing is finalized and optimized yet?)
Microbenchmarks have little or no value even for mature frameworks. For JSR 292, the framework is new and buggy. In any case, we are not working on performance tuning yet.
More information about the mlvm-dev