United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6964498 JSR 292 invokedynamic sites need local bootstrap methods
JDK-6964498 : JSR 292 invokedynamic sites need local bootstrap methods

Details
Type:
Bug
Submit Date:
2010-06-26
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs19 (b05)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
In order to be compositional, invokedynamic instructions should individually specify their linkage semantics, in the form of a reference to a bootstrap method.

This is fairly straightforward, since (a) the constant pool already contains method handle references, and (b) the invokedynamic index can be treated as an ordered pair of BSM and NameAndType, just as an invokevirtual index is treated as an ordered pair of class and NameAndType.

The Java language support will need a way (presumably based on JSR 308 annotations) to specify the bootstrap methods.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/083fde3b838e
                                     
2010-07-16
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/083fde3b838e
                                     
2010-07-25
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/083fde3b838e
                                     
2010-07-29
EVALUATION

http://hg.openjdk.java.net/jdk7/build/jdk/rev/48f0b94573c8
                                     
2010-12-04



Hardware and Software, Engineered to Work Together