Request for review (L): 6964498: JSR 292 invokedynamic sites need local bootstrap methods
john.r.rose at oracle.com
Sat Jul 10 22:17:26 PDT 2010
These JVM changes implement per-call-site bootstrap methods. The JSR 292 EG is (almost certainly) going to change the bootstrap method from a dynamically specified per-class attribute to a statically-specified per-instruction attribute (in the constant pool). This is the implementation.
This JVM continues to run programs with old-style bootstrap methods, under a compatibility switch. These JVM changes will be pushed unilaterally, before corresponding JDK and javac changes.
P.S. Here, FYI, are some prototyped JDK and javac changes which work with the JVM webrev. They are almost certain to change, since we don't know yet on how to "spell" bootstrap methods in the Java language. Annotations are a convenient hack, but probably not the right final answer.
More information about the hotspot-compiler-dev