Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6964498

JSR 292 invokedynamic sites need local bootstrap methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs19
    • 7
    • hotspot
    • b05
    • generic
    • generic
    • Verified

        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.

              jrose John Rose
              jrose John Rose
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: