Request for review (L): 6964498: JSR 292 invokedynamic sites need local bootstrap methods

John Rose 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.

  http://cr.openjdk.java.net/~jrose/6964498/webrev/

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.

-- John

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.

  http://cr.openjdk.java.net/~jrose/6964498/jdk-webrev/
  http://cr.openjdk.java.net/~jrose/6964498/lt-webrev/



More information about the hotspot-compiler-dev mailing list